@Generated(value="software.amazon.awssdk:codegen") public final class SwitchoverGlobalClusterRequest extends RdsRequest implements ToCopyableBuilder<SwitchoverGlobalClusterRequest.Builder,SwitchoverGlobalClusterRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
SwitchoverGlobalClusterRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static SwitchoverGlobalClusterRequest.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 to switch over.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SwitchoverGlobalClusterRequest.Builder> |
serializableBuilderClass() |
String |
targetDbClusterIdentifier()
The identifier of the secondary Aurora DB cluster to promote to the new primary for the global database cluster.
|
SwitchoverGlobalClusterRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String globalClusterIdentifier()
The identifier of the global database cluster to switch over. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing global database cluster (Aurora global database).
Constraints:
Must match the identifier of an existing global database cluster (Aurora global database).
public final String targetDbClusterIdentifier()
The identifier of the secondary Aurora DB cluster to promote to the new 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 SwitchoverGlobalClusterRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SwitchoverGlobalClusterRequest.Builder,SwitchoverGlobalClusterRequest>
toBuilder
in class RdsRequest
public static SwitchoverGlobalClusterRequest.Builder builder()
public static Class<? extends SwitchoverGlobalClusterRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.