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