Condividi tramite


OrchestratorInner Class

public final class OrchestratorInner
extends OrchestratorResource

Represents an instance of a orchestrator.

Constructor Summary

Constructor Description
OrchestratorInner()

Creates an instance of OrchestratorInner class.

Method Summary

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

Reads an instance of OrchestratorInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

OrchestratorResourceProperties properties()

Get the properties property: Properties of the provision operation request.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

OrchestratorInner withIdentity(OrchestratorIdentity identity)

Set the identity property: The identity of the orchestrator.

OrchestratorInner withKind(OrchestratorKind kind)

Set the kind property: The kind of workbook.

OrchestratorInner withLocation(String location)
OrchestratorInner withProperties(OrchestratorResourceProperties properties)

Set the properties property: Properties of the provision operation request.

OrchestratorInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from OrchestratorResource

Methods inherited from java.lang.Object

Constructor Details

OrchestratorInner

public OrchestratorInner()

Creates an instance of OrchestratorInner class.

Method Details

fromJson

public static OrchestratorInner fromJson(JsonReader jsonReader)

Reads an instance of OrchestratorInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OrchestratorInner 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.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

OrchestratorInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

OrchestratorInner.name()

Returns:

the name value.

properties

public OrchestratorResourceProperties properties()

Get the properties property: Properties of the provision operation request.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

OrchestratorInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

OrchestratorInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

OrchestratorInner.validate()

withIdentity

public OrchestratorInner withIdentity(OrchestratorIdentity identity)

Set the identity property: The identity of the orchestrator.

Overrides:

OrchestratorInner.withIdentity(OrchestratorIdentity identity)

Parameters:

identity

withKind

public OrchestratorInner withKind(OrchestratorKind kind)

Set the kind property: The kind of workbook. Choices are user and shared.

Overrides:

OrchestratorInner.withKind(OrchestratorKind kind)

Parameters:

kind

withLocation

public OrchestratorInner withLocation(String location)

Overrides:

OrchestratorInner.withLocation(String location)

Parameters:

location

withProperties

public OrchestratorInner withProperties(OrchestratorResourceProperties properties)

Set the properties property: Properties of the provision operation request.

Parameters:

properties - the properties value to set.

Returns:

the OrchestratorInner object itself.

withTags

public OrchestratorInner withTags(Map<String,String> tags)

Overrides:

OrchestratorInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to