@Generated(value="software.amazon.awssdk:codegen") public final class FailoverGlobalClusterRequest extends RdsRequest implements ToCopyableBuilder<FailoverGlobalClusterRequest.Builder,FailoverGlobalClusterRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
FailoverGlobalClusterRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowDataLoss()
Specifies whether to allow data loss for this global database cluster operation.
|
static FailoverGlobalClusterRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
globalClusterIdentifier()
The identifier of the global database cluster (Aurora global database) this operation should apply to.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FailoverGlobalClusterRequest.Builder> |
serializableBuilderClass() |
Boolean |
switchover()
Specifies whether to switch over this global database cluster.
|
String |
targetDbClusterIdentifier()
The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database
cluster.
|
FailoverGlobalClusterRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
Constraints:
Must match the identifier of an existing global database cluster.
public final 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.
public final 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.
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 final Boolean switchover()
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FailoverGlobalClusterRequest.Builder,FailoverGlobalClusterRequest>toBuilder in class RdsRequestpublic static FailoverGlobalClusterRequest.Builder builder()
public static Class<? extends FailoverGlobalClusterRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.