Class DescribeCacheClustersRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticache.model.DescribeCacheClustersRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeCacheClustersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a DescribeCacheClusters action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeCacheClustersRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeCacheClustersRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetCacheClusterId()The user-supplied cluster identifier.StringgetMarker()An optional marker returned from a prior request.IntegergetMaxRecords()The maximum number of records to include in the response.BooleangetShowCacheNodeInfo()An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.inthashCode()BooleanisShowCacheNodeInfo()An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.voidsetCacheClusterId(String cacheClusterId)The user-supplied cluster identifier.voidsetMarker(String marker)An optional marker returned from a prior request.voidsetMaxRecords(Integer maxRecords)The maximum number of records to include in the response.voidsetShowCacheNodeInfo(Boolean showCacheNodeInfo)An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeCacheClustersRequestwithCacheClusterId(String cacheClusterId)The user-supplied cluster identifier.DescribeCacheClustersRequestwithMarker(String marker)An optional marker returned from a prior request.DescribeCacheClustersRequestwithMaxRecords(Integer maxRecords)The maximum number of records to include in the response.DescribeCacheClustersRequestwithShowCacheNodeInfo(Boolean showCacheNodeInfo)An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setCacheClusterId
public void setCacheClusterId(String 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.
- Parameters:
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.
-
getCacheClusterId
public String getCacheClusterId()
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.
- Returns:
- 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.
-
withCacheClusterId
public DescribeCacheClustersRequest withCacheClusterId(String 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxRecords
public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, 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 specifiedMaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
-
getMaxRecords
public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, 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
MaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
-
withMaxRecords
public DescribeCacheClustersRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, 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 specifiedMaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this action. 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 action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
-
getMarker
public String getMarker()
An optional marker returned from a prior request. Use this marker for pagination of results from this action. 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 action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
-
withMarker
public DescribeCacheClustersRequest withMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this action. 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 action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setShowCacheNodeInfo
public void setShowCacheNodeInfo(Boolean showCacheNodeInfo)
An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.
- Parameters:
showCacheNodeInfo- An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.
-
getShowCacheNodeInfo
public Boolean getShowCacheNodeInfo()
An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.
- Returns:
- An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.
-
withShowCacheNodeInfo
public DescribeCacheClustersRequest withShowCacheNodeInfo(Boolean showCacheNodeInfo)
An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.
- Parameters:
showCacheNodeInfo- An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isShowCacheNodeInfo
public Boolean isShowCacheNodeInfo()
An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.
- Returns:
- An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeCacheClustersRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-