Class StackProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.StackProperties
KPack ClusterStack properties payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()Get the id property: Id of the ClusterStack.voidvalidate()Validates the instance.version()Get the version property: Version of the ClusterStack.Set the id property: Id of the ClusterStack.withVersion(String version) Set the version property: Version of the ClusterStack.
-
Constructor Details
-
StackProperties
public StackProperties()Creates an instance of StackProperties class.
-
-
Method Details
-
id
Get the id property: Id of the ClusterStack.- Returns:
- the id value.
-
withId
Set the id property: Id of the ClusterStack.- Parameters:
id- the id value to set.- Returns:
- the StackProperties object itself.
-
version
Get the version property: Version of the ClusterStack.- Returns:
- the version value.
-
withVersion
Set the version property: Version of the ClusterStack.- Parameters:
version- the version value to set.- Returns:
- the StackProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-