Class CreateGlobalClusterRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.docdb.model.DocDbRequest
-
- software.amazon.awssdk.services.docdb.model.CreateGlobalClusterRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateGlobalClusterRequest.Builder,CreateGlobalClusterRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateGlobalClusterRequest extends DocDbRequest implements ToCopyableBuilder<CreateGlobalClusterRequest.Builder,CreateGlobalClusterRequest>
Represents the input to CreateGlobalCluster.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateGlobalClusterRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateGlobalClusterRequest.Builderbuilder()StringdatabaseName()The name for your database of up to 64 alpha-numeric characters.BooleandeletionProtection()The deletion protection setting for the new global cluster.Stringengine()The name of the database engine to be used for this cluster.StringengineVersion()The engine version of the global cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringglobalClusterIdentifier()The cluster identifier of the new global cluster.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CreateGlobalClusterRequest.Builder>serializableBuilderClass()StringsourceDBClusterIdentifier()The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster.BooleanstorageEncrypted()The storage encryption setting for the new global cluster.CreateGlobalClusterRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
globalClusterIdentifier
public final String globalClusterIdentifier()
The cluster identifier of the new global cluster.
- Returns:
- The cluster identifier of the new global cluster.
-
sourceDBClusterIdentifier
public final String sourceDBClusterIdentifier()
The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. This parameter is optional.
- Returns:
- The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. This parameter is optional.
-
engine
public final String engine()
The name of the database engine to be used for this cluster.
- Returns:
- The name of the database engine to be used for this cluster.
-
engineVersion
public final String engineVersion()
The engine version of the global cluster.
- Returns:
- The engine version of the global cluster.
-
deletionProtection
public final Boolean deletionProtection()
The deletion protection setting for the new global cluster. The global cluster can't be deleted when deletion protection is enabled.
- Returns:
- The deletion protection setting for the new global cluster. The global cluster can't be deleted when deletion protection is enabled.
-
databaseName
public final String databaseName()
The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon DocumentDB will not create a database in the global cluster you are creating.
- Returns:
- The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon DocumentDB will not create a database in the global cluster you are creating.
-
storageEncrypted
public final Boolean storageEncrypted()
The storage encryption setting for the new global cluster.
- Returns:
- The storage encryption setting for the new global cluster.
-
toBuilder
public CreateGlobalClusterRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateGlobalClusterRequest.Builder,CreateGlobalClusterRequest>- Specified by:
toBuilderin classDocDbRequest
-
builder
public static CreateGlobalClusterRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateGlobalClusterRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-