@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RebootCacheClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a RebootCacheCluster operation.
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()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 ObjectObject.toString()public RebootCacheClusterRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.