public class DescribeCacheClustersRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
DescribeCacheClustersRequest()
Default constructor for a new DescribeCacheClustersRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheClusterId()
The user-supplied cluster identifier.
|
java.lang.String |
getMarker()
An optional marker provided in the previous DescribeCacheClusters
request.
|
java.lang.Integer |
getMaxRecords()
The maximum number of records to include in the response.
|
java.lang.Boolean |
getShowCacheNodeInfo()
An optional flag that can be included in the DescribeCacheCluster
request to retrieve Cache Nodes information.
|
int |
hashCode() |
java.lang.Boolean |
isShowCacheNodeInfo()
An optional flag that can be included in the DescribeCacheCluster
request to retrieve Cache Nodes information.
|
void |
setCacheClusterId(java.lang.String cacheClusterId)
The user-supplied cluster identifier.
|
void |
setMarker(java.lang.String marker)
An optional marker provided in the previous DescribeCacheClusters
request.
|
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of records to include in the response.
|
void |
setShowCacheNodeInfo(java.lang.Boolean showCacheNodeInfo)
An optional flag that can be included in the DescribeCacheCluster
request to retrieve Cache Nodes information.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCacheClustersRequest |
withCacheClusterId(java.lang.String cacheClusterId)
The user-supplied cluster identifier.
|
DescribeCacheClustersRequest |
withMarker(java.lang.String marker)
An optional marker provided in the previous DescribeCacheClusters
request.
|
DescribeCacheClustersRequest |
withMaxRecords(java.lang.Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeCacheClustersRequest |
withShowCacheNodeInfo(java.lang.Boolean showCacheNodeInfo)
An optional flag that can be included in the DescribeCacheCluster
request to retrieve Cache Nodes information.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DescribeCacheClustersRequest()
public java.lang.String getCacheClusterId()
public void setCacheClusterId(java.lang.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(java.lang.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 java.lang.Integer getMaxRecords()
Default: 100
Constraints: minimum 20, maximum 100
Default: 100
Constraints: minimum 20, maximum 100
public void setMaxRecords(java.lang.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(java.lang.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 java.lang.String getMarker()
public void setMarker(java.lang.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(java.lang.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 java.lang.Boolean isShowCacheNodeInfo()
public void setShowCacheNodeInfo(java.lang.Boolean showCacheNodeInfo)
showCacheNodeInfo - An optional flag that can be included in the DescribeCacheCluster
request to retrieve Cache Nodes information.public DescribeCacheClustersRequest withShowCacheNodeInfo(java.lang.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 java.lang.Boolean getShowCacheNodeInfo()
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object