com.amazonaws.services.elasticache.model
Class DescribeReplicationGroupsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticache.model.DescribeReplicationGroupsRequest
All Implemented Interfaces:
Serializable

public class DescribeReplicationGroupsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeReplicationGroups operation.

The DescribeReplicationGroups operation returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.

See Also:
AmazonElastiCache.describeReplicationGroups(DescribeReplicationGroupsRequest), Serialized Form

Constructor Summary
DescribeReplicationGroupsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getMarker()
          An optional marker returned from a prior request.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 String getReplicationGroupId()
          The identifier for the replication group to be described.
 int hashCode()
           
 void setMarker(String marker)
          An optional marker returned from a prior request.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 void setReplicationGroupId(String replicationGroupId)
          The identifier for the replication group to be described.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeReplicationGroupsRequest withMarker(String marker)
          An optional marker returned from a prior request.
 DescribeReplicationGroupsRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 DescribeReplicationGroupsRequest withReplicationGroupId(String replicationGroupId)
          The identifier for the replication group to be described.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeReplicationGroupsRequest

public DescribeReplicationGroupsRequest()
Method Detail

getReplicationGroupId

public String getReplicationGroupId()
The identifier for the replication group to be described. This parameter is not case sensitive.

If you do not specify this parameter, information about all replication groups is returned.

Returns:
The identifier for the replication group to be described. This parameter is not case sensitive.

If you do not specify this parameter, information about all replication groups is returned.


setReplicationGroupId

public void setReplicationGroupId(String replicationGroupId)
The identifier for the replication group to be described. This parameter is not case sensitive.

If you do not specify this parameter, information about all replication groups is returned.

Parameters:
replicationGroupId - The identifier for the replication group to be described. This parameter is not case sensitive.

If you do not specify this parameter, information about all replication groups is returned.


withReplicationGroupId

public DescribeReplicationGroupsRequest withReplicationGroupId(String replicationGroupId)
The identifier for the replication group to be described. This parameter is not case sensitive.

If you do not specify this parameter, information about all replication groups is returned.

Returns a reference to this object so that method calls can be chained together.

Parameters:
replicationGroupId - The identifier for the replication group to be described. This parameter is not case sensitive.

If you do not specify this parameter, information about all replication groups is returned.

Returns:
A reference to this updated object so that method calls can be chained together.

getMaxRecords

public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.

Returns:
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.


setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.


withMaxRecords

public DescribeReplicationGroupsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.

Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns:
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

setMarker

public void setMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Parameters:
marker - An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

withMarker

public DescribeReplicationGroupsRequest withMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns a reference to this object so that method calls can be chained together.

Parameters:
marker - An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.