Record Class DisassociateInfo
java.lang.Object
java.lang.Record
io.confluent.kafka.odyssey.DisassociateInfo
public record DisassociateInfo(String topicName, String topicId, String namespace, Set<AssociationType> types)
extends Record
Disassociation request for a single topic. Carries only the association types
(e.g. KEY, VALUE) to delete — none of the schema content, lifecycle, or other
fields that
AssociationConfig holds for upsert.-
Constructor Summary
ConstructorsConstructorDescriptionDisassociateInfo(String topicName, String topicId, String namespace, Set<AssociationType> types) Creates an instance of aDisassociateInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.types()Returns the value of thetypesrecord component.
-
Constructor Details
-
DisassociateInfo
public DisassociateInfo(String topicName, String topicId, String namespace, Set<AssociationType> types) Creates an instance of aDisassociateInforecord class.- Parameters:
topicName- the value for thetopicNamerecord componenttopicId- the value for thetopicIdrecord componentnamespace- the value for thenamespacerecord componenttypes- the value for thetypesrecord component
-
-
Method Details
-
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
Returns the value of thetopicNamerecord component.- Returns:
- the value of the
topicNamerecord component
-
topicId
Returns the value of thetopicIdrecord component.- Returns:
- the value of the
topicIdrecord component
-
namespace
Returns the value of thenamespacerecord component.- Returns:
- the value of the
namespacerecord component
-
types
Returns the value of thetypesrecord component.- Returns:
- the value of the
typesrecord component
-