public class DescribeCacheClustersRequest extends AmazonWebServiceRequest implements Serializable
DescribeCacheClusters operation
.
The DescribeCacheClusters operation returns information about all provisioned cache clusters if no cache cluster identifier is specified, or about a specific cache cluster if a cache cluster identifier is supplied.
By default, abbreviated information about the cache clusters(s) will be returned. You can use the optional ShowDetails flag to retrieve detailed information about the cache nodes associated with the cache clusters. These details include the DNS address and port for the cache node endpoint.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
If cache nodes are currently being added to the cache cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the cache cluster state is available , the cluster is ready for use.
If cache nodes are currently being removed from the cache cluster, no endpoint information for the removed nodes is displayed.
NOOP
Constructor and Description |
---|
DescribeCacheClustersRequest()
Default constructor for a new DescribeCacheClustersRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCacheClusterId()
The user-supplied cluster identifier.
|
String |
getMarker()
An optional marker returned from a prior request.
|
Integer |
getMaxRecords()
The maximum number of records to include in the response.
|
Boolean |
getShowCacheNodeInfo()
An optional flag that can be included in the DescribeCacheCluster
request to retrieve information about the individual cache nodes.
|
int |
hashCode() |
Boolean |
isShowCacheNodeInfo()
An optional flag that can be included in the DescribeCacheCluster
request to retrieve information about the individual cache nodes.
|
void |
setCacheClusterId(String cacheClusterId)
The user-supplied cluster identifier.
|
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 |
setShowCacheNodeInfo(Boolean showCacheNodeInfo)
An optional flag that can be included in the DescribeCacheCluster
request to retrieve information about the individual cache nodes.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCacheClustersRequest |
withCacheClusterId(String cacheClusterId)
The user-supplied cluster identifier.
|
DescribeCacheClustersRequest |
withMarker(String marker)
An optional marker returned from a prior request.
|
DescribeCacheClustersRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeCacheClustersRequest |
withShowCacheNodeInfo(Boolean showCacheNodeInfo)
An optional flag that can be included in the DescribeCacheCluster
request to retrieve information about the individual cache nodes.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeCacheClustersRequest()
public String getCacheClusterId()
public void setCacheClusterId(String cacheClusterId)
cacheClusterId
- The user-supplied cluster identifier. If this parameter is specified,
only information about that specific cache cluster is returned. This
parameter isn't case sensitive.public DescribeCacheClustersRequest withCacheClusterId(String cacheClusterId)
Returns a reference to this object so that method calls can be chained together.
cacheClusterId
- The user-supplied cluster identifier. If this parameter is specified,
only information about that specific cache cluster is returned. This
parameter isn't case sensitive.public Integer getMaxRecords()
MaxRecords
value, a
marker is included in the response so that the remaining results can
be retrieved. Default: 100
Constraints: minimum 20; maximum 100.
MaxRecords
value, a
marker is included in the response so that the remaining results can
be retrieved. Default: 100
Constraints: minimum 20; maximum 100.
public void setMaxRecords(Integer maxRecords)
MaxRecords
value, a
marker is included in the response so that the remaining results can
be retrieved. Default: 100
Constraints: minimum 20; maximum 100.
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.
public DescribeCacheClustersRequest withMaxRecords(Integer maxRecords)
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.
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.
public String getMarker()
public void setMarker(String marker)
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.public DescribeCacheClustersRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
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.public Boolean isShowCacheNodeInfo()
public void setShowCacheNodeInfo(Boolean showCacheNodeInfo)
showCacheNodeInfo
- An optional flag that can be included in the DescribeCacheCluster
request to retrieve information about the individual cache nodes.public DescribeCacheClustersRequest withShowCacheNodeInfo(Boolean showCacheNodeInfo)
Returns a reference to this object so that method calls can be chained together.
showCacheNodeInfo
- An optional flag that can be included in the DescribeCacheCluster
request to retrieve information about the individual cache nodes.public Boolean getShowCacheNodeInfo()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.