public class RebootCacheClusterRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a RebootCacheCluster action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cacheClusterId
The cache cluster identifier.
|
private SdkInternalList<java.lang.String> |
cacheNodeIdsToReboot
A list of cache node IDs to reboot.
|
NOOP
Constructor and Description |
---|
RebootCacheClusterRequest()
Default constructor for RebootCacheClusterRequest object.
|
RebootCacheClusterRequest(java.lang.String cacheClusterId,
java.util.List<java.lang.String> cacheNodeIdsToReboot)
Constructs a new RebootCacheClusterRequest object.
|
Modifier and Type | Method and Description |
---|---|
RebootCacheClusterRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheClusterId()
The cache cluster identifier.
|
java.util.List<java.lang.String> |
getCacheNodeIdsToReboot()
A list of cache node IDs to reboot.
|
int |
hashCode() |
void |
setCacheClusterId(java.lang.String cacheClusterId)
The cache cluster identifier.
|
void |
setCacheNodeIdsToReboot(java.util.Collection<java.lang.String> cacheNodeIdsToReboot)
A list of cache node IDs to reboot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RebootCacheClusterRequest |
withCacheClusterId(java.lang.String cacheClusterId)
The cache cluster identifier.
|
RebootCacheClusterRequest |
withCacheNodeIdsToReboot(java.util.Collection<java.lang.String> cacheNodeIdsToReboot)
A list of cache node IDs to reboot.
|
RebootCacheClusterRequest |
withCacheNodeIdsToReboot(java.lang.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
private java.lang.String cacheClusterId
The cache cluster identifier. This parameter is stored as a lowercase string.
private SdkInternalList<java.lang.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 RebootCacheClusterRequest()
public RebootCacheClusterRequest(java.lang.String cacheClusterId, java.util.List<java.lang.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(java.lang.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 java.lang.String getCacheClusterId()
The cache cluster identifier. This parameter is stored as a lowercase string.
public RebootCacheClusterRequest withCacheClusterId(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RebootCacheClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()