@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailoverDBClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
FailoverDBClusterRequest() |
Modifier and Type | Method and Description |
---|---|
FailoverDBClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDBClusterIdentifier()
The identifier of the DB cluster to force a failover for.
|
String |
getTargetDBInstanceIdentifier()
The name of the DB instance to promote to the primary DB instance.
|
int |
hashCode() |
void |
setDBClusterIdentifier(String dBClusterIdentifier)
The identifier of the DB cluster to force a failover for.
|
void |
setTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
The name of the DB instance to promote to the primary DB instance.
|
String |
toString()
Returns a string representation of this object.
|
FailoverDBClusterRequest |
withDBClusterIdentifier(String dBClusterIdentifier)
The identifier of the DB cluster to force a failover for.
|
FailoverDBClusterRequest |
withTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
The name of the DB instance to promote to the primary DB instance.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDBClusterIdentifier(String 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.
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.
public String getDBClusterIdentifier()
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.
Constraints:
Must match the identifier of an existing DB cluster.
public FailoverDBClusterRequest withDBClusterIdentifier(String 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.
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.
public void setTargetDBInstanceIdentifier(String 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.
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.
public String getTargetDBInstanceIdentifier()
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.
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.
public FailoverDBClusterRequest withTargetDBInstanceIdentifier(String 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.
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.
public String toString()
toString
in class Object
Object.toString()
public FailoverDBClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()