Class DescribeReplicationGroupsResult
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.DescribeReplicationGroupsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeReplicationGroupsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeReplicationGroups action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeReplicationGroupsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; useful for testing and debugging.DescribeReplicationGroupsResult
withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.DescribeReplicationGroupsResult
withReplicationGroups(ReplicationGroup... replicationGroups)
A list of replication groups.DescribeReplicationGroupsResult
withReplicationGroups(Collection<ReplicationGroup> replicationGroups)
A list of replication groups.
-
-
-
Method Detail
-
setMarker
public void setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
- Parameters:
marker
- Provides an identifier to allow retrieval of paginated results.
-
getMarker
public String getMarker()
Provides an identifier to allow retrieval of paginated results.
- Returns:
- Provides an identifier to allow retrieval of paginated results.
-
withMarker
public DescribeReplicationGroupsResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
- Parameters:
marker
- Provides an identifier to allow retrieval of paginated results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getReplicationGroups
public List<ReplicationGroup> getReplicationGroups()
A list of replication groups. Each item in the list contains detailed information about one replication group.
- Returns:
- A list of replication groups. Each item in the list contains detailed information about one replication group.
-
setReplicationGroups
public void setReplicationGroups(Collection<ReplicationGroup> replicationGroups)
A list of replication groups. Each item in the list contains detailed information about one replication group.
- Parameters:
replicationGroups
- A list of replication groups. Each item in the list contains detailed information about one replication group.
-
withReplicationGroups
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)
orwithReplicationGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
replicationGroups
- A list of replication groups. Each item in the list contains detailed information about one replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withReplicationGroups
public DescribeReplicationGroupsResult withReplicationGroups(Collection<ReplicationGroup> replicationGroups)
A list of replication groups. Each item in the list contains detailed information about one replication group.
- Parameters:
replicationGroups
- A list of replication groups. Each item in the list contains detailed information about one replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReplicationGroupsResult clone()
-
-