Class SupportedBuildpackResourceProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.SupportedBuildpackResourceProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<SupportedBuildpackResourceProperties>

public final class SupportedBuildpackResourceProperties extends Object implements com.azure.json.JsonSerializable<SupportedBuildpackResourceProperties>
Supported buildpack resource properties.
  • Constructor Details

    • SupportedBuildpackResourceProperties

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

    • buildpackId

      public String buildpackId()
      Get the buildpackId property: The id of supported buildpack.
      Returns:
      the buildpackId value.
    • withBuildpackId

      public SupportedBuildpackResourceProperties withBuildpackId(String buildpackId)
      Set the buildpackId property: The id of supported buildpack.
      Parameters:
      buildpackId - the buildpackId value to set.
      Returns:
      the SupportedBuildpackResourceProperties 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<SupportedBuildpackResourceProperties>
      Throws:
      IOException
    • fromJson

      public static SupportedBuildpackResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SupportedBuildpackResourceProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SupportedBuildpackResourceProperties 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 SupportedBuildpackResourceProperties.