|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticache.model.RebootCacheClusterRequest
public class RebootCacheClusterRequest
Container for the parameters to the RebootCacheCluster operation
.
Reboots some (or all) of the cache cluster nodes within a previously provisioned ElastiCache cluster. This API results in the application of modified CacheParameterGroup parameters to the cache cluster. This action is taken as soon as possible, and results in a momentary outage to the cache cluster during which the cache cluster status is set to rebooting. During that momentary outage, the contents of the cache (for each cache cluster node being rebooted) are lost. A CacheCluster event is created when the reboot is completed.
AmazonElastiCache.rebootCacheCluster(RebootCacheClusterRequest)
,
Serialized FormConstructor Summary | |
---|---|
RebootCacheClusterRequest()
Default constructor for a new RebootCacheClusterRequest object. |
|
RebootCacheClusterRequest(String cacheClusterId,
List<String> cacheNodeIdsToReboot)
Constructs a new RebootCacheClusterRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCacheClusterId()
The Cache Cluster identifier. |
List<String> |
getCacheNodeIdsToReboot()
A list of Cache Cluster Node Ids to reboot. |
int |
hashCode()
|
void |
setCacheClusterId(String cacheClusterId)
The Cache Cluster identifier. |
void |
setCacheNodeIdsToReboot(Collection<String> cacheNodeIdsToReboot)
A list of Cache Cluster 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 Cluster Node Ids to reboot. |
RebootCacheClusterRequest |
withCacheNodeIdsToReboot(String... cacheNodeIdsToReboot)
A list of Cache Cluster Node Ids to reboot. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 Cluster Node Ids to
reboot. To reboot an entire cache cluster, specify all cache cluster
node Ids.Method Detail |
---|
public String getCacheClusterId()
public void setCacheClusterId(String cacheClusterId)
cacheClusterId
- The Cache Cluster identifier. This parameter is stored as a lowercase
string.public RebootCacheClusterRequest withCacheClusterId(String cacheClusterId)
Returns a reference to this object so that method calls can be chained together.
cacheClusterId
- The Cache Cluster identifier. This parameter is stored as a lowercase
string.
public List<String> getCacheNodeIdsToReboot()
public void setCacheNodeIdsToReboot(Collection<String> cacheNodeIdsToReboot)
cacheNodeIdsToReboot
- A list of Cache Cluster Node Ids to reboot. To reboot an entire cache
cluster, specify all cache cluster node Ids.public RebootCacheClusterRequest withCacheNodeIdsToReboot(String... cacheNodeIdsToReboot)
Returns a reference to this object so that method calls can be chained together.
cacheNodeIdsToReboot
- A list of Cache Cluster Node Ids to reboot. To reboot an entire cache
cluster, specify all cache cluster node Ids.
public RebootCacheClusterRequest withCacheNodeIdsToReboot(Collection<String> cacheNodeIdsToReboot)
Returns a reference to this object so that method calls can be chained together.
cacheNodeIdsToReboot
- A list of Cache Cluster Node Ids to reboot. To reboot an entire cache
cluster, specify all cache cluster node Ids.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |