Record Class KafkaClusterResponse.ConsumerGroupDetail
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaClusterResponse.ConsumerGroupDetail
- Enclosing class:
KafkaClusterResponse
@Introspected
public static record KafkaClusterResponse.ConsumerGroupDetail(KafkaClusterResponse.ConsumerGroupSummary group, List<KafkaClusterResponse.ConsumerGroupMember> members, List<KafkaClusterResponse.ConsumerGroupPartition> partitions)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionConsumerGroupDetail(KafkaClusterResponse.ConsumerGroupSummary group, List<KafkaClusterResponse.ConsumerGroupMember> members, List<KafkaClusterResponse.ConsumerGroupPartition> partitions) Creates an instance of aConsumerGroupDetailrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.members()Returns the value of themembersrecord component.Returns the value of thepartitionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConsumerGroupDetail
public ConsumerGroupDetail(KafkaClusterResponse.ConsumerGroupSummary group, List<KafkaClusterResponse.ConsumerGroupMember> members, List<KafkaClusterResponse.ConsumerGroupPartition> partitions) Creates an instance of aConsumerGroupDetailrecord class.- Parameters:
group- the value for thegrouprecord componentmembers- the value for themembersrecord componentpartitions- the value for thepartitionsrecord 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). -
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-
members
Returns the value of themembersrecord component.- Returns:
- the value of the
membersrecord component
-
partitions
Returns the value of thepartitionsrecord component.- Returns:
- the value of the
partitionsrecord component
-