Interface FailoverGlobalClusterRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<FailoverGlobalClusterRequest.Builder,FailoverGlobalClusterRequest>, RdsRequest.Builder, SdkBuilder<FailoverGlobalClusterRequest.Builder,FailoverGlobalClusterRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
FailoverGlobalClusterRequest

public static interface FailoverGlobalClusterRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<FailoverGlobalClusterRequest.Builder,FailoverGlobalClusterRequest>
  • Method Details

    • globalClusterIdentifier

      FailoverGlobalClusterRequest.Builder globalClusterIdentifier(String globalClusterIdentifier)

      The identifier of the global database cluster (Aurora global database) this operation should apply to. The identifier is the unique key assigned by the user when the Aurora global database is created. In other words, it's the name of the Aurora global database.

      Constraints:

      • Must match the identifier of an existing global database cluster.

      Parameters:
      globalClusterIdentifier - The identifier of the global database cluster (Aurora global database) this operation should apply to. The identifier is the unique key assigned by the user when the Aurora global database is created. In other words, it's the name of the Aurora global database.

      Constraints:

      • Must match the identifier of an existing global database cluster.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetDbClusterIdentifier

      FailoverGlobalClusterRequest.Builder targetDbClusterIdentifier(String targetDbClusterIdentifier)

      The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Aurora can locate the cluster in its Amazon Web Services Region.

      Parameters:
      targetDbClusterIdentifier - The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Aurora can locate the cluster in its Amazon Web Services Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowDataLoss

      FailoverGlobalClusterRequest.Builder allowDataLoss(Boolean allowDataLoss)

      Specifies whether to allow data loss for this global database cluster operation. Allowing data loss triggers a global failover operation.

      If you don't specify AllowDataLoss, the global database cluster operation defaults to a switchover.

      Constraints:

      • Can't be specified together with the Switchover parameter.

      Parameters:
      allowDataLoss - Specifies whether to allow data loss for this global database cluster operation. Allowing data loss triggers a global failover operation.

      If you don't specify AllowDataLoss, the global database cluster operation defaults to a switchover.

      Constraints:

      • Can't be specified together with the Switchover parameter.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • switchover

      Specifies whether to switch over this global database cluster.

      Constraints:

      • Can't be specified together with the AllowDataLoss parameter.

      Parameters:
      switchover - Specifies whether to switch over this global database cluster.

      Constraints:

      • Can't be specified together with the AllowDataLoss parameter.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      FailoverGlobalClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.