Record Class TopicAssociationInfo
java.lang.Object
java.lang.Record
io.confluent.kafka.odyssey.TopicAssociationInfo
- Record Components:
topicName- the name of the topictopicId- the topic's unique identifier (UUID as string)namespace- the namespace (LKC cluster ID)associations- the parsed key/value association configurations for this topic
public record TopicAssociationInfo(String topicName, String topicId, String namespace, ParsedAssociations associations)
extends Record
Association information for a single topic.
Used in batch association creation operations with Schema Registry.
-
Constructor Summary
ConstructorsConstructorDescriptionTopicAssociationInfo(String topicName, String topicId, String namespace, ParsedAssociations associations) Creates an instance of aTopicAssociationInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassociationsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenamespacerecord component.topicId()Returns the value of thetopicIdrecord component.Returns the value of thetopicNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TopicAssociationInfo
public TopicAssociationInfo(String topicName, String topicId, String namespace, ParsedAssociations associations) Creates an instance of aTopicAssociationInforecord class.- Parameters:
topicName- the value for thetopicNamerecord componenttopicId- the value for thetopicIdrecord componentnamespace- the value for thenamespacerecord componentassociations- the value for theassociationsrecord component
-
-
Method Details
-
associationList
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
topicName
-
topicId
-
namespace
-
associations
Returns the value of theassociationsrecord component.- Returns:
- the value of the
associationsrecord component
-