RegionRecord Class

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

Implements

public final class RegionRecord
implements JsonSerializable<RegionRecord>

Details of region record.

Method Summary

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

Reads an instance of RegionRecord from the JsonReader.

String id()

Get the id property: Id of the cluster.

String kind()

Get the kind property: Kind of the cluster.

SCMetadataEntity metadata()

Get the metadata property: Metadata of the record.

RegionSpecEntity spec()

Get the spec property: Specification of the region.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static RegionRecord fromJson(JsonReader jsonReader)

Reads an instance of RegionRecord from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Id of the cluster.

Returns:

the id value.

kind

public String kind()

Get the kind property: Kind of the cluster.

Returns:

the kind value.

metadata

public SCMetadataEntity metadata()

Get the metadata property: Metadata of the record.

Returns:

the metadata value.

spec

public RegionSpecEntity spec()

Get the spec property: Specification of the region.

Returns:

the spec value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to