@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 instance to promote to the primary instance.
|
int |
hashCode() |
void |
setDBClusterIdentifier(String dBClusterIdentifier)
A DB cluster identifier to force a failover for.
|
void |
setTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
The name of the instance to promote to the primary instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FailoverDBClusterRequest |
withDBClusterIdentifier(String dBClusterIdentifier)
A DB cluster identifier to force a failover for.
|
FailoverDBClusterRequest |
withTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
The name of the instance to promote to the primary 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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDBClusterIdentifier(String dBClusterIdentifier)
A DB cluster identifier to force a failover for. This parameter is not case-sensitive.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
dBClusterIdentifier - A DB cluster identifier to force a failover for. This parameter is not case-sensitive.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
public String getDBClusterIdentifier()
A DB cluster identifier to force a failover for. This parameter is not case-sensitive.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
public FailoverDBClusterRequest withDBClusterIdentifier(String dBClusterIdentifier)
A DB cluster identifier to force a failover for. This parameter is not case-sensitive.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
dBClusterIdentifier - A DB cluster identifier to force a failover for. This parameter is not case-sensitive.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
public void setTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
The name of the instance to promote to the primary instance.
You must specify the instance identifier for an Aurora Replica in the DB cluster. For example,
mydbcluster-replica1.
targetDBInstanceIdentifier - The name of the instance to promote to the primary instance.
You must specify the instance identifier for an Aurora Replica in the DB cluster. For example,
mydbcluster-replica1.
public String getTargetDBInstanceIdentifier()
The name of the instance to promote to the primary instance.
You must specify the instance identifier for an Aurora Replica in the DB cluster. For example,
mydbcluster-replica1.
You must specify the instance identifier for an Aurora Replica in the DB cluster. For example,
mydbcluster-replica1.
public FailoverDBClusterRequest withTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
The name of the instance to promote to the primary instance.
You must specify the instance identifier for an Aurora Replica in the DB cluster. For example,
mydbcluster-replica1.
targetDBInstanceIdentifier - The name of the instance to promote to the primary instance.
You must specify the instance identifier for an Aurora Replica in the DB cluster. For example,
mydbcluster-replica1.
public String toString()
toString in class ObjectObject.toString()public FailoverDBClusterRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.