Share via


TopicMetadataEntity Class

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

Implements

public final class TopicMetadataEntity
implements JsonSerializable<TopicMetadataEntity>

Metadata of the data record.

Constructor Summary

Constructor Description
TopicMetadataEntity()

Creates an instance of TopicMetadataEntity class.

Method Summary

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

Reads an instance of TopicMetadataEntity from the JsonReader.

String resourceName()

Get the resourceName property: Resource name of the record.

String self()

Get the self property: Self lookup url.

JsonWriter toJson(JsonWriter jsonWriter)
TopicMetadataEntity withResourceName(String resourceName)

Set the resourceName property: Resource name of the record.

TopicMetadataEntity withSelf(String self)

Set the self property: Self lookup url.

Methods inherited from java.lang.Object

Constructor Details

TopicMetadataEntity

public TopicMetadataEntity()

Creates an instance of TopicMetadataEntity class.

Method Details

fromJson

public static TopicMetadataEntity fromJson(JsonReader jsonReader)

Reads an instance of TopicMetadataEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resourceName

public String resourceName()

Get the resourceName property: Resource name of the record.

Returns:

the resourceName value.

self

public String self()

Get the self property: Self lookup url.

Returns:

the self value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withResourceName

public TopicMetadataEntity withResourceName(String resourceName)

Set the resourceName property: Resource name of the record.

Parameters:

resourceName - the resourceName value to set.

Returns:

the TopicMetadataEntity object itself.

withSelf

public TopicMetadataEntity withSelf(String self)

Set the self property: Self lookup url.

Parameters:

self - the self value to set.

Returns:

the TopicMetadataEntity object itself.

Applies to