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;
Contains information about orchestrator.
/** * Contains information about orchestrator. */
public class OrchestratorProfile {
Orchestrator type.
/** * Orchestrator type. */
@JsonProperty(value = "orchestratorType") private String orchestratorType;
Orchestrator version (major, minor, patch).
/** * Orchestrator version (major, minor, patch). */
@JsonProperty(value = "orchestratorVersion", required = true) private String orchestratorVersion;
Whether Kubernetes version is currently in preview.
/** * Whether Kubernetes version is currently in preview. */
@JsonProperty(value = "isPreview") private Boolean isPreview;
Get orchestrator type.
Returns:the orchestratorType value
/** * Get orchestrator type. * * @return the orchestratorType value */
public String orchestratorType() { return this.orchestratorType; }
Set orchestrator type.
Params:
  • orchestratorType – the orchestratorType value to set
Returns:the OrchestratorProfile object itself.
/** * Set orchestrator type. * * @param orchestratorType the orchestratorType value to set * @return the OrchestratorProfile object itself. */
public OrchestratorProfile withOrchestratorType(String orchestratorType) { this.orchestratorType = orchestratorType; return this; }
Get orchestrator version (major, minor, patch).
Returns:the orchestratorVersion value
/** * Get orchestrator version (major, minor, patch). * * @return the orchestratorVersion value */
public String orchestratorVersion() { return this.orchestratorVersion; }
Set orchestrator version (major, minor, patch).
Params:
  • orchestratorVersion – the orchestratorVersion value to set
Returns:the OrchestratorProfile object itself.
/** * Set orchestrator version (major, minor, patch). * * @param orchestratorVersion the orchestratorVersion value to set * @return the OrchestratorProfile object itself. */
public OrchestratorProfile withOrchestratorVersion(String orchestratorVersion) { this.orchestratorVersion = orchestratorVersion; 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 OrchestratorProfile object itself.
/** * Set whether Kubernetes version is currently in preview. * * @param isPreview the isPreview value to set * @return the OrchestratorProfile object itself. */
public OrchestratorProfile withIsPreview(Boolean isPreview) { this.isPreview = isPreview; return this; } }