次の方法で共有


ClusterConfigEntity Class

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

Implements

public final class ClusterConfigEntity
implements JsonSerializable<ClusterConfigEntity>

The configuration of the Kafka cluster.

Constructor Summary

Constructor Description
ClusterConfigEntity()

Creates an instance of ClusterConfigEntity class.

Method Summary

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

Reads an instance of ClusterConfigEntity from the JsonReader.

String kind()

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

JsonWriter toJson(JsonWriter jsonWriter)
ClusterConfigEntity withKind(String kind)

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

Methods inherited from java.lang.Object

Constructor Details

ClusterConfigEntity

public ClusterConfigEntity()

Creates an instance of ClusterConfigEntity class.

Method Details

fromJson

public static ClusterConfigEntity fromJson(JsonReader jsonReader)

Reads an instance of ClusterConfigEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

kind

public String kind()

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

Returns:

the kind value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withKind

public ClusterConfigEntity withKind(String kind)

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

Parameters:

kind - the kind value to set.

Returns:

the ClusterConfigEntity object itself.

Applies to