ClusterUpdateVersionParameters Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. ClusterUpdateVersionParameters
- com.
Implements
public final class ClusterUpdateVersionParameters
implements JsonSerializable<ClusterUpdateVersionParameters>
ClusterUpdateVersionParameters represents the body of the request to update cluster version.
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterUpdateVersionParameters() |
Creates an instance of Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
| String |
targetClusterVersion()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Cluster |
withTargetClusterVersion(String targetClusterVersion)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
ClusterUpdateVersionParameters
public ClusterUpdateVersionParameters()
Creates an instance of ClusterUpdateVersionParameters class.
Method Details
fromJson
public static ClusterUpdateVersionParameters fromJson(JsonReader jsonReader)
Reads an instance of ClusterUpdateVersionParameters from the JsonReader.
Parameters:
Returns:
Throws:
targetClusterVersion
public String targetClusterVersion()
Get the targetClusterVersion property: The version to be applied to the cluster during update.
Returns:
toJson
validate
public void validate()
Validates the instance.
withTargetClusterVersion
public ClusterUpdateVersionParameters withTargetClusterVersion(String targetClusterVersion)
Set the targetClusterVersion property: The version to be applied to the cluster during update.
Parameters:
Returns: