Class OrchestratorProfile
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.OrchestratorProfile
-
public final class OrchestratorProfile extends Object
Contains information about orchestrator.
-
-
Constructor Summary
Constructors Constructor Description OrchestratorProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanisPreview()Get the isPreview property: Whether Kubernetes version is currently in preview.StringorchestratorType()Get the orchestratorType property: Orchestrator type.StringorchestratorVersion()Get the orchestratorVersion property: Orchestrator version (major, minor, patch).voidvalidate()Validates the instance.OrchestratorProfilewithIsPreview(Boolean isPreview)Set the isPreview property: Whether Kubernetes version is currently in preview.OrchestratorProfilewithOrchestratorType(String orchestratorType)Set the orchestratorType property: Orchestrator type.OrchestratorProfilewithOrchestratorVersion(String orchestratorVersion)Set the orchestratorVersion property: Orchestrator version (major, minor, patch).
-
-
-
Method Detail
-
orchestratorType
public String orchestratorType()
Get the orchestratorType property: Orchestrator type.- Returns:
- the orchestratorType value.
-
withOrchestratorType
public OrchestratorProfile withOrchestratorType(String orchestratorType)
Set the orchestratorType property: Orchestrator type.- Parameters:
orchestratorType- the orchestratorType value to set.- Returns:
- the OrchestratorProfile object itself.
-
orchestratorVersion
public String orchestratorVersion()
Get the orchestratorVersion property: Orchestrator version (major, minor, patch).- Returns:
- the orchestratorVersion value.
-
withOrchestratorVersion
public OrchestratorProfile withOrchestratorVersion(String orchestratorVersion)
Set the orchestratorVersion property: Orchestrator version (major, minor, patch).- Parameters:
orchestratorVersion- the orchestratorVersion value to set.- Returns:
- the OrchestratorProfile object itself.
-
isPreview
public Boolean isPreview()
Get the isPreview property: Whether Kubernetes version is currently in preview.- Returns:
- the isPreview value.
-
withIsPreview
public OrchestratorProfile withIsPreview(Boolean isPreview)
Set the isPreview property: Whether Kubernetes version is currently in preview.- Parameters:
isPreview- the isPreview value to set.- Returns:
- the OrchestratorProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-