AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
- com.
public final class 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 |
Boolean |
isPreview()
Get the is |
String |
kubernetesVersion()
Get the kubernetes |
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:
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:
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for