Record Class KafkaClusterResponse.ConsumerGroupMember
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaClusterResponse.ConsumerGroupMember
- Enclosing class:
KafkaClusterResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassignmentrecord component.clientId()Returns the value of theclientIdrecord component.Returns the value of theconsumerIdrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable StringReturns the value of thegroupInstanceIdrecord component.final inthashCode()Returns a hash code value for this object.host()Returns the value of thehostrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConsumerGroupMember
public ConsumerGroupMember(String consumerId, @Nullable String groupInstanceId, String clientId, String host, List<String> assignment) Creates an instance of aConsumerGroupMemberrecord class.- Parameters:
consumerId- the value for theconsumerIdrecord componentgroupInstanceId- the value for thegroupInstanceIdrecord componentclientId- the value for theclientIdrecord componenthost- the value for thehostrecord componentassignment- the value for theassignmentrecord 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). -
consumerId
Returns the value of theconsumerIdrecord component.- Returns:
- the value of the
consumerIdrecord component
-
groupInstanceId
Returns the value of thegroupInstanceIdrecord component.- Returns:
- the value of the
groupInstanceIdrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
host
Returns the value of thehostrecord component.- Returns:
- the value of the
hostrecord component
-
assignment
-