Class BuildpackBindingProperties

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

public final class BuildpackBindingProperties extends Object implements com.azure.json.JsonSerializable<BuildpackBindingProperties>
Properties of a buildpack binding.
  • Constructor Details

    • BuildpackBindingProperties

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

    • bindingType

      public BindingType bindingType()
      Get the bindingType property: Buildpack Binding Type.
      Returns:
      the bindingType value.
    • withBindingType

      public BuildpackBindingProperties withBindingType(BindingType bindingType)
      Set the bindingType property: Buildpack Binding Type.
      Parameters:
      bindingType - the bindingType value to set.
      Returns:
      the BuildpackBindingProperties object itself.
    • provisioningState

      public BuildpackBindingProvisioningState provisioningState()
      Get the provisioningState property: State of the Buildpack Binding.
      Returns:
      the provisioningState value.
    • launchProperties

      public BuildpackBindingLaunchProperties launchProperties()
      Get the launchProperties property: The object describes the buildpack binding launch properties.
      Returns:
      the launchProperties value.
    • withLaunchProperties

      public BuildpackBindingProperties withLaunchProperties(BuildpackBindingLaunchProperties launchProperties)
      Set the launchProperties property: The object describes the buildpack binding launch properties.
      Parameters:
      launchProperties - the launchProperties value to set.
      Returns:
      the BuildpackBindingProperties 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<BuildpackBindingProperties>
      Throws:
      IOException
    • fromJson

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