@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReplicationGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a DescribeReplicationGroups
operation.
Constructor and Description |
---|
DescribeReplicationGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReplicationGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
List<ReplicationGroup> |
getReplicationGroups()
A list of replication groups.
|
int |
hashCode() |
void |
setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
void |
setReplicationGroups(Collection<ReplicationGroup> replicationGroups)
A list of replication groups.
|
String |
toString()
Returns a string representation of this object.
|
DescribeReplicationGroupsResult |
withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
DescribeReplicationGroupsResult |
withReplicationGroups(Collection<ReplicationGroup> replicationGroups)
A list of replication groups.
|
DescribeReplicationGroupsResult |
withReplicationGroups(ReplicationGroup... replicationGroups)
A list of replication groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public String getMarker()
Provides an identifier to allow retrieval of paginated results.
public DescribeReplicationGroupsResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public List<ReplicationGroup> getReplicationGroups()
A list of replication groups. Each item in the list contains detailed information about one replication group.
public void setReplicationGroups(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(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 String toString()
toString
in class Object
Object.toString()
public DescribeReplicationGroupsResult clone()