OrchestratorVersionProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.OrchestratorVersionProfile

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 OrchestratorVersionProfile class.

Method Summary

Modifier and Type Method and Description
Boolean defaultProperty()

Get the defaultProperty property: Installed by default if version is not specified.

static OrchestratorVersionProfile fromJson(JsonReader jsonReader)

Reads an instance of OrchestratorVersionProfile from the JsonReader.

Boolean isPreview()

Get the isPreview property: Whether Kubernetes version is currently in preview.

String orchestratorType()

Get the orchestratorType property: Orchestrator type.

String orchestratorVersion()

Get the orchestratorVersion property: Orchestrator version (major, minor, patch).

JsonWriter toJson(JsonWriter jsonWriter)
List<OrchestratorProfile> upgrades()

Get the upgrades property: The list of available upgrade versions.

void validate()

Validates the instance.

OrchestratorVersionProfile withDefaultProperty(Boolean defaultProperty)

Set the defaultProperty property: Installed by default if version is not specified.

OrchestratorVersionProfile withIsPreview(Boolean isPreview)

Set the isPreview property: Whether Kubernetes version is currently in preview.

OrchestratorVersionProfile withOrchestratorType(String orchestratorType)

Set the orchestratorType property: Orchestrator type.

OrchestratorVersionProfile withOrchestratorVersion(String orchestratorVersion)

Set the orchestratorVersion property: Orchestrator version (major, minor, patch).

OrchestratorVersionProfile 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:

the defaultProperty value.

fromJson

public static OrchestratorVersionProfile fromJson(JsonReader jsonReader)

Reads an instance of OrchestratorVersionProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OrchestratorVersionProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

isPreview

public Boolean isPreview()

Get the isPreview property: Whether Kubernetes version is currently in preview.

Returns:

the isPreview value.

orchestratorType

public String orchestratorType()

Get the orchestratorType property: Orchestrator type.

Returns:

the orchestratorType value.

orchestratorVersion

public String orchestratorVersion()

Get the orchestratorVersion property: Orchestrator version (major, minor, patch).

Returns:

the orchestratorVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

upgrades

public List upgrades()

Get the upgrades property: The list of available upgrade versions.

Returns:

the upgrades value.

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:

defaultProperty - the defaultProperty value to set.

Returns:

the OrchestratorVersionProfile object itself.

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.

withOrchestratorType

public OrchestratorVersionProfile withOrchestratorType(String orchestratorType)

Set the orchestratorType property: Orchestrator type.

Parameters:

orchestratorType - the orchestratorType value to set.

Returns:

the OrchestratorVersionProfile object itself.

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.

withUpgrades

public OrchestratorVersionProfile withUpgrades(List upgrades)

Set the upgrades property: The list of available upgrade versions.

Parameters:

upgrades - the upgrades value to set.

Returns:

the OrchestratorVersionProfile object itself.

Applies to