Class RebootCacheClusterRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticache.model.RebootCacheClusterRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RebootCacheClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a RebootCacheCluster action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RebootCacheClusterRequest()
Default constructor for RebootCacheClusterRequest object.RebootCacheClusterRequest(String cacheClusterId, List<String> cacheNodeIdsToReboot)
Constructs a new RebootCacheClusterRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RebootCacheClusterRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCacheClusterId()
The cache cluster identifier.List<String>
getCacheNodeIdsToReboot()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.RebootCacheClusterRequest
withCacheClusterId(String cacheClusterId)
The cache cluster identifier.RebootCacheClusterRequest
withCacheNodeIdsToReboot(String... cacheNodeIdsToReboot)
A list of cache node IDs to reboot.RebootCacheClusterRequest
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 Detail
-
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
public RebootCacheClusterRequest(String cacheClusterId, List<String> cacheNodeIdsToReboot)
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 Detail
-
setCacheClusterId
public void setCacheClusterId(String cacheClusterId)
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
public 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
public RebootCacheClusterRequest withCacheClusterId(String cacheClusterId)
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
public List<String> 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
public void setCacheNodeIdsToReboot(Collection<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.
- 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
public RebootCacheClusterRequest withCacheNodeIdsToReboot(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.
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
public RebootCacheClusterRequest withCacheNodeIdsToReboot(Collection<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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RebootCacheClusterRequest 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:
Object.clone()
-
-