OrchestratorProfile Class

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

Implements

public final class OrchestratorProfile
implements JsonSerializable<OrchestratorProfile>

Contains information about orchestrator.

Constructor Summary

Constructor Description
OrchestratorProfile()

Creates an instance of OrchestratorProfile class.

Method Summary

Modifier and Type Method and Description
static OrchestratorProfile fromJson(JsonReader jsonReader)

Reads an instance of OrchestratorProfile 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)
void validate()

Validates the instance.

OrchestratorProfile withIsPreview(Boolean isPreview)

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

OrchestratorProfile withOrchestratorType(String orchestratorType)

Set the orchestratorType property: Orchestrator type.

OrchestratorProfile withOrchestratorVersion(String orchestratorVersion)

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

Methods inherited from java.lang.Object

Constructor Details

OrchestratorProfile

public OrchestratorProfile()

Creates an instance of OrchestratorProfile class.

Method Details

fromJson

public static OrchestratorProfile fromJson(JsonReader jsonReader)

Reads an instance of OrchestratorProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OrchestratorProfile 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:

validate

public void validate()

Validates the instance.

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.

withOrchestratorType

public OrchestratorProfile withOrchestratorType(String orchestratorType)

Set the orchestratorType property: Orchestrator type.

Parameters:

orchestratorType - the orchestratorType value to set.

Returns:

the OrchestratorProfile object itself.

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.

Applies to