Class RebootCacheClusterRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of a RebootCacheCluster action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for RebootCacheClusterRequest object.RebootCacheClusterRequest
(String cacheClusterId, List<String> cacheNodeIdsToReboot) Constructs a new RebootCacheClusterRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The cache cluster identifier.A list of cache node IDs to reboot.int
hashCode()
void
setCacheClusterId
(String cacheClusterId) The cache cluster identifier.void
setCacheNodeIdsToReboot
(Collection<String> cacheNodeIdsToReboot) A list of cache node IDs to reboot.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheClusterId
(String cacheClusterId) The cache cluster identifier.withCacheNodeIdsToReboot
(String... cacheNodeIdsToReboot) A list of cache node IDs to reboot.withCacheNodeIdsToReboot
(Collection<String> cacheNodeIdsToReboot) A list of cache node IDs to reboot.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
-
Constructor Details
-
RebootCacheClusterRequest
public RebootCacheClusterRequest()Default constructor for RebootCacheClusterRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
RebootCacheClusterRequest
Constructs a new RebootCacheClusterRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
cacheClusterId
- The cache cluster identifier. This parameter is stored as a lowercase string.cacheNodeIdsToReboot
- A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
-
-
Method Details
-
setCacheClusterId
The cache cluster identifier. This parameter is stored as a lowercase string.
- Parameters:
cacheClusterId
- The cache cluster identifier. This parameter is stored as a lowercase string.
-
getCacheClusterId
The cache cluster identifier. This parameter is stored as a lowercase string.
- Returns:
- The cache cluster identifier. This parameter is stored as a lowercase string.
-
withCacheClusterId
The cache cluster identifier. This parameter is stored as a lowercase string.
- Parameters:
cacheClusterId
- The cache cluster identifier. This parameter is stored as a lowercase string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCacheNodeIdsToReboot
A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
- Returns:
- A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
-
setCacheNodeIdsToReboot
A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
- Parameters:
cacheNodeIdsToReboot
- A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
-
withCacheNodeIdsToReboot
A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
NOTE: This method appends the values to the existing list (if any). Use
setCacheNodeIdsToReboot(java.util.Collection)
orwithCacheNodeIdsToReboot(java.util.Collection)
if you want to override the existing values.- Parameters:
cacheNodeIdsToReboot
- A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCacheNodeIdsToReboot
A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
- Parameters:
cacheNodeIdsToReboot
- A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-