SchemaRegistryClusterStatusEntity Class

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

Implements

public final class SchemaRegistryClusterStatusEntity
implements JsonSerializable<SchemaRegistryClusterStatusEntity>

Status of the schema registry cluster record.

Constructor Summary

Constructor Description
SchemaRegistryClusterStatusEntity()

Creates an instance of SchemaRegistryClusterStatusEntity class.

Method Summary

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

Reads an instance of SchemaRegistryClusterStatusEntity from the JsonReader.

String phase()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SchemaRegistryClusterStatusEntity withPhase(String phase)

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

Methods inherited from java.lang.Object

Constructor Details

SchemaRegistryClusterStatusEntity

public SchemaRegistryClusterStatusEntity()

Creates an instance of SchemaRegistryClusterStatusEntity class.

Method Details

fromJson

public static SchemaRegistryClusterStatusEntity fromJson(JsonReader jsonReader)

Reads an instance of SchemaRegistryClusterStatusEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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:

validate

public void validate()

Validates the instance.

withPhase

public SchemaRegistryClusterStatusEntity withPhase(String phase)

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

Parameters:

phase - the phase value to set.

Returns:

the SchemaRegistryClusterStatusEntity object itself.

Applies to