TopicsRelatedLink Class

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

Implements

public final class TopicsRelatedLink
implements JsonSerializable<TopicsRelatedLink>

Partition Config spec of the topic record.

Constructor Summary

Constructor Description
TopicsRelatedLink()

Creates an instance of TopicsRelatedLink class.

Method Summary

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

Reads an instance of TopicsRelatedLink from the JsonReader.

String related()

Get the related property: Relationship of the topic.

JsonWriter toJson(JsonWriter jsonWriter)
TopicsRelatedLink withRelated(String related)

Set the related property: Relationship of the topic.

Methods inherited from java.lang.Object

Constructor Details

public TopicsRelatedLink()

Creates an instance of TopicsRelatedLink class.

Method Details

public static TopicsRelatedLink fromJson(JsonReader jsonReader)

Reads an instance of TopicsRelatedLink from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

public String related()

Get the related property: Relationship of the topic.

Returns:

the related value.

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

public TopicsRelatedLink withRelated(String related)

Set the related property: Relationship of the topic.

Parameters:

related - the related value to set.

Returns:

the TopicsRelatedLink object itself.

Applies to