Class RebootReplicationInstanceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest
-
- software.amazon.awssdk.services.databasemigration.model.RebootReplicationInstanceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RebootReplicationInstanceRequest.Builder,RebootReplicationInstanceRequest>
@Generated("software.amazon.awssdk:codegen") public final class RebootReplicationInstanceRequest extends DatabaseMigrationRequest implements ToCopyableBuilder<RebootReplicationInstanceRequest.Builder,RebootReplicationInstanceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRebootReplicationInstanceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RebootReplicationInstanceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanforceFailover()If this parameter istrue, the reboot is conducted through a Multi-AZ failover.BooleanforcePlannedFailover()If this parameter istrue, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringreplicationInstanceArn()The Amazon Resource Name (ARN) of the replication instance.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RebootReplicationInstanceRequest.Builder>serializableBuilderClass()RebootReplicationInstanceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
replicationInstanceArn
public final String replicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
- Returns:
- The Amazon Resource Name (ARN) of the replication instance.
-
forceFailover
public final Boolean forceFailover()
If this parameter is
true, the reboot is conducted through a Multi-AZ failover. If the instance isn't configured for Multi-AZ, then you can't specifytrue. (--force-planned-failoverand--force-failovercan't both be set totrue.)- Returns:
- If this parameter is
true, the reboot is conducted through a Multi-AZ failover. If the instance isn't configured for Multi-AZ, then you can't specifytrue. (--force-planned-failoverand--force-failovercan't both be set totrue.)
-
forcePlannedFailover
public final Boolean forcePlannedFailover()
If this parameter is
true, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover. If the instance isn''t configured for Multi-AZ, then you can't specifytrue. (--force-planned-failoverand--force-failovercan't both be set totrue.)- Returns:
- If this parameter is
true, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover. If the instance isn''t configured for Multi-AZ, then you can't specifytrue. (--force-planned-failoverand--force-failovercan't both be set totrue.)
-
toBuilder
public RebootReplicationInstanceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RebootReplicationInstanceRequest.Builder,RebootReplicationInstanceRequest>- Specified by:
toBuilderin classDatabaseMigrationRequest
-
builder
public static RebootReplicationInstanceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RebootReplicationInstanceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-