Interface FailoverDbClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<FailoverDbClusterRequest.Builder,,FailoverDbClusterRequest> RdsRequest.Builder,SdkBuilder<FailoverDbClusterRequest.Builder,,FailoverDbClusterRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- FailoverDbClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptiondbClusterIdentifier(String dbClusterIdentifier) The identifier of the DB cluster to force a failover for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) targetDBInstanceIdentifier(String targetDBInstanceIdentifier) The name of the DB instance to promote to the primary DB instance.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dbClusterIdentifier
The identifier of the DB cluster to force a failover for. This parameter isn't case-sensitive.
Constraints:
-
Must match the identifier of an existing DB cluster.
- Parameters:
dbClusterIdentifier- The identifier of the DB cluster to force a failover for. This parameter isn't case-sensitive.Constraints:
-
Must match the identifier of an existing DB cluster.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetDBInstanceIdentifier
The name of the DB instance to promote to the primary DB instance.
Specify the DB instance identifier for an Aurora Replica or a Multi-AZ readable standby in the DB cluster, for example
mydbcluster-replica1.This setting isn't supported for RDS for MySQL Multi-AZ DB clusters.
- Parameters:
targetDBInstanceIdentifier- The name of the DB instance to promote to the primary DB instance.Specify the DB instance identifier for an Aurora Replica or a Multi-AZ readable standby in the DB cluster, for example
mydbcluster-replica1.This setting isn't supported for RDS for MySQL Multi-AZ DB clusters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
FailoverDbClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
FailoverDbClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-