@Generated(value="software.amazon.awssdk:codegen") public final class ModifyGlobalClusterRequest extends RdsRequest implements ToCopyableBuilder<ModifyGlobalClusterRequest.Builder,ModifyGlobalClusterRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ModifyGlobalClusterRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ModifyGlobalClusterRequest.Builder |
builder() |
Boolean |
deletionProtection()
Indicates if the global database cluster has deletion protection enabled.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
String |
globalClusterIdentifier()
The DB cluster identifier for the global cluster being modified.
|
int |
hashCode() |
String |
newGlobalClusterIdentifier()
The new cluster identifier for the global database cluster when modifying a global database cluster.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyGlobalClusterRequest.Builder> |
serializableBuilderClass() |
ModifyGlobalClusterRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String globalClusterIdentifier()
The DB cluster identifier for the global cluster being modified. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing global database cluster.
Constraints:
Must match the identifier of an existing global database cluster.
public String newGlobalClusterIdentifier()
The new cluster identifier for the global database cluster when modifying a global database cluster. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-cluster2
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-cluster2
public Boolean deletionProtection()
Indicates if the global database cluster has deletion protection enabled. The global database cluster can't be deleted when this value is set to true.
public ModifyGlobalClusterRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyGlobalClusterRequest.Builder,ModifyGlobalClusterRequest>
toBuilder
in class RdsRequest
public static ModifyGlobalClusterRequest.Builder builder()
public static Class<? extends ModifyGlobalClusterRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.