public class ConsumerGroupListing extends Object
Constructor and Description |
---|
ConsumerGroupListing()
Constructor
|
ConsumerGroupListing(JsonObject json)
Constructor (from JSON representation)
|
ConsumerGroupListing(String groupId,
boolean isSimpleConsumerGroup)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getGroupId() |
boolean |
isSimpleConsumerGroup() |
ConsumerGroupListing |
setGroupId(String groupId)
Set the consumer group id
|
ConsumerGroupListing |
setSimpleConsumerGroup(boolean isSimpleConsumerGroup)
Set if consumer group is simple or not
|
JsonObject |
toJson()
Convert object to JSON representation
|
String |
toString() |
public ConsumerGroupListing()
public ConsumerGroupListing(String groupId, boolean isSimpleConsumerGroup)
groupId
- consumer group idisSimpleConsumerGroup
- if consumer group is simple or notpublic ConsumerGroupListing(JsonObject json)
json
- JSON representationpublic String getGroupId()
public ConsumerGroupListing setGroupId(String groupId)
groupId
- consumer group idpublic boolean isSimpleConsumerGroup()
public ConsumerGroupListing setSimpleConsumerGroup(boolean isSimpleConsumerGroup)
isSimpleConsumerGroup
- if consumer group is simple or notpublic JsonObject toJson()
Copyright © 2021 Eclipse. All rights reserved.