SCClusterRecordInner Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. fluent. models. SCClusterRecordInner
- com.
Implements
public final class SCClusterRecordInner
implements JsonSerializable<SCClusterRecordInner>
Details of cluster record.
Constructor Summary
| Constructor | Description |
|---|---|
| SCClusterRecordInner() |
Creates an instance of SCCluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
SCCluster |
fromJson(JsonReader jsonReader)
Reads an instance of SCCluster |
| String |
id()
Get the id property: Id of the cluster. |
| String |
kind()
Get the kind property: Type of cluster. |
|
SCMetadata |
metadata()
Get the metadata property: Metadata of the record. |
| String |
name()
Get the name property: Display name of the cluster. |
|
SCCluster |
spec()
Get the spec property: Specification of the cluster. |
|
Cluster |
status()
Get the status property: Specification of the cluster status. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
SCCluster |
withId(String id)
Set the id property: Id of the cluster. |
|
SCCluster |
withKind(String kind)
Set the kind property: Type of cluster. |
|
SCCluster |
withMetadata(SCMetadataEntity metadata)
Set the metadata property: Metadata of the record. |
|
SCCluster |
withName(String name)
Set the name property: Display name of the cluster. |
|
SCCluster |
withSpec(SCClusterSpecEntity spec)
Set the spec property: Specification of the cluster. |
|
SCCluster |
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:
Returns:
Throws:
id
public String id()
Get the id property: Id of the cluster.
Returns:
kind
public String kind()
Get the kind property: Type of cluster.
Returns:
metadata
public SCMetadataEntity metadata()
Get the metadata property: Metadata of the record.
Returns:
name
public String name()
Get the name property: Display name of the cluster.
Returns:
spec
public SCClusterSpecEntity spec()
Get the spec property: Specification of the cluster.
Returns:
status
public ClusterStatusEntity status()
Get the status property: Specification of the cluster status.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public SCClusterRecordInner withId(String id)
Set the id property: Id of the cluster.
Parameters:
Returns:
withKind
public SCClusterRecordInner withKind(String kind)
Set the kind property: Type of cluster.
Parameters:
Returns:
withMetadata
public SCClusterRecordInner withMetadata(SCMetadataEntity metadata)
Set the metadata property: Metadata of the record.
Parameters:
Returns:
withName
public SCClusterRecordInner withName(String name)
Set the name property: Display name of the cluster.
Parameters:
Returns:
withSpec
public SCClusterRecordInner withSpec(SCClusterSpecEntity spec)
Set the spec property: Specification of the cluster.
Parameters:
Returns:
withStatus
public SCClusterRecordInner withStatus(ClusterStatusEntity status)
Set the status property: Specification of the cluster status.
Parameters:
Returns: