public class RebootCacheClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a RebootCacheCluster action.
NOOP
Constructor and Description |
---|
RebootCacheClusterRequest()
Default constructor for RebootCacheClusterRequest object.
|
RebootCacheClusterRequest(String cacheClusterId,
List<String> cacheNodeIdsToReboot)
Constructs a new RebootCacheClusterRequest object.
|
Modifier and Type | Method and Description |
---|---|
RebootCacheClusterRequest |
clone() |
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(Collection<String> cacheNodeIdsToReboot)
A list of cache node IDs to reboot.
|
RebootCacheClusterRequest |
withCacheNodeIdsToReboot(String... cacheNodeIdsToReboot)
A list of cache node IDs to reboot.
|
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
public RebootCacheClusterRequest()
public RebootCacheClusterRequest(String cacheClusterId, List<String> cacheNodeIdsToReboot)
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.public void setCacheClusterId(String cacheClusterId)
The cache cluster identifier. This parameter is stored as a lowercase string.
cacheClusterId
- The cache cluster identifier. This parameter is stored as a
lowercase string.public String getCacheClusterId()
The cache cluster identifier. This parameter is stored as a lowercase string.
public RebootCacheClusterRequest withCacheClusterId(String cacheClusterId)
The cache cluster identifier. This parameter is stored as a lowercase string.
cacheClusterId
- The cache cluster identifier. This parameter is stored as a
lowercase string.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.
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.
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.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)
or
withCacheNodeIdsToReboot(java.util.Collection)
if you want to
override the existing values.
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.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.
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.public String toString()
toString
in class Object
Object.toString()
public RebootCacheClusterRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.