@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() |
boolean |
equals(Object obj) |
String |
getDBClusterIdentifier()
A DB cluster identifier 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)
A DB cluster identifier 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)
A DB cluster identifier to force a failover for.
|
FailoverDBClusterRequest |
withTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
The name of the DB instance to promote to the primary DB instance.
|
addHandlerContext, copyBaseTo, 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)
A DB cluster identifier to force a failover for. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
dBClusterIdentifier
- A DB cluster identifier to force a failover for. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
public String getDBClusterIdentifier()
A DB cluster identifier to force a failover for. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
Constraints:
Must match the identifier of an existing DBCluster.
public FailoverDBClusterRequest withDBClusterIdentifier(String dBClusterIdentifier)
A DB cluster identifier to force a failover for. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
dBClusterIdentifier
- A DB cluster identifier to force a failover for. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
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()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.