OrchestratorVersionProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. OrchestratorVersionProfile
- com.
Implements
public final class OrchestratorVersionProfile
implements JsonSerializable<OrchestratorVersionProfile>
The profile of an orchestrator and its available versions.
Constructor Summary
Constructor | Description |
---|---|
OrchestratorVersionProfile() |
Creates an instance of Orchestrator |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
defaultProperty()
Get the default |
static
Orchestrator |
fromJson(JsonReader jsonReader)
Reads an instance of Orchestrator |
Boolean |
isPreview()
Get the is |
String |
orchestratorType()
Get the orchestrator |
String |
orchestratorVersion()
Get the orchestrator |
Json |
toJson(JsonWriter jsonWriter) |
List<Orchestrator |
upgrades()
Get the upgrades property: The list of available upgrade versions. |
void |
validate()
Validates the instance. |
Orchestrator |
withDefaultProperty(Boolean defaultProperty)
Set the default |
Orchestrator |
withIsPreview(Boolean isPreview)
Set the is |
Orchestrator |
withOrchestratorType(String orchestratorType)
Set the orchestrator |
Orchestrator |
withOrchestratorVersion(String orchestratorVersion)
Set the orchestrator |
Orchestrator |
withUpgrades(List<OrchestratorProfile> upgrades)
Set the upgrades property: The list of available upgrade versions. |
Methods inherited from java.lang.Object
Constructor Details
OrchestratorVersionProfile
public OrchestratorVersionProfile()
Creates an instance of OrchestratorVersionProfile class.
Method Details
defaultProperty
public Boolean defaultProperty()
Get the defaultProperty property: Installed by default if version is not specified.
Returns:
fromJson
public static OrchestratorVersionProfile fromJson(JsonReader jsonReader)
Reads an instance of OrchestratorVersionProfile from the JsonReader.
Parameters:
Returns:
Throws:
isPreview
public Boolean isPreview()
Get the isPreview property: Whether Kubernetes version is currently in preview.
Returns:
orchestratorType
public String orchestratorType()
Get the orchestratorType property: Orchestrator type.
Returns:
orchestratorVersion
public String orchestratorVersion()
Get the orchestratorVersion property: Orchestrator version (major, minor, patch).
Returns:
toJson
upgrades
public List
Get the upgrades property: The list of available upgrade versions.
Returns:
validate
public void validate()
Validates the instance.
withDefaultProperty
public OrchestratorVersionProfile withDefaultProperty(Boolean defaultProperty)
Set the defaultProperty property: Installed by default if version is not specified.
Parameters:
Returns:
withIsPreview
public OrchestratorVersionProfile withIsPreview(Boolean isPreview)
Set the isPreview property: Whether Kubernetes version is currently in preview.
Parameters:
Returns:
withOrchestratorType
public OrchestratorVersionProfile withOrchestratorType(String orchestratorType)
Set the orchestratorType property: Orchestrator type.
Parameters:
Returns:
withOrchestratorVersion
public OrchestratorVersionProfile withOrchestratorVersion(String orchestratorVersion)
Set the orchestratorVersion property: Orchestrator version (major, minor, patch).
Parameters:
Returns:
withUpgrades
public OrchestratorVersionProfile withUpgrades(List
Set the upgrades property: The list of available upgrade versions.
Parameters:
Returns:
Applies to
Azure SDK for Java