Share via


TopicRecordInner Class

public final class TopicRecordInner
extends ProxyResource

Details of topic record.

Constructor Summary

Constructor Description
TopicRecordInner()

Creates an instance of TopicRecordInner class.

Method Summary

Modifier and Type Method and Description
TopicsRelatedLink configs()

Get the configs property: Config Specification of the topic.

static TopicRecordInner fromJson(JsonReader jsonReader)

Reads an instance of TopicRecordInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

List<TopicsInputConfig> inputConfigs()

Get the inputConfigs property: Input Config Specification of the topic.

String kind()

Get the kind property: Type of topic.

TopicMetadataEntity metadata()

Get the metadata property: Metadata of the record.

String name()

Get the name property: The name of the resource.

TopicsRelatedLink partitions()

Get the partitions property: Partition Specification of the topic.

String partitionsCount()

Get the partitionsCount property: Partition count of the topic.

TopicsRelatedLink partitionsReassignments()

Get the partitionsReassignments property: Partition Reassignment Specification of the topic.

String replicationFactor()

Get the replicationFactor property: Replication factor of the topic.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String topicId()

Get the topicId property: Topic Id returned by Confluent.

String type()

Get the type property: The type of the resource.

TopicRecordInner withConfigs(TopicsRelatedLink configs)

Set the configs property: Config Specification of the topic.

TopicRecordInner withInputConfigs(List<TopicsInputConfig> inputConfigs)

Set the inputConfigs property: Input Config Specification of the topic.

TopicRecordInner withKind(String kind)

Set the kind property: Type of topic.

TopicRecordInner withMetadata(TopicMetadataEntity metadata)

Set the metadata property: Metadata of the record.

TopicRecordInner withPartitions(TopicsRelatedLink partitions)

Set the partitions property: Partition Specification of the topic.

TopicRecordInner withPartitionsCount(String partitionsCount)

Set the partitionsCount property: Partition count of the topic.

TopicRecordInner withPartitionsReassignments(TopicsRelatedLink partitionsReassignments)

Set the partitionsReassignments property: Partition Reassignment Specification of the topic.

TopicRecordInner withReplicationFactor(String replicationFactor)

Set the replicationFactor property: Replication factor of the topic.

TopicRecordInner withTopicId(String topicId)

Set the topicId property: Topic Id returned by Confluent.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

TopicRecordInner

public TopicRecordInner()

Creates an instance of TopicRecordInner class.

Method Details

configs

public TopicsRelatedLink configs()

Get the configs property: Config Specification of the topic.

Returns:

the configs value.

fromJson

public static TopicRecordInner fromJson(JsonReader jsonReader)

Reads an instance of TopicRecordInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TopicRecordInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

TopicRecordInner.id()

Returns:

the id value.

inputConfigs

public List<TopicsInputConfig> inputConfigs()

Get the inputConfigs property: Input Config Specification of the topic.

Returns:

the inputConfigs value.

kind

public String kind()

Get the kind property: Type of topic.

Returns:

the kind value.

metadata

public TopicMetadataEntity metadata()

Get the metadata property: Metadata of the record.

Returns:

the metadata value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

TopicRecordInner.name()

Returns:

the name value.

partitions

public TopicsRelatedLink partitions()

Get the partitions property: Partition Specification of the topic.

Returns:

the partitions value.

partitionsCount

public String partitionsCount()

Get the partitionsCount property: Partition count of the topic.

Returns:

the partitionsCount value.

partitionsReassignments

public TopicsRelatedLink partitionsReassignments()

Get the partitionsReassignments property: Partition Reassignment Specification of the topic.

Returns:

the partitionsReassignments value.

replicationFactor

public String replicationFactor()

Get the replicationFactor property: Replication factor of the topic.

Returns:

the replicationFactor value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TopicRecordInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

topicId

public String topicId()

Get the topicId property: Topic Id returned by Confluent.

Returns:

the topicId value.

type

public String type()

Get the type property: The type of the resource.

Overrides:

TopicRecordInner.type()

Returns:

the type value.

withConfigs

public TopicRecordInner withConfigs(TopicsRelatedLink configs)

Set the configs property: Config Specification of the topic.

Parameters:

configs - the configs value to set.

Returns:

the TopicRecordInner object itself.

withInputConfigs

public TopicRecordInner withInputConfigs(List<TopicsInputConfig> inputConfigs)

Set the inputConfigs property: Input Config Specification of the topic.

Parameters:

inputConfigs - the inputConfigs value to set.

Returns:

the TopicRecordInner object itself.

withKind

public TopicRecordInner withKind(String kind)

Set the kind property: Type of topic.

Parameters:

kind - the kind value to set.

Returns:

the TopicRecordInner object itself.

withMetadata

public TopicRecordInner withMetadata(TopicMetadataEntity metadata)

Set the metadata property: Metadata of the record.

Parameters:

metadata - the metadata value to set.

Returns:

the TopicRecordInner object itself.

withPartitions

public TopicRecordInner withPartitions(TopicsRelatedLink partitions)

Set the partitions property: Partition Specification of the topic.

Parameters:

partitions - the partitions value to set.

Returns:

the TopicRecordInner object itself.

withPartitionsCount

public TopicRecordInner withPartitionsCount(String partitionsCount)

Set the partitionsCount property: Partition count of the topic.

Parameters:

partitionsCount - the partitionsCount value to set.

Returns:

the TopicRecordInner object itself.

withPartitionsReassignments

public TopicRecordInner withPartitionsReassignments(TopicsRelatedLink partitionsReassignments)

Set the partitionsReassignments property: Partition Reassignment Specification of the topic.

Parameters:

partitionsReassignments - the partitionsReassignments value to set.

Returns:

the TopicRecordInner object itself.

withReplicationFactor

public TopicRecordInner withReplicationFactor(String replicationFactor)

Set the replicationFactor property: Replication factor of the topic.

Parameters:

replicationFactor - the replicationFactor value to set.

Returns:

the TopicRecordInner object itself.

withTopicId

public TopicRecordInner withTopicId(String topicId)

Set the topicId property: Topic Id returned by Confluent.

Parameters:

topicId - the topicId value to set.

Returns:

the TopicRecordInner object itself.

Applies to