Share via


SCClusterRecordInner Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.fluent.models.SCClusterRecordInner

Implements

public final class SCClusterRecordInner
implements JsonSerializable<SCClusterRecordInner>

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: Id of the cluster.

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: Display name of the cluster.

SCClusterSpecEntity spec()

Get the spec property: Specification of the cluster.

ClusterStatusEntity status()

Get the status property: Specification of the cluster status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SCClusterRecordInner withId(String id)

Set the id property: Id of the cluster.

SCClusterRecordInner withKind(String kind)

Set the kind property: Type of cluster.

SCClusterRecordInner withMetadata(SCMetadataEntity metadata)

Set the metadata property: Metadata of the record.

SCClusterRecordInner withName(String name)

Set the name property: Display name of the cluster.

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 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 an error occurs while reading the SCClusterRecordInner.

id

public String id()

Get the id property: Id of the cluster.

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: Display name of the cluster.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public SCClusterRecordInner withId(String id)

Set the id property: Id of the cluster.

Parameters:

id - the id value to set.

Returns:

the SCClusterRecordInner object itself.

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.

withName

public SCClusterRecordInner withName(String name)

Set the name property: Display name of the cluster.

Parameters:

name - the name 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