public class RebootCacheClusterRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
RebootCacheClusterRequest()
Default constructor for a new RebootCacheClusterRequest object.
|
RebootCacheClusterRequest(java.lang.String cacheClusterId,
java.util.List<java.lang.String> cacheNodeIdsToReboot)
Constructs a new RebootCacheClusterRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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 Cluster 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 Cluster 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 Cluster Node Ids to reboot.
|
RebootCacheClusterRequest |
withCacheNodeIdsToReboot(java.lang.String... cacheNodeIdsToReboot)
A list of Cache Cluster Node Ids to reboot.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic 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 Cluster Node Ids to
reboot. To reboot an entire cache cluster, specify all cache cluster
node Ids.public java.lang.String getCacheClusterId()
public void setCacheClusterId(java.lang.String cacheClusterId)
cacheClusterId - The Cache Cluster identifier. This parameter is stored as a lowercase
string.public RebootCacheClusterRequest withCacheClusterId(java.lang.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 java.util.List<java.lang.String> getCacheNodeIdsToReboot()
public void setCacheNodeIdsToReboot(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object