Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class RebootCacheClusterRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticache.model.RebootCacheClusterRequest
All Implemented Interfaces:
Serializable

public class RebootCacheClusterRequest
extends AmazonWebServiceRequest
implements Serializable

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.

See Also:
AmazonElastiCache.rebootCacheCluster(RebootCacheClusterRequest), Serialized Form

Constructor 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

RebootCacheClusterRequest

public RebootCacheClusterRequest()
Default constructor for a new RebootCacheClusterRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


RebootCacheClusterRequest

public RebootCacheClusterRequest(String cacheClusterId,
                                 List<String> cacheNodeIdsToReboot)
Constructs a new RebootCacheClusterRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
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

getCacheClusterId

public String getCacheClusterId()
The Cache Cluster identifier. This parameter is stored as a lowercase string.

Returns:
The Cache Cluster identifier. This parameter is stored as a lowercase string.

setCacheClusterId

public void setCacheClusterId(String cacheClusterId)
The Cache Cluster identifier. This parameter is stored as a lowercase string.

Parameters:
cacheClusterId - The Cache Cluster identifier. This parameter is stored as a lowercase string.

withCacheClusterId

public RebootCacheClusterRequest withCacheClusterId(String cacheClusterId)
The Cache Cluster identifier. This parameter is stored as a lowercase string.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheClusterId - The Cache Cluster identifier. This parameter is stored as a lowercase string.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodeIdsToReboot

public List<String> getCacheNodeIdsToReboot()
A list of Cache Cluster Node Ids to reboot. To reboot an entire cache cluster, specify all cache cluster node Ids.

Returns:
A list of Cache Cluster Node Ids to reboot. To reboot an entire cache cluster, specify all cache cluster node Ids.

setCacheNodeIdsToReboot

public void setCacheNodeIdsToReboot(Collection<String> cacheNodeIdsToReboot)
A list of Cache Cluster Node Ids to reboot. To reboot an entire cache cluster, specify all cache cluster node Ids.

Parameters:
cacheNodeIdsToReboot - A list of Cache Cluster Node Ids to reboot. To reboot an entire cache cluster, specify all cache cluster node Ids.

withCacheNodeIdsToReboot

public RebootCacheClusterRequest withCacheNodeIdsToReboot(String... cacheNodeIdsToReboot)
A list of Cache Cluster Node Ids to reboot. To reboot an entire cache cluster, specify all cache cluster node Ids.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheNodeIdsToReboot - A list of Cache Cluster Node Ids to reboot. To reboot an entire cache cluster, specify all cache cluster node Ids.
Returns:
A reference to this updated object so that method calls can be chained together.

withCacheNodeIdsToReboot

public RebootCacheClusterRequest withCacheNodeIdsToReboot(Collection<String> cacheNodeIdsToReboot)
A list of Cache Cluster Node Ids to reboot. To reboot an entire cache cluster, specify all cache cluster node Ids.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheNodeIdsToReboot - A list of Cache Cluster Node Ids to reboot. To reboot an entire cache cluster, specify all cache cluster node Ids.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.