ClusterVersionDetails Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. fluent. models. ClusterVersionDetails
- com.
Implements
public final class ClusterVersionDetails
implements JsonSerializable<ClusterVersionDetails>
The detail of the Service Fabric runtime version result.
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterVersionDetails() |
Creates an instance of Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
codeVersion()
Get the code |
|
Cluster |
environment()
Get the environment property: Indicates if this version is for Windows or Linux operating system. |
|
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
| String |
supportExpiryUtc()
Get the support |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Cluster |
withCodeVersion(String codeVersion)
Set the code |
|
Cluster |
withEnvironment(ClusterEnvironment environment)
Set the environment property: Indicates if this version is for Windows or Linux operating system. |
|
Cluster |
withSupportExpiryUtc(String supportExpiryUtc)
Set the support |
Methods inherited from java.lang.Object
Constructor Details
ClusterVersionDetails
public ClusterVersionDetails()
Creates an instance of ClusterVersionDetails class.
Method Details
codeVersion
public String codeVersion()
Get the codeVersion property: The Service Fabric runtime version of the cluster.
Returns:
environment
public ClusterEnvironment environment()
Get the environment property: Indicates if this version is for Windows or Linux operating system.
Returns:
fromJson
public static ClusterVersionDetails fromJson(JsonReader jsonReader)
Reads an instance of ClusterVersionDetails from the JsonReader.
Parameters:
Returns:
Throws:
supportExpiryUtc
public String supportExpiryUtc()
Get the supportExpiryUtc property: The date of expiry of support of the version.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCodeVersion
public ClusterVersionDetails withCodeVersion(String codeVersion)
Set the codeVersion property: The Service Fabric runtime version of the cluster.
Parameters:
Returns:
withEnvironment
public ClusterVersionDetails withEnvironment(ClusterEnvironment environment)
Set the environment property: Indicates if this version is for Windows or Linux operating system.
Parameters:
Returns:
withSupportExpiryUtc
public ClusterVersionDetails withSupportExpiryUtc(String supportExpiryUtc)
Set the supportExpiryUtc property: The date of expiry of support of the version.
Parameters:
Returns: