@Generated(value="software.amazon.awssdk:codegen") public final class TestFailoverRequest extends ElastiCacheRequest implements ToCopyableBuilder<TestFailoverRequest.Builder,TestFailoverRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
TestFailoverRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static TestFailoverRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
nodeGroupId()
The name of the node group (called shard in the console) in this replication group on which automatic failover is
to be tested.
|
String |
replicationGroupId()
The name of the replication group (console: cluster) whose automatic failover is being tested by this operation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TestFailoverRequest.Builder> |
serializableBuilderClass() |
TestFailoverRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String replicationGroupId()
The name of the replication group (console: cluster) whose automatic failover is being tested by this operation.
public String nodeGroupId()
The name of the node group (called shard in the console) in this replication group on which automatic failover is to be tested. You may test automatic failover on up to 5 node groups in any rolling 24-hour period.
public TestFailoverRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TestFailoverRequest.Builder,TestFailoverRequest>
toBuilder
in class ElastiCacheRequest
public static TestFailoverRequest.Builder builder()
public static Class<? extends TestFailoverRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.