次の方法で共有


ClusterStatusEntity Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.models.ClusterStatusEntity

Implements

public final class ClusterStatusEntity
implements JsonSerializable<ClusterStatusEntity>

Status of the cluster record.

Constructor Summary

Constructor Description
ClusterStatusEntity()

Creates an instance of ClusterStatusEntity class.

Method Summary

Modifier and Type Method and Description
Integer cku()

Get the cku property: The number of Confluent Kafka Units.

static ClusterStatusEntity fromJson(JsonReader jsonReader)

Reads an instance of ClusterStatusEntity from the JsonReader.

String phase()

Get the phase property: The lifecycle phase of the cluster.

JsonWriter toJson(JsonWriter jsonWriter)
ClusterStatusEntity withCku(Integer cku)

Set the cku property: The number of Confluent Kafka Units.

ClusterStatusEntity withPhase(String phase)

Set the phase property: The lifecycle phase of the cluster.

Methods inherited from java.lang.Object

Constructor Details

ClusterStatusEntity

public ClusterStatusEntity()

Creates an instance of ClusterStatusEntity class.

Method Details

cku

public Integer cku()

Get the cku property: The number of Confluent Kafka Units.

Returns:

the cku value.

fromJson

public static ClusterStatusEntity fromJson(JsonReader jsonReader)

Reads an instance of ClusterStatusEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ClusterStatusEntity 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 ClusterStatusEntity.

phase

public String phase()

Get the phase property: The lifecycle phase of the cluster.

Returns:

the phase value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withCku

public ClusterStatusEntity withCku(Integer cku)

Set the cku property: The number of Confluent Kafka Units.

Parameters:

cku - the cku value to set.

Returns:

the ClusterStatusEntity object itself.

withPhase

public ClusterStatusEntity withPhase(String phase)

Set the phase property: The lifecycle phase of the cluster.

Parameters:

phase - the phase value to set.

Returns:

the ClusterStatusEntity object itself.

Applies to