ClusterCodeVersionsResult Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. ClusterCodeVersionsResult
- com.
Implements
public final class ClusterCodeVersionsResult
implements JsonSerializable<ClusterCodeVersionsResult>
The result of the Service Fabric runtime versions.
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterCodeVersionsResult() |
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 |
id()
Get the id property: The identification of the result. |
| String |
name()
Get the name property: The name of the result. |
| String |
supportExpiryUtc()
Get the support |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The result resource type. |
| 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 |
withId(String id)
Set the id property: The identification of the result. |
|
Cluster |
withName(String name)
Set the name property: The name of the result. |
|
Cluster |
withSupportExpiryUtc(String supportExpiryUtc)
Set the support |
|
Cluster |
withType(String type)
Set the type property: The result resource type. |
Methods inherited from java.lang.Object
Constructor Details
ClusterCodeVersionsResult
public ClusterCodeVersionsResult()
Creates an instance of ClusterCodeVersionsResult 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 ClusterCodeVersionsResult fromJson(JsonReader jsonReader)
Reads an instance of ClusterCodeVersionsResult from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The identification of the result.
Returns:
name
public String name()
Get the name property: The name of the result.
Returns:
supportExpiryUtc
public String supportExpiryUtc()
Get the supportExpiryUtc property: The date of expiry of support of the version.
Returns:
toJson
type
public String type()
Get the type property: The result resource type.
Returns:
validate
public void validate()
Validates the instance.
withCodeVersion
public ClusterCodeVersionsResult withCodeVersion(String codeVersion)
Set the codeVersion property: The Service Fabric runtime version of the cluster.
Parameters:
Returns:
withEnvironment
public ClusterCodeVersionsResult withEnvironment(ClusterEnvironment environment)
Set the environment property: Indicates if this version is for Windows or Linux operating system.
Parameters:
Returns:
withId
public ClusterCodeVersionsResult withId(String id)
Set the id property: The identification of the result.
Parameters:
Returns:
withName
public ClusterCodeVersionsResult withName(String name)
Set the name property: The name of the result.
Parameters:
Returns:
withSupportExpiryUtc
public ClusterCodeVersionsResult withSupportExpiryUtc(String supportExpiryUtc)
Set the supportExpiryUtc property: The date of expiry of support of the version.
Parameters:
Returns:
withType
public ClusterCodeVersionsResult withType(String type)
Set the type property: The result resource type.
Parameters:
Returns: