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