@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConsumerGroupReplicationUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Details about consumer group replication.
Constructor and Description |
---|
ConsumerGroupReplicationUpdate() |
Modifier and Type | Method and Description |
---|---|
ConsumerGroupReplicationUpdate |
clone() |
boolean |
equals(Object obj) |
List<String> |
getConsumerGroupsToExclude()
List of regular expression patterns indicating the consumer groups that should not be replicated.
|
List<String> |
getConsumerGroupsToReplicate()
List of regular expression patterns indicating the consumer groups to copy.
|
Boolean |
getDetectAndCopyNewConsumerGroups()
Enables synchronization of consumer groups to target cluster.
|
Boolean |
getSynchroniseConsumerGroupOffsets()
Enables synchronization of consumer group offsets to target cluster.
|
int |
hashCode() |
Boolean |
isDetectAndCopyNewConsumerGroups()
Enables synchronization of consumer groups to target cluster.
|
Boolean |
isSynchroniseConsumerGroupOffsets()
Enables synchronization of consumer group offsets to target cluster.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConsumerGroupsToExclude(Collection<String> consumerGroupsToExclude)
List of regular expression patterns indicating the consumer groups that should not be replicated.
|
void |
setConsumerGroupsToReplicate(Collection<String> consumerGroupsToReplicate)
List of regular expression patterns indicating the consumer groups to copy.
|
void |
setDetectAndCopyNewConsumerGroups(Boolean detectAndCopyNewConsumerGroups)
Enables synchronization of consumer groups to target cluster.
|
void |
setSynchroniseConsumerGroupOffsets(Boolean synchroniseConsumerGroupOffsets)
Enables synchronization of consumer group offsets to target cluster.
|
String |
toString()
Returns a string representation of this object.
|
ConsumerGroupReplicationUpdate |
withConsumerGroupsToExclude(Collection<String> consumerGroupsToExclude)
List of regular expression patterns indicating the consumer groups that should not be replicated.
|
ConsumerGroupReplicationUpdate |
withConsumerGroupsToExclude(String... consumerGroupsToExclude)
List of regular expression patterns indicating the consumer groups that should not be replicated.
|
ConsumerGroupReplicationUpdate |
withConsumerGroupsToReplicate(Collection<String> consumerGroupsToReplicate)
List of regular expression patterns indicating the consumer groups to copy.
|
ConsumerGroupReplicationUpdate |
withConsumerGroupsToReplicate(String... consumerGroupsToReplicate)
List of regular expression patterns indicating the consumer groups to copy.
|
ConsumerGroupReplicationUpdate |
withDetectAndCopyNewConsumerGroups(Boolean detectAndCopyNewConsumerGroups)
Enables synchronization of consumer groups to target cluster.
|
ConsumerGroupReplicationUpdate |
withSynchroniseConsumerGroupOffsets(Boolean synchroniseConsumerGroupOffsets)
Enables synchronization of consumer group offsets to target cluster.
|
public List<String> getConsumerGroupsToExclude()
List of regular expression patterns indicating the consumer groups that should not be replicated.
public void setConsumerGroupsToExclude(Collection<String> consumerGroupsToExclude)
List of regular expression patterns indicating the consumer groups that should not be replicated.
consumerGroupsToExclude
- List of regular expression patterns indicating the consumer groups that should not be replicated.public ConsumerGroupReplicationUpdate withConsumerGroupsToExclude(String... consumerGroupsToExclude)
List of regular expression patterns indicating the consumer groups that should not be replicated.
NOTE: This method appends the values to the existing list (if any). Use
setConsumerGroupsToExclude(java.util.Collection)
or
withConsumerGroupsToExclude(java.util.Collection)
if you want to override the existing values.
consumerGroupsToExclude
- List of regular expression patterns indicating the consumer groups that should not be replicated.public ConsumerGroupReplicationUpdate withConsumerGroupsToExclude(Collection<String> consumerGroupsToExclude)
List of regular expression patterns indicating the consumer groups that should not be replicated.
consumerGroupsToExclude
- List of regular expression patterns indicating the consumer groups that should not be replicated.public List<String> getConsumerGroupsToReplicate()
List of regular expression patterns indicating the consumer groups to copy.
public void setConsumerGroupsToReplicate(Collection<String> consumerGroupsToReplicate)
List of regular expression patterns indicating the consumer groups to copy.
consumerGroupsToReplicate
- List of regular expression patterns indicating the consumer groups to copy.public ConsumerGroupReplicationUpdate withConsumerGroupsToReplicate(String... consumerGroupsToReplicate)
List of regular expression patterns indicating the consumer groups to copy.
NOTE: This method appends the values to the existing list (if any). Use
setConsumerGroupsToReplicate(java.util.Collection)
or
withConsumerGroupsToReplicate(java.util.Collection)
if you want to override the existing values.
consumerGroupsToReplicate
- List of regular expression patterns indicating the consumer groups to copy.public ConsumerGroupReplicationUpdate withConsumerGroupsToReplicate(Collection<String> consumerGroupsToReplicate)
List of regular expression patterns indicating the consumer groups to copy.
consumerGroupsToReplicate
- List of regular expression patterns indicating the consumer groups to copy.public void setDetectAndCopyNewConsumerGroups(Boolean detectAndCopyNewConsumerGroups)
Enables synchronization of consumer groups to target cluster.
detectAndCopyNewConsumerGroups
- Enables synchronization of consumer groups to target cluster.public Boolean getDetectAndCopyNewConsumerGroups()
Enables synchronization of consumer groups to target cluster.
public ConsumerGroupReplicationUpdate withDetectAndCopyNewConsumerGroups(Boolean detectAndCopyNewConsumerGroups)
Enables synchronization of consumer groups to target cluster.
detectAndCopyNewConsumerGroups
- Enables synchronization of consumer groups to target cluster.public Boolean isDetectAndCopyNewConsumerGroups()
Enables synchronization of consumer groups to target cluster.
public void setSynchroniseConsumerGroupOffsets(Boolean synchroniseConsumerGroupOffsets)
Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.
synchroniseConsumerGroupOffsets
- Enables synchronization of consumer group offsets to target cluster. The translated offsets will be
written to topic __consumer_offsets.public Boolean getSynchroniseConsumerGroupOffsets()
Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.
public ConsumerGroupReplicationUpdate withSynchroniseConsumerGroupOffsets(Boolean synchroniseConsumerGroupOffsets)
Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.
synchroniseConsumerGroupOffsets
- Enables synchronization of consumer group offsets to target cluster. The translated offsets will be
written to topic __consumer_offsets.public Boolean isSynchroniseConsumerGroupOffsets()
Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.
public String toString()
toString
in class Object
Object.toString()
public ConsumerGroupReplicationUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.