OrchestratorResource Class

public class OrchestratorResource
extends Resource

Represents an instance of a resource.

Constructor Summary

Constructor Description
OrchestratorResource()

Creates an instance of OrchestratorResource class.

Method Summary

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

Reads an instance of OrchestratorResource from the JsonReader.

String id()

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

OrchestratorIdentity identity()

Get the identity property: The identity of the orchestrator.

OrchestratorKind kind()

Get the kind property: The kind of workbook.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

OrchestratorResource withIdentity(OrchestratorIdentity identity)

Set the identity property: The identity of the orchestrator.

OrchestratorResource withKind(OrchestratorKind kind)

Set the kind property: The kind of workbook.

OrchestratorResource withLocation(String location)
OrchestratorResource withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

OrchestratorResource

public OrchestratorResource()

Creates an instance of OrchestratorResource class.

Method Details

fromJson

public static OrchestratorResource fromJson(JsonReader jsonReader)

Reads an instance of OrchestratorResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

OrchestratorResource.id()

Returns:

the id value.

identity

public OrchestratorIdentity identity()

Get the identity property: The identity of the orchestrator.

Returns:

the identity value.

kind

public OrchestratorKind kind()

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

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

OrchestratorResource.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

OrchestratorResource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

OrchestratorResource.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withIdentity

public OrchestratorResource withIdentity(OrchestratorIdentity identity)

Set the identity property: The identity of the orchestrator.

Parameters:

identity - the identity value to set.

Returns:

the OrchestratorResource object itself.

withKind

public OrchestratorResource withKind(OrchestratorKind kind)

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

Parameters:

kind - the kind value to set.

Returns:

the OrchestratorResource object itself.

withLocation

public OrchestratorResource withLocation(String location)

Overrides:

OrchestratorResource.withLocation(String location)

Parameters:

location

withTags

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

Overrides:

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

Parameters:

tags

Applies to