Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.containerservice; import com.fasterxml.jackson.annotation.JsonProperty;
The AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem model.
/** * The AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem model. */
public class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem {
Whether this version is the default agent pool version.
/** * Whether this version is the default agent pool version. */
@JsonProperty(value = "default") private Boolean defaultProperty;
Kubernetes version (major, minor, patch).
/** * Kubernetes version (major, minor, patch). */
@JsonProperty(value = "kubernetesVersion") private String kubernetesVersion;
Whether Kubernetes version is currently in preview.
/** * Whether Kubernetes version is currently in preview. */
@JsonProperty(value = "isPreview") private Boolean isPreview;
Get whether this version is the default agent pool version.
Returns:the defaultProperty value
/** * Get whether this version is the default agent pool version. * * @return the defaultProperty value */
public Boolean defaultProperty() { return this.defaultProperty; }
Set whether this version is the default agent pool version.
Params:
  • defaultProperty – the defaultProperty value to set
Returns:the AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem object itself.
/** * Set whether this version is the default agent pool version. * * @param defaultProperty the defaultProperty value to set * @return the AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem object itself. */
public AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem withDefaultProperty(Boolean defaultProperty) { this.defaultProperty = defaultProperty; return this; }
Get kubernetes version (major, minor, patch).
Returns:the kubernetesVersion value
/** * Get kubernetes version (major, minor, patch). * * @return the kubernetesVersion value */
public String kubernetesVersion() { return this.kubernetesVersion; }
Set kubernetes version (major, minor, patch).
Params:
  • kubernetesVersion – the kubernetesVersion value to set
Returns:the AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem object itself.
/** * Set kubernetes version (major, minor, patch). * * @param kubernetesVersion the kubernetesVersion value to set * @return the AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem object itself. */
public AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem withKubernetesVersion(String kubernetesVersion) { this.kubernetesVersion = kubernetesVersion; return this; }
Get whether Kubernetes version is currently in preview.
Returns:the isPreview value
/** * Get whether Kubernetes version is currently in preview. * * @return the isPreview value */
public Boolean isPreview() { return this.isPreview; }
Set whether Kubernetes version is currently in preview.
Params:
  • isPreview – the isPreview value to set
Returns:the AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem object itself.
/** * Set whether Kubernetes version is currently in preview. * * @param isPreview the isPreview value to set * @return the AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem object itself. */
public AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem withIsPreview(Boolean isPreview) { this.isPreview = isPreview; return this; } }