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 Summary
ConstructorsConstructorDescriptionCreates an instance of BuildpackBindingProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the bindingType property: Buildpack Binding Type.static BuildpackBindingPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BuildpackBindingProperties from the JsonReader.Get the launchProperties property: The object describes the buildpack binding launch properties.Get the provisioningState property: State of the Buildpack Binding.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBindingType(BindingType bindingType) Set the bindingType property: Buildpack Binding Type.withLaunchProperties(BuildpackBindingLaunchProperties launchProperties) Set the launchProperties property: The object describes the buildpack binding launch properties.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
-
BuildpackBindingProperties
public BuildpackBindingProperties()Creates an instance of BuildpackBindingProperties class.
-
-
Method Details
-
bindingType
Get the bindingType property: Buildpack Binding Type.- Returns:
- the bindingType value.
-
withBindingType
Set the bindingType property: Buildpack Binding Type.- Parameters:
bindingType- the bindingType value to set.- Returns:
- the BuildpackBindingProperties object itself.
-
provisioningState
Get the provisioningState property: State of the Buildpack Binding.- Returns:
- the provisioningState value.
-
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
- Specified by:
toJsonin interfacecom.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.
-