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 Details

    • BuilderProperties

      public BuilderProperties()
      Creates an instance of BuilderProperties class.
  • Method Details

    • 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.
    • 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.
    • buildpackGroups

      public List<BuildpacksGroupProperties> buildpackGroups()
      Get the buildpackGroups property: Builder buildpack groups.
      Returns:
      the buildpackGroups value.
    • withBuildpackGroups

      public BuilderProperties withBuildpackGroups(List<BuildpacksGroupProperties> buildpackGroups)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<BuilderProperties>
      Throws:
      IOException
    • fromJson

      public static BuilderProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.