|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticache.model.DescribeCacheClustersRequest
public class DescribeCacheClustersRequest
Container for the parameters to 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.
Cluster information will be returned by default. An optional ShowDetails flag can be used to retrieve detailed information about the Cache Nodes associated with the Cache Cluster. 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.
While adding Cache Nodes, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. The cluster lifecycle tells the customer when new nodes are AVAILABLE.
While removing existing Cache Nodes from an cluster, endpoint information for the removed nodes will not be displayed.
DescribeCacheClusters supports pagination.
AmazonElastiCache.describeCacheClusters(DescribeCacheClustersRequest)
,
Serialized FormConstructor Summary | |
---|---|
DescribeCacheClustersRequest()
Default constructor for a new DescribeCacheClustersRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCacheClusterId()
The user-supplied cluster identifier. |
String |
getMarker()
An optional marker provided in the previous DescribeCacheClusters 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 Cache Nodes information. |
int |
hashCode()
|
Boolean |
isShowCacheNodeInfo()
An optional flag that can be included in the DescribeCacheCluster request to retrieve Cache Nodes information. |
void |
setCacheClusterId(String cacheClusterId)
The user-supplied cluster identifier. |
void |
setMarker(String marker)
An optional marker provided in the previous DescribeCacheClusters 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 Cache Nodes information. |
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 provided in the previous DescribeCacheClusters 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 Cache Nodes information. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeCacheClustersRequest()
Method Detail |
---|
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()
Default: 100
Constraints: minimum 20, maximum 100
Default: 100
Constraints: minimum 20, maximum 100
public void setMaxRecords(Integer maxRecords)
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 may be
retrieved. Default: 100
Constraints: minimum 20, maximum 100
public DescribeCacheClustersRequest withMaxRecords(Integer maxRecords)
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 may be
retrieved. Default: 100
Constraints: minimum 20, maximum 100
public String getMarker()
public void setMarker(String marker)
marker
- An optional marker provided in the previous DescribeCacheClusters
request. 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 provided in the previous DescribeCacheClusters
request. 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 Cache Nodes information.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 Cache Nodes information.
public Boolean getShowCacheNodeInfo()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |