public final class AgentPoolUpgradeProfilePropertiesUpgradesItem extends Object
| Constructor and Description |
|---|
AgentPoolUpgradeProfilePropertiesUpgradesItem() |
| 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.
|
AgentPoolUpgradeProfilePropertiesUpgradesItem |
withIsPreview(Boolean isPreview)
Set the isPreview property: Whether Kubernetes version is currently in preview.
|
AgentPoolUpgradeProfilePropertiesUpgradesItem |
withKubernetesVersion(String kubernetesVersion)
Set the kubernetesVersion property: Kubernetes version (major, minor, patch).
|
public AgentPoolUpgradeProfilePropertiesUpgradesItem()
public String kubernetesVersion()
public AgentPoolUpgradeProfilePropertiesUpgradesItem withKubernetesVersion(String kubernetesVersion)
kubernetesVersion - the kubernetesVersion value to set.public Boolean isPreview()
public AgentPoolUpgradeProfilePropertiesUpgradesItem 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.