Class OrchestratorVersionProfile
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.OrchestratorVersionProfile
-
public final class OrchestratorVersionProfile extends Object
The profile of an orchestrator and its available versions.
-
-
Constructor Summary
Constructors Constructor Description OrchestratorVersionProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleandefaultProperty()Get the defaultProperty property: Installed by default if version is not specified.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).List<OrchestratorProfile>upgrades()Get the upgrades property: The list of available upgrade versions.voidvalidate()Validates the instance.OrchestratorVersionProfilewithDefaultProperty(Boolean defaultProperty)Set the defaultProperty property: Installed by default if version is not specified.OrchestratorVersionProfilewithIsPreview(Boolean isPreview)Set the isPreview property: Whether Kubernetes version is currently in preview.OrchestratorVersionProfilewithOrchestratorType(String orchestratorType)Set the orchestratorType property: Orchestrator type.OrchestratorVersionProfilewithOrchestratorVersion(String orchestratorVersion)Set the orchestratorVersion property: Orchestrator version (major, minor, patch).OrchestratorVersionProfilewithUpgrades(List<OrchestratorProfile> upgrades)Set the upgrades property: The list of available upgrade versions.
-
-
-
Method Detail
-
orchestratorType
public String orchestratorType()
Get the orchestratorType property: Orchestrator type.- Returns:
- the orchestratorType value.
-
withOrchestratorType
public OrchestratorVersionProfile withOrchestratorType(String orchestratorType)
Set the orchestratorType property: Orchestrator type.- Parameters:
orchestratorType- the orchestratorType value to set.- Returns:
- the OrchestratorVersionProfile object itself.
-
orchestratorVersion
public String orchestratorVersion()
Get the orchestratorVersion property: Orchestrator version (major, minor, patch).- Returns:
- the orchestratorVersion value.
-
withOrchestratorVersion
public OrchestratorVersionProfile withOrchestratorVersion(String orchestratorVersion)
Set the orchestratorVersion property: Orchestrator version (major, minor, patch).- Parameters:
orchestratorVersion- the orchestratorVersion value to set.- Returns:
- the OrchestratorVersionProfile object itself.
-
defaultProperty
public Boolean defaultProperty()
Get the defaultProperty property: Installed by default if version is not specified.- Returns:
- the defaultProperty value.
-
withDefaultProperty
public OrchestratorVersionProfile withDefaultProperty(Boolean defaultProperty)
Set the defaultProperty property: Installed by default if version is not specified.- Parameters:
defaultProperty- the defaultProperty value to set.- Returns:
- the OrchestratorVersionProfile object itself.
-
isPreview
public Boolean isPreview()
Get the isPreview property: Whether Kubernetes version is currently in preview.- Returns:
- the isPreview value.
-
withIsPreview
public OrchestratorVersionProfile withIsPreview(Boolean isPreview)
Set the isPreview property: Whether Kubernetes version is currently in preview.- Parameters:
isPreview- the isPreview value to set.- Returns:
- the OrchestratorVersionProfile object itself.
-
upgrades
public List<OrchestratorProfile> upgrades()
Get the upgrades property: The list of available upgrade versions.- Returns:
- the upgrades value.
-
withUpgrades
public OrchestratorVersionProfile withUpgrades(List<OrchestratorProfile> upgrades)
Set the upgrades property: The list of available upgrade versions.- Parameters:
upgrades- the upgrades value to set.- Returns:
- the OrchestratorVersionProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-