Class BuilderProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.BuilderProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BuilderProperties>
public final class BuilderProperties
extends Object
implements com.azure.json.JsonSerializable<BuilderProperties>
KPack Builder properties payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the buildpackGroups property: Builder buildpack groups.static BuilderPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BuilderProperties from the JsonReader.Get the provisioningState property: Builder provision status.stack()Get the stack property: Builder cluster stack property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBuildpackGroups(List<BuildpacksGroupProperties> buildpackGroups) Set the buildpackGroups property: Builder buildpack groups.withStack(StackProperties stack) Set the stack property: Builder cluster stack property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
BuilderProperties
public BuilderProperties()Creates an instance of BuilderProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Builder provision status.- Returns:
- the provisioningState value.
-
stack
Get the stack property: Builder cluster stack property.- Returns:
- the stack value.
-
withStack
Set the stack property: Builder cluster stack property.- Parameters:
stack- the stack value to set.- Returns:
- the BuilderProperties object itself.
-
buildpackGroups
Get the buildpackGroups property: Builder buildpack groups.- Returns:
- the buildpackGroups value.
-
withBuildpackGroups
Set the buildpackGroups property: Builder buildpack groups.- Parameters:
buildpackGroups- the buildpackGroups value to set.- Returns:
- the BuilderProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<BuilderProperties>- Throws:
IOException
-
fromJson
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.
-