StackProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. StackProperties
- com.
Implements
public final class StackProperties
implements JsonSerializable<StackProperties>
KPack ClusterStack properties payload.
Constructor Summary
Constructor | Description |
---|---|
StackProperties() |
Creates an instance of Stack |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Stack |
fromJson(JsonReader jsonReader)
Reads an instance of Stack |
String |
id()
Get the id property: Id of the Cluster |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: Version of the Cluster |
Stack |
withId(String id)
Set the id property: Id of the Cluster |
Stack |
withVersion(String version)
Set the version property: Version of the Cluster |
Methods inherited from java.lang.Object
Constructor Details
StackProperties
public StackProperties()
Creates an instance of StackProperties class.
Method Details
fromJson
public static StackProperties fromJson(JsonReader jsonReader)
Reads an instance of StackProperties from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Id of the ClusterStack.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Version of the ClusterStack.
Returns:
withId
public StackProperties withId(String id)
Set the id property: Id of the ClusterStack.
Parameters:
Returns:
withVersion
public StackProperties withVersion(String version)
Set the version property: Version of the ClusterStack.
Parameters:
Returns:
Applies to
Azure SDK for Java