@Generated(value="software.amazon.awssdk:codegen") public final class RebootCacheClusterRequest extends ElastiCacheRequest implements ToCopyableBuilder<RebootCacheClusterRequest.Builder,RebootCacheClusterRequest>
Represents the input of a RebootCacheCluster operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RebootCacheClusterRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RebootCacheClusterRequest.Builder |
builder() |
String |
cacheClusterId()
The cluster identifier.
|
List<String> |
cacheNodeIdsToReboot()
A list of cache node IDs to reboot.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCacheNodeIdsToReboot()
Returns true if the CacheNodeIdsToReboot property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RebootCacheClusterRequest.Builder> |
serializableBuilderClass() |
RebootCacheClusterRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String cacheClusterId()
The cluster identifier. This parameter is stored as a lowercase string.
public final boolean hasCacheNodeIdsToReboot()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCacheNodeIdsToReboot() to see if a value was sent in this field.
public RebootCacheClusterRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RebootCacheClusterRequest.Builder,RebootCacheClusterRequest>toBuilder in class ElastiCacheRequestpublic static RebootCacheClusterRequest.Builder builder()
public static Class<? extends RebootCacheClusterRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.