次の方法で共有


SCClusterRecordInner Class

public final class SCClusterRecordInner
extends ProxyResource

Details of cluster record.

Constructor Summary

Constructor Description
SCClusterRecordInner()

Creates an instance of SCClusterRecordInner class.

Method Summary

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

Reads an instance of SCClusterRecordInner from the JsonReader.

String id()

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

String kind()

Get the kind property: Type of cluster.

SCMetadataEntity metadata()

Get the metadata property: Metadata of the record.

String name()

Get the name property: The name of the resource.

SCClusterSpecEntity spec()

Get the spec property: Specification of the cluster.

ClusterStatusEntity status()

Get the status property: Specification of the cluster status.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

SCClusterRecordInner withKind(String kind)

Set the kind property: Type of cluster.

SCClusterRecordInner withMetadata(SCMetadataEntity metadata)

Set the metadata property: Metadata of the record.

SCClusterRecordInner withSpec(SCClusterSpecEntity spec)

Set the spec property: Specification of the cluster.

SCClusterRecordInner withStatus(ClusterStatusEntity status)

Set the status property: Specification of the cluster status.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SCClusterRecordInner

public SCClusterRecordInner()

Creates an instance of SCClusterRecordInner class.

Method Details

fromJson

public static SCClusterRecordInner fromJson(JsonReader jsonReader)

Reads an instance of SCClusterRecordInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

SCClusterRecordInner.id()

Returns:

the id value.

kind

public String kind()

Get the kind property: Type of cluster.

Returns:

the kind value.

metadata

public SCMetadataEntity metadata()

Get the metadata property: Metadata of the record.

Returns:

the metadata value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SCClusterRecordInner.name()

Returns:

the name value.

spec

public SCClusterSpecEntity spec()

Get the spec property: Specification of the cluster.

Returns:

the spec value.

status

public ClusterStatusEntity status()

Get the status property: Specification of the cluster status.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SCClusterRecordInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SCClusterRecordInner.type()

Returns:

the type value.

withKind

public SCClusterRecordInner withKind(String kind)

Set the kind property: Type of cluster.

Parameters:

kind - the kind value to set.

Returns:

the SCClusterRecordInner object itself.

withMetadata

public SCClusterRecordInner withMetadata(SCMetadataEntity metadata)

Set the metadata property: Metadata of the record.

Parameters:

metadata - the metadata value to set.

Returns:

the SCClusterRecordInner object itself.

withSpec

public SCClusterRecordInner withSpec(SCClusterSpecEntity spec)

Set the spec property: Specification of the cluster.

Parameters:

spec - the spec value to set.

Returns:

the SCClusterRecordInner object itself.

withStatus

public SCClusterRecordInner withStatus(ClusterStatusEntity status)

Set the status property: Specification of the cluster status.

Parameters:

status - the status value to set.

Returns:

the SCClusterRecordInner object itself.

Applies to