TopicRecordInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. confluent. fluent. models. TopicRecordInner
- com.
- com.
public final class TopicRecordInner
extends ProxyResource
Details of topic record.
Constructor Summary
| Constructor | Description |
|---|---|
| TopicRecordInner() |
Creates an instance of Topic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Topics |
configs()
Get the configs property: Config Specification of the topic. |
|
static
Topic |
fromJson(JsonReader jsonReader)
Reads an instance of Topic |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
List<Topics |
inputConfigs()
Get the input |
| String |
kind()
Get the kind property: Type of topic. |
|
Topic |
metadata()
Get the metadata property: Metadata of the record. |
| String |
name()
Get the name property: The name of the resource. |
|
Topics |
partitions()
Get the partitions property: Partition Specification of the topic. |
| String |
partitionsCount()
Get the partitions |
|
Topics |
partitionsReassignments()
Get the partitions |
| String |
replicationFactor()
Get the replication |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
topicId()
Get the topic |
| String |
type()
Get the type property: The type of the resource. |
|
Topic |
withConfigs(TopicsRelatedLink configs)
Set the configs property: Config Specification of the topic. |
|
Topic |
withInputConfigs(List<TopicsInputConfig> inputConfigs)
Set the input |
|
Topic |
withKind(String kind)
Set the kind property: Type of topic. |
|
Topic |
withMetadata(TopicMetadataEntity metadata)
Set the metadata property: Metadata of the record. |
|
Topic |
withPartitions(TopicsRelatedLink partitions)
Set the partitions property: Partition Specification of the topic. |
|
Topic |
withPartitionsCount(String partitionsCount)
Set the partitions |
|
Topic |
withPartitionsReassignments(TopicsRelatedLink partitionsReassignments)
Set the partitions |
|
Topic |
withReplicationFactor(String replicationFactor)
Set the replication |
|
Topic |
withTopicId(String topicId)
Set the topic |
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:
fromJson
public static TopicRecordInner fromJson(JsonReader jsonReader)
Reads an instance of TopicRecordInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
TopicRecordInner.id()Returns:
inputConfigs
public List<TopicsInputConfig> inputConfigs()
Get the inputConfigs property: Input Config Specification of the topic.
Returns:
kind
public String kind()
Get the kind property: Type of topic.
Returns:
metadata
public TopicMetadataEntity metadata()
Get the metadata property: Metadata of the record.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
TopicRecordInner.name()Returns:
partitions
public TopicsRelatedLink partitions()
Get the partitions property: Partition Specification of the topic.
Returns:
partitionsCount
public String partitionsCount()
Get the partitionsCount property: Partition count of the topic.
Returns:
partitionsReassignments
public TopicsRelatedLink partitionsReassignments()
Get the partitionsReassignments property: Partition Reassignment Specification of the topic.
Returns:
replicationFactor
public String replicationFactor()
Get the replicationFactor property: Replication factor of the topic.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TopicRecordInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
topicId
public String topicId()
Get the topicId property: Topic Id returned by Confluent.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
TopicRecordInner.type()Returns:
withConfigs
public TopicRecordInner withConfigs(TopicsRelatedLink configs)
Set the configs property: Config Specification of the topic.
Parameters:
Returns:
withInputConfigs
public TopicRecordInner withInputConfigs(List<TopicsInputConfig> inputConfigs)
Set the inputConfigs property: Input Config Specification of the topic.
Parameters:
Returns:
withKind
public TopicRecordInner withKind(String kind)
Set the kind property: Type of topic.
Parameters:
Returns:
withMetadata
public TopicRecordInner withMetadata(TopicMetadataEntity metadata)
Set the metadata property: Metadata of the record.
Parameters:
Returns:
withPartitions
public TopicRecordInner withPartitions(TopicsRelatedLink partitions)
Set the partitions property: Partition Specification of the topic.
Parameters:
Returns:
withPartitionsCount
public TopicRecordInner withPartitionsCount(String partitionsCount)
Set the partitionsCount property: Partition count of the topic.
Parameters:
Returns:
withPartitionsReassignments
public TopicRecordInner withPartitionsReassignments(TopicsRelatedLink partitionsReassignments)
Set the partitionsReassignments property: Partition Reassignment Specification of the topic.
Parameters:
Returns:
withReplicationFactor
public TopicRecordInner withReplicationFactor(String replicationFactor)
Set the replicationFactor property: Replication factor of the topic.
Parameters:
Returns:
withTopicId
public TopicRecordInner withTopicId(String topicId)
Set the topicId property: Topic Id returned by Confluent.
Parameters:
Returns: