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 ManagedClusterPoolUpgradeProfileUpgradesItem model.
/** * The ManagedClusterPoolUpgradeProfileUpgradesItem model. */
public class ManagedClusterPoolUpgradeProfileUpgradesItem {
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 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 ManagedClusterPoolUpgradeProfileUpgradesItem object itself.
/** * Set kubernetes version (major, minor, patch). * * @param kubernetesVersion the kubernetesVersion value to set * @return the ManagedClusterPoolUpgradeProfileUpgradesItem object itself. */
public ManagedClusterPoolUpgradeProfileUpgradesItem 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 ManagedClusterPoolUpgradeProfileUpgradesItem object itself.
/** * Set whether Kubernetes version is currently in preview. * * @param isPreview the isPreview value to set * @return the ManagedClusterPoolUpgradeProfileUpgradesItem object itself. */
public ManagedClusterPoolUpgradeProfileUpgradesItem withIsPreview(Boolean isPreview) { this.isPreview = isPreview; return this; } }