public class ConsumerGroupListing
extends java.lang.Object
Constructor and Description |
---|
ConsumerGroupListing(java.lang.String groupId,
boolean isSimpleConsumerGroup)
Create an instance with the specified parameters.
|
ConsumerGroupListing(java.lang.String groupId,
boolean isSimpleConsumerGroup,
java.util.Optional<ConsumerGroupState> state)
Create an instance with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
groupId()
Consumer Group Id
|
int |
hashCode() |
boolean |
isSimpleConsumerGroup()
If Consumer Group is simple or not.
|
java.util.Optional<ConsumerGroupState> |
state()
Consumer Group state
|
java.lang.String |
toString() |
public ConsumerGroupListing(java.lang.String groupId, boolean isSimpleConsumerGroup)
groupId
- Group IdisSimpleConsumerGroup
- If consumer group is simple or not.public ConsumerGroupListing(java.lang.String groupId, boolean isSimpleConsumerGroup, java.util.Optional<ConsumerGroupState> state)
groupId
- Group IdisSimpleConsumerGroup
- If consumer group is simple or not.state
- The state of the consumer grouppublic java.lang.String groupId()
public boolean isSimpleConsumerGroup()
public java.util.Optional<ConsumerGroupState> state()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object