public final class ManagedClusterPoolUpgradeProfileUpgradesItem extends Object
| Constructor and Description |
|---|
ManagedClusterPoolUpgradeProfileUpgradesItem() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
isPreview()
Get the isPreview property: Whether Kubernetes version is currently in preview.
|
String |
kubernetesVersion()
Get the kubernetesVersion property: Kubernetes version (major, minor, patch).
|
void |
validate()
Validates the instance.
|
ManagedClusterPoolUpgradeProfileUpgradesItem |
withIsPreview(Boolean isPreview)
Set the isPreview property: Whether Kubernetes version is currently in preview.
|
ManagedClusterPoolUpgradeProfileUpgradesItem |
withKubernetesVersion(String kubernetesVersion)
Set the kubernetesVersion property: Kubernetes version (major, minor, patch).
|
public ManagedClusterPoolUpgradeProfileUpgradesItem()
public String kubernetesVersion()
public ManagedClusterPoolUpgradeProfileUpgradesItem withKubernetesVersion(String kubernetesVersion)
kubernetesVersion - the kubernetesVersion value to set.public Boolean isPreview()
public ManagedClusterPoolUpgradeProfileUpgradesItem withIsPreview(Boolean isPreview)
isPreview - the isPreview value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.