@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 cluster identifier.
|
List<String> |
getCacheNodeIdsToReboot()
A list of cache node IDs to reboot.
|
int |
hashCode() |
void |
setCacheClusterId(String cacheClusterId)
The cluster identifier.
|
void |
setCacheNodeIdsToReboot(Collection<String> cacheNodeIdsToReboot)
A list of cache node IDs to reboot.
|
String |
toString()
Returns a string representation of this object.
|
RebootCacheClusterRequest |
withCacheClusterId(String cacheClusterId)
The 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, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public RebootCacheClusterRequest()
public RebootCacheClusterRequest(String cacheClusterId, List<String> cacheNodeIdsToReboot)
cacheClusterId
- The 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 cluster, specify all of the cache node IDs.public void setCacheClusterId(String cacheClusterId)
The cluster identifier. This parameter is stored as a lowercase string.
cacheClusterId
- The cluster identifier. This parameter is stored as a lowercase string.public String getCacheClusterId()
The cluster identifier. This parameter is stored as a lowercase string.
public RebootCacheClusterRequest withCacheClusterId(String cacheClusterId)
The cluster identifier. This parameter is stored as a lowercase string.
cacheClusterId
- The 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 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 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 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 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 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 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 cluster, specify all of the cache node IDs.public String toString()
toString
in class Object
Object.toString()
public RebootCacheClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()