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