@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()
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, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 Object
Object.toString()
public FailoverDBClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.