@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailoverGlobalClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
FailoverGlobalClusterRequest() |
Modifier and Type | Method and Description |
---|---|
FailoverGlobalClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAllowDataLoss()
Specifies whether to allow data loss for this global database cluster operation.
|
String |
getGlobalClusterIdentifier()
The identifier of the global database cluster (Aurora global database) this operation should apply to.
|
Boolean |
getSwitchover()
Specifies whether to switch over this global database cluster.
|
String |
getTargetDbClusterIdentifier()
The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database
cluster.
|
int |
hashCode() |
Boolean |
isAllowDataLoss()
Specifies whether to allow data loss for this global database cluster operation.
|
Boolean |
isSwitchover()
Specifies whether to switch over this global database cluster.
|
void |
setAllowDataLoss(Boolean allowDataLoss)
Specifies whether to allow data loss for this global database cluster operation.
|
void |
setGlobalClusterIdentifier(String globalClusterIdentifier)
The identifier of the global database cluster (Aurora global database) this operation should apply to.
|
void |
setSwitchover(Boolean switchover)
Specifies whether to switch over this global database cluster.
|
void |
setTargetDbClusterIdentifier(String targetDbClusterIdentifier)
The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database
cluster.
|
String |
toString()
Returns a string representation of this object.
|
FailoverGlobalClusterRequest |
withAllowDataLoss(Boolean allowDataLoss)
Specifies whether to allow data loss for this global database cluster operation.
|
FailoverGlobalClusterRequest |
withGlobalClusterIdentifier(String globalClusterIdentifier)
The identifier of the global database cluster (Aurora global database) this operation should apply to.
|
FailoverGlobalClusterRequest |
withSwitchover(Boolean switchover)
Specifies whether to switch over this global database cluster.
|
FailoverGlobalClusterRequest |
withTargetDbClusterIdentifier(String targetDbClusterIdentifier)
The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database
cluster.
|
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 setGlobalClusterIdentifier(String globalClusterIdentifier)
The identifier of the global database cluster (Aurora global database) this operation should apply to. The identifier is the unique key assigned by the user when the Aurora global database is created. In other words, it's the name of the Aurora global database.
Constraints:
Must match the identifier of an existing global database cluster.
globalClusterIdentifier
- The identifier of the global database cluster (Aurora global database) this operation should apply to. The
identifier is the unique key assigned by the user when the Aurora global database is created. In other
words, it's the name of the Aurora global database.
Constraints:
Must match the identifier of an existing global database cluster.
public String getGlobalClusterIdentifier()
The identifier of the global database cluster (Aurora global database) this operation should apply to. The identifier is the unique key assigned by the user when the Aurora global database is created. In other words, it's the name of the Aurora global database.
Constraints:
Must match the identifier of an existing global database cluster.
Constraints:
Must match the identifier of an existing global database cluster.
public FailoverGlobalClusterRequest withGlobalClusterIdentifier(String globalClusterIdentifier)
The identifier of the global database cluster (Aurora global database) this operation should apply to. The identifier is the unique key assigned by the user when the Aurora global database is created. In other words, it's the name of the Aurora global database.
Constraints:
Must match the identifier of an existing global database cluster.
globalClusterIdentifier
- The identifier of the global database cluster (Aurora global database) this operation should apply to. The
identifier is the unique key assigned by the user when the Aurora global database is created. In other
words, it's the name of the Aurora global database.
Constraints:
Must match the identifier of an existing global database cluster.
public void setTargetDbClusterIdentifier(String targetDbClusterIdentifier)
The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Aurora can locate the cluster in its Amazon Web Services Region.
targetDbClusterIdentifier
- The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global
database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Aurora can locate the
cluster in its Amazon Web Services Region.public String getTargetDbClusterIdentifier()
The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Aurora can locate the cluster in its Amazon Web Services Region.
public FailoverGlobalClusterRequest withTargetDbClusterIdentifier(String targetDbClusterIdentifier)
The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Aurora can locate the cluster in its Amazon Web Services Region.
targetDbClusterIdentifier
- The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global
database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Aurora can locate the
cluster in its Amazon Web Services Region.public void setAllowDataLoss(Boolean allowDataLoss)
Specifies whether to allow data loss for this global database cluster operation. Allowing data loss triggers a global failover operation.
If you don't specify AllowDataLoss
, the global database cluster operation defaults to a switchover.
Constraints:
Can't be specified together with the Switchover
parameter.
allowDataLoss
- Specifies whether to allow data loss for this global database cluster operation. Allowing data loss
triggers a global failover operation.
If you don't specify AllowDataLoss
, the global database cluster operation defaults to a
switchover.
Constraints:
Can't be specified together with the Switchover
parameter.
public Boolean getAllowDataLoss()
Specifies whether to allow data loss for this global database cluster operation. Allowing data loss triggers a global failover operation.
If you don't specify AllowDataLoss
, the global database cluster operation defaults to a switchover.
Constraints:
Can't be specified together with the Switchover
parameter.
If you don't specify AllowDataLoss
, the global database cluster operation defaults to a
switchover.
Constraints:
Can't be specified together with the Switchover
parameter.
public FailoverGlobalClusterRequest withAllowDataLoss(Boolean allowDataLoss)
Specifies whether to allow data loss for this global database cluster operation. Allowing data loss triggers a global failover operation.
If you don't specify AllowDataLoss
, the global database cluster operation defaults to a switchover.
Constraints:
Can't be specified together with the Switchover
parameter.
allowDataLoss
- Specifies whether to allow data loss for this global database cluster operation. Allowing data loss
triggers a global failover operation.
If you don't specify AllowDataLoss
, the global database cluster operation defaults to a
switchover.
Constraints:
Can't be specified together with the Switchover
parameter.
public Boolean isAllowDataLoss()
Specifies whether to allow data loss for this global database cluster operation. Allowing data loss triggers a global failover operation.
If you don't specify AllowDataLoss
, the global database cluster operation defaults to a switchover.
Constraints:
Can't be specified together with the Switchover
parameter.
If you don't specify AllowDataLoss
, the global database cluster operation defaults to a
switchover.
Constraints:
Can't be specified together with the Switchover
parameter.
public void setSwitchover(Boolean switchover)
Specifies whether to switch over this global database cluster.
Constraints:
Can't be specified together with the AllowDataLoss
parameter.
switchover
- Specifies whether to switch over this global database cluster.
Constraints:
Can't be specified together with the AllowDataLoss
parameter.
public Boolean getSwitchover()
Specifies whether to switch over this global database cluster.
Constraints:
Can't be specified together with the AllowDataLoss
parameter.
Constraints:
Can't be specified together with the AllowDataLoss
parameter.
public FailoverGlobalClusterRequest withSwitchover(Boolean switchover)
Specifies whether to switch over this global database cluster.
Constraints:
Can't be specified together with the AllowDataLoss
parameter.
switchover
- Specifies whether to switch over this global database cluster.
Constraints:
Can't be specified together with the AllowDataLoss
parameter.
public Boolean isSwitchover()
Specifies whether to switch over this global database cluster.
Constraints:
Can't be specified together with the AllowDataLoss
parameter.
Constraints:
Can't be specified together with the AllowDataLoss
parameter.
public String toString()
toString
in class Object
Object.toString()
public FailoverGlobalClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()