ManagedClusterPoolUpgradeProfileUpgradesItem Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterPoolUpgradeProfileUpgradesItem
- com.
Implements
public final class ManagedClusterPoolUpgradeProfileUpgradesItem
implements JsonSerializable<ManagedClusterPoolUpgradeProfileUpgradesItem>
The ManagedClusterPoolUpgradeProfileUpgradesItem model.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterPoolUpgradeProfileUpgradesItem() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Boolean |
isPreview()
Get the is |
String |
kubernetesVersion()
Get the kubernetes |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withIsPreview(Boolean isPreview)
Set the is |
Managed |
withKubernetesVersion(String kubernetesVersion)
Set the kubernetes |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterPoolUpgradeProfileUpgradesItem
public ManagedClusterPoolUpgradeProfileUpgradesItem()
Creates an instance of ManagedClusterPoolUpgradeProfileUpgradesItem class.
Method Details
fromJson
public static ManagedClusterPoolUpgradeProfileUpgradesItem fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterPoolUpgradeProfileUpgradesItem from the JsonReader.
Parameters:
Returns:
Throws:
isPreview
public Boolean isPreview()
Get the isPreview property: Whether the Kubernetes version is currently in preview.
Returns:
kubernetesVersion
public String kubernetesVersion()
Get the kubernetesVersion property: The Kubernetes version (major.minor.patch).
Returns:
toJson
validate
public void validate()
Validates the instance.
withIsPreview
public ManagedClusterPoolUpgradeProfileUpgradesItem withIsPreview(Boolean isPreview)
Set the isPreview property: Whether the Kubernetes version is currently in preview.
Parameters:
Returns:
withKubernetesVersion
public ManagedClusterPoolUpgradeProfileUpgradesItem withKubernetesVersion(String kubernetesVersion)
Set the kubernetesVersion property: The Kubernetes version (major.minor.patch).
Parameters:
Returns:
Applies to
Azure SDK for Java