@Generated(value="software.amazon.awssdk:codegen") public final class CreateGlobalClusterRequest extends RdsRequest implements ToCopyableBuilder<CreateGlobalClusterRequest.Builder,CreateGlobalClusterRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateGlobalClusterRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateGlobalClusterRequest.Builder |
builder() |
String |
databaseName()
The name for your database of up to 64 alpha-numeric characters.
|
Boolean |
deletionProtection()
The deletion protection setting for the new global database.
|
String |
engine()
Provides the name of the database engine to be used for this DB cluster.
|
String |
engineVersion()
The engine version of the Aurora global database.
|
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 cluster identifier of the new global database cluster.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateGlobalClusterRequest.Builder> |
serializableBuilderClass() |
String |
sourceDBClusterIdentifier()
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
|
Boolean |
storageEncrypted()
The storage encryption setting for the new global database cluster.
|
CreateGlobalClusterRequest.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 cluster identifier of the new global database cluster.
public String sourceDBClusterIdentifier()
The Amazon Resource Name (ARN) to use as the primary cluster of the global database. This parameter is optional.
public String engine()
Provides the name of the database engine to be used for this DB cluster.
public String engineVersion()
The engine version of the Aurora global database.
public Boolean deletionProtection()
The deletion protection setting for the new global database. The global database can't be deleted when this value is set to true.
public String databaseName()
The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon Aurora will not create a database in the global database cluster you are creating.
public Boolean storageEncrypted()
The storage encryption setting for the new global database cluster.
public CreateGlobalClusterRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateGlobalClusterRequest.Builder,CreateGlobalClusterRequest>
toBuilder
in class RdsRequest
public static CreateGlobalClusterRequest.Builder builder()
public static Class<? extends CreateGlobalClusterRequest.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.