public class DescribeReplicationGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a DescribeReplicationGroups action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
marker
Provides an identifier to allow retrieval of paginated results.
|
private SdkInternalList<ReplicationGroup> |
replicationGroups
A list of replication groups.
|
Constructor and Description |
---|
DescribeReplicationGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReplicationGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
java.util.List<ReplicationGroup> |
getReplicationGroups()
A list of replication groups.
|
int |
hashCode() |
void |
setMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
|
void |
setReplicationGroups(java.util.Collection<ReplicationGroup> replicationGroups)
A list of replication groups.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReplicationGroupsResult |
withMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
|
DescribeReplicationGroupsResult |
withReplicationGroups(java.util.Collection<ReplicationGroup> replicationGroups)
A list of replication groups.
|
DescribeReplicationGroupsResult |
withReplicationGroups(ReplicationGroup... replicationGroups)
A list of replication groups.
|
private java.lang.String marker
Provides an identifier to allow retrieval of paginated results.
private SdkInternalList<ReplicationGroup> replicationGroups
A list of replication groups. Each item in the list contains detailed information about one replication group.
public void setMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public java.lang.String getMarker()
Provides an identifier to allow retrieval of paginated results.
public DescribeReplicationGroupsResult withMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public java.util.List<ReplicationGroup> getReplicationGroups()
A list of replication groups. Each item in the list contains detailed information about one replication group.
public void setReplicationGroups(java.util.Collection<ReplicationGroup> replicationGroups)
A list of replication groups. Each item in the list contains detailed information about one replication group.
replicationGroups
- A list of replication groups. Each item in the list contains
detailed information about one replication group.public DescribeReplicationGroupsResult withReplicationGroups(ReplicationGroup... replicationGroups)
A list of replication groups. Each item in the list contains detailed information about one replication group.
NOTE: This method appends the values to the existing list (if
any). Use setReplicationGroups(java.util.Collection)
or
withReplicationGroups(java.util.Collection)
if you want to
override the existing values.
replicationGroups
- A list of replication groups. Each item in the list contains
detailed information about one replication group.public DescribeReplicationGroupsResult withReplicationGroups(java.util.Collection<ReplicationGroup> replicationGroups)
A list of replication groups. Each item in the list contains detailed information about one replication group.
replicationGroups
- A list of replication groups. Each item in the list contains
detailed information about one replication group.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeReplicationGroupsResult clone()
clone
in class java.lang.Object