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