Interface FailoverDbClusterRequest.Builder

    • Method Detail

      • dbClusterIdentifier

        FailoverDbClusterRequest.Builder dbClusterIdentifier​(String dbClusterIdentifier)

        A cluster identifier to force a failover for. This parameter is not case sensitive.

        Constraints:

        • Must match the identifier of an existing DBCluster.

        Parameters:
        dbClusterIdentifier - A cluster identifier to force a failover for. This parameter is not case sensitive.

        Constraints:

        • Must match the identifier of an existing DBCluster.

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

        FailoverDbClusterRequest.Builder targetDBInstanceIdentifier​(String targetDBInstanceIdentifier)

        The name of the instance to promote to the primary instance.

        You must specify the instance identifier for an Amazon DocumentDB replica in the cluster. For example, mydbcluster-replica1.

        Parameters:
        targetDBInstanceIdentifier - The name of the instance to promote to the primary instance.

        You must specify the instance identifier for an Amazon DocumentDB replica in the cluster. For example, mydbcluster-replica1.

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