BuilderProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.BuilderProperties

Implements

public final class BuilderProperties
implements JsonSerializable<BuilderProperties>

KPack Builder properties payload.

Constructor Summary

Constructor Description
BuilderProperties()

Creates an instance of BuilderProperties class.

Method Summary

Modifier and Type Method and Description
List<BuildpacksGroupProperties> buildpackGroups()

Get the buildpackGroups property: Builder buildpack groups.

static BuilderProperties fromJson(JsonReader jsonReader)

Reads an instance of BuilderProperties from the JsonReader.

BuilderProvisioningState provisioningState()

Get the provisioningState property: Builder provision status.

StackProperties stack()

Get the stack property: Builder cluster stack property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BuilderProperties withBuildpackGroups(List<BuildpacksGroupProperties> buildpackGroups)

Set the buildpackGroups property: Builder buildpack groups.

BuilderProperties withStack(StackProperties stack)

Set the stack property: Builder cluster stack property.

Methods inherited from java.lang.Object

Constructor Details

BuilderProperties

public BuilderProperties()

Creates an instance of BuilderProperties class.

Method Details

buildpackGroups

public List buildpackGroups()

Get the buildpackGroups property: Builder buildpack groups.

Returns:

the buildpackGroups value.

fromJson

public static BuilderProperties fromJson(JsonReader jsonReader)

Reads an instance of BuilderProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BuilderProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the BuilderProperties.

provisioningState

public BuilderProvisioningState provisioningState()

Get the provisioningState property: Builder provision status.

Returns:

the provisioningState value.

stack

public StackProperties stack()

Get the stack property: Builder cluster stack property.

Returns:

the stack value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBuildpackGroups

public BuilderProperties withBuildpackGroups(List buildpackGroups)

Set the buildpackGroups property: Builder buildpack groups.

Parameters:

buildpackGroups - the buildpackGroups value to set.

Returns:

the BuilderProperties object itself.

withStack

public BuilderProperties withStack(StackProperties stack)

Set the stack property: Builder cluster stack property.

Parameters:

stack - the stack value to set.

Returns:

the BuilderProperties object itself.

Applies to