@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDBClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDBClusterRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDBClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
A list of EC2 Availability Zones that instances in the DB cluster can be created in.
|
Integer |
getBackupRetentionPeriod()
The number of days for which automated backups are retained.
|
String |
getCharacterSetName()
(Not supported by Neptune)
|
Boolean |
getCopyTagsToSnapshot()
If set to
true , tags are copied to any snapshot of the DB cluster that is created. |
String |
getDatabaseName()
The name for your database of up to 64 alpha-numeric characters.
|
String |
getDBClusterIdentifier()
The DB cluster identifier.
|
String |
getDBClusterParameterGroupName()
The name of the DB cluster parameter group to associate with this DB cluster.
|
String |
getDBSubnetGroupName()
A DB subnet group to associate with this DB cluster.
|
Boolean |
getDeletionProtection()
A value that indicates whether the DB cluster has deletion protection enabled.
|
List<String> |
getEnableCloudwatchLogsExports()
A list of the log types that this DB cluster should export to CloudWatch Logs.
|
Boolean |
getEnableIAMDatabaseAuthentication()
If set to
true , enables Amazon Identity and Access Management (IAM) authentication for the entire DB
cluster (this cannot be set at an instance level). |
String |
getEngine()
The name of the database engine to be used for this DB cluster.
|
String |
getEngineVersion()
The version number of the database engine to use for the new DB cluster.
|
String |
getGlobalClusterIdentifier()
The ID of the Neptune global database to which this new DB cluster should be added.
|
String |
getKmsKeyId()
The Amazon KMS key identifier for an encrypted DB cluster.
|
String |
getMasterUsername()
Not supported by Neptune.
|
String |
getMasterUserPassword()
Not supported by Neptune.
|
String |
getOptionGroupName()
(Not supported by Neptune)
|
Integer |
getPort()
The port number on which the instances in the DB cluster accept connections.
|
String |
getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled using the
BackupRetentionPeriod parameter. |
String |
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
String |
getPreSignedUrl()
This parameter is not currently supported.
|
String |
getReplicationSourceIdentifier()
The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read
Replica.
|
ServerlessV2ScalingConfiguration |
getServerlessV2ScalingConfiguration()
Contains the scaling configuration of a Neptune Serverless DB cluster.
|
String |
getSourceRegion()
The region where the source instance is located.
|
Boolean |
getStorageEncrypted()
Specifies whether the DB cluster is encrypted.
|
String |
getStorageType()
The storage type to associate with the DB cluster.
|
List<Tag> |
getTags()
The tags to assign to the new DB cluster.
|
List<String> |
getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with this DB cluster.
|
int |
hashCode() |
Boolean |
isCopyTagsToSnapshot()
If set to
true , tags are copied to any snapshot of the DB cluster that is created. |
Boolean |
isDeletionProtection()
A value that indicates whether the DB cluster has deletion protection enabled.
|
Boolean |
isEnableIAMDatabaseAuthentication()
If set to
true , enables Amazon Identity and Access Management (IAM) authentication for the entire DB
cluster (this cannot be set at an instance level). |
Boolean |
isStorageEncrypted()
Specifies whether the DB cluster is encrypted.
|
void |
setAvailabilityZones(Collection<String> availabilityZones)
A list of EC2 Availability Zones that instances in the DB cluster can be created in.
|
void |
setBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained.
|
void |
setCharacterSetName(String characterSetName)
(Not supported by Neptune)
|
void |
setCopyTagsToSnapshot(Boolean copyTagsToSnapshot)
If set to
true , tags are copied to any snapshot of the DB cluster that is created. |
void |
setDatabaseName(String databaseName)
The name for your database of up to 64 alpha-numeric characters.
|
void |
setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier.
|
void |
setDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to associate with this DB cluster.
|
void |
setDBSubnetGroupName(String dBSubnetGroupName)
A DB subnet group to associate with this DB cluster.
|
void |
setDeletionProtection(Boolean deletionProtection)
A value that indicates whether the DB cluster has deletion protection enabled.
|
void |
setEnableCloudwatchLogsExports(Collection<String> enableCloudwatchLogsExports)
A list of the log types that this DB cluster should export to CloudWatch Logs.
|
void |
setEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication)
If set to
true , enables Amazon Identity and Access Management (IAM) authentication for the entire DB
cluster (this cannot be set at an instance level). |
void |
setEngine(String engine)
The name of the database engine to be used for this DB cluster.
|
void |
setEngineVersion(String engineVersion)
The version number of the database engine to use for the new DB cluster.
|
void |
setGlobalClusterIdentifier(String globalClusterIdentifier)
The ID of the Neptune global database to which this new DB cluster should be added.
|
void |
setKmsKeyId(String kmsKeyId)
The Amazon KMS key identifier for an encrypted DB cluster.
|
void |
setMasterUsername(String masterUsername)
Not supported by Neptune.
|
void |
setMasterUserPassword(String masterUserPassword)
Not supported by Neptune.
|
void |
setOptionGroupName(String optionGroupName)
(Not supported by Neptune)
|
void |
setPort(Integer port)
The port number on which the instances in the DB cluster accept connections.
|
void |
setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled using the
BackupRetentionPeriod parameter. |
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
void |
setPreSignedUrl(String preSignedUrl)
This parameter is not currently supported.
|
void |
setReplicationSourceIdentifier(String replicationSourceIdentifier)
The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read
Replica.
|
void |
setServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration serverlessV2ScalingConfiguration)
Contains the scaling configuration of a Neptune Serverless DB cluster.
|
void |
setSourceRegion(String sourceRegion)
The region where the source instance is located.
|
void |
setStorageEncrypted(Boolean storageEncrypted)
Specifies whether the DB cluster is encrypted.
|
void |
setStorageType(String storageType)
The storage type to associate with the DB cluster.
|
void |
setTags(Collection<Tag> tags)
The tags to assign to the new DB cluster.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with this DB cluster.
|
String |
toString()
Returns a string representation of this object.
|
CreateDBClusterRequest |
withAvailabilityZones(Collection<String> availabilityZones)
A list of EC2 Availability Zones that instances in the DB cluster can be created in.
|
CreateDBClusterRequest |
withAvailabilityZones(String... availabilityZones)
A list of EC2 Availability Zones that instances in the DB cluster can be created in.
|
CreateDBClusterRequest |
withBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained.
|
CreateDBClusterRequest |
withCharacterSetName(String characterSetName)
(Not supported by Neptune)
|
CreateDBClusterRequest |
withCopyTagsToSnapshot(Boolean copyTagsToSnapshot)
If set to
true , tags are copied to any snapshot of the DB cluster that is created. |
CreateDBClusterRequest |
withDatabaseName(String databaseName)
The name for your database of up to 64 alpha-numeric characters.
|
CreateDBClusterRequest |
withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier.
|
CreateDBClusterRequest |
withDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to associate with this DB cluster.
|
CreateDBClusterRequest |
withDBSubnetGroupName(String dBSubnetGroupName)
A DB subnet group to associate with this DB cluster.
|
CreateDBClusterRequest |
withDeletionProtection(Boolean deletionProtection)
A value that indicates whether the DB cluster has deletion protection enabled.
|
CreateDBClusterRequest |
withEnableCloudwatchLogsExports(Collection<String> enableCloudwatchLogsExports)
A list of the log types that this DB cluster should export to CloudWatch Logs.
|
CreateDBClusterRequest |
withEnableCloudwatchLogsExports(String... enableCloudwatchLogsExports)
A list of the log types that this DB cluster should export to CloudWatch Logs.
|
CreateDBClusterRequest |
withEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication)
If set to
true , enables Amazon Identity and Access Management (IAM) authentication for the entire DB
cluster (this cannot be set at an instance level). |
CreateDBClusterRequest |
withEngine(String engine)
The name of the database engine to be used for this DB cluster.
|
CreateDBClusterRequest |
withEngineVersion(String engineVersion)
The version number of the database engine to use for the new DB cluster.
|
CreateDBClusterRequest |
withGlobalClusterIdentifier(String globalClusterIdentifier)
The ID of the Neptune global database to which this new DB cluster should be added.
|
CreateDBClusterRequest |
withKmsKeyId(String kmsKeyId)
The Amazon KMS key identifier for an encrypted DB cluster.
|
CreateDBClusterRequest |
withMasterUsername(String masterUsername)
Not supported by Neptune.
|
CreateDBClusterRequest |
withMasterUserPassword(String masterUserPassword)
Not supported by Neptune.
|
CreateDBClusterRequest |
withOptionGroupName(String optionGroupName)
(Not supported by Neptune)
|
CreateDBClusterRequest |
withPort(Integer port)
The port number on which the instances in the DB cluster accept connections.
|
CreateDBClusterRequest |
withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled using the
BackupRetentionPeriod parameter. |
CreateDBClusterRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
CreateDBClusterRequest |
withPreSignedUrl(String preSignedUrl)
This parameter is not currently supported.
|
CreateDBClusterRequest |
withReplicationSourceIdentifier(String replicationSourceIdentifier)
The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read
Replica.
|
CreateDBClusterRequest |
withServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration serverlessV2ScalingConfiguration)
Contains the scaling configuration of a Neptune Serverless DB cluster.
|
CreateDBClusterRequest |
withSourceRegion(String sourceRegion)
The region where the source instance is located.
|
CreateDBClusterRequest |
withStorageEncrypted(Boolean storageEncrypted)
Specifies whether the DB cluster is encrypted.
|
CreateDBClusterRequest |
withStorageType(String storageType)
The storage type to associate with the DB cluster.
|
CreateDBClusterRequest |
withTags(Collection<Tag> tags)
The tags to assign to the new DB cluster.
|
CreateDBClusterRequest |
withTags(Tag... tags)
The tags to assign to the new DB cluster.
|
CreateDBClusterRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with this DB cluster.
|
CreateDBClusterRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with this DB cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getAvailabilityZones()
A list of EC2 Availability Zones that instances in the DB cluster can be created in.
public void setAvailabilityZones(Collection<String> availabilityZones)
A list of EC2 Availability Zones that instances in the DB cluster can be created in.
availabilityZones
- A list of EC2 Availability Zones that instances in the DB cluster can be created in.public CreateDBClusterRequest withAvailabilityZones(String... availabilityZones)
A list of EC2 Availability Zones that instances in the DB cluster can be created in.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- A list of EC2 Availability Zones that instances in the DB cluster can be created in.public CreateDBClusterRequest withAvailabilityZones(Collection<String> availabilityZones)
A list of EC2 Availability Zones that instances in the DB cluster can be created in.
availabilityZones
- A list of EC2 Availability Zones that instances in the DB cluster can be created in.public void setBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35
backupRetentionPeriod
- The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35
public Integer getBackupRetentionPeriod()
The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35
Default: 1
Constraints:
Must be a value from 1 to 35
public CreateDBClusterRequest withBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35
backupRetentionPeriod
- The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35
public void setCharacterSetName(String characterSetName)
(Not supported by Neptune)
characterSetName
- (Not supported by Neptune)public String getCharacterSetName()
(Not supported by Neptune)
public CreateDBClusterRequest withCharacterSetName(String characterSetName)
(Not supported by Neptune)
characterSetName
- (Not supported by Neptune)public void setCopyTagsToSnapshot(Boolean copyTagsToSnapshot)
If set to true
, tags are copied to any snapshot of the DB cluster that is created.
copyTagsToSnapshot
- If set to true
, tags are copied to any snapshot of the DB cluster that is created.public Boolean getCopyTagsToSnapshot()
If set to true
, tags are copied to any snapshot of the DB cluster that is created.
true
, tags are copied to any snapshot of the DB cluster that is created.public CreateDBClusterRequest withCopyTagsToSnapshot(Boolean copyTagsToSnapshot)
If set to true
, tags are copied to any snapshot of the DB cluster that is created.
copyTagsToSnapshot
- If set to true
, tags are copied to any snapshot of the DB cluster that is created.public Boolean isCopyTagsToSnapshot()
If set to true
, tags are copied to any snapshot of the DB cluster that is created.
true
, tags are copied to any snapshot of the DB cluster that is created.public void setDatabaseName(String databaseName)
The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon Neptune will not create a database in the DB cluster you are creating.
databaseName
- The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon
Neptune will not create a database in the DB cluster you are creating.public String getDatabaseName()
The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon Neptune will not create a database in the DB cluster you are creating.
public CreateDBClusterRequest withDatabaseName(String databaseName)
The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon Neptune will not create a database in the DB cluster you are creating.
databaseName
- The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon
Neptune will not create a database in the DB cluster you are creating.public void setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1
dBClusterIdentifier
- The DB cluster identifier. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1
public String getDBClusterIdentifier()
The DB cluster identifier. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1
public CreateDBClusterRequest withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1
dBClusterIdentifier
- The DB cluster identifier. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1
public void setDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted, the default is used.
Constraints:
If supplied, must match the name of an existing DBClusterParameterGroup.
dBClusterParameterGroupName
- The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted,
the default is used.
Constraints:
If supplied, must match the name of an existing DBClusterParameterGroup.
public String getDBClusterParameterGroupName()
The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted, the default is used.
Constraints:
If supplied, must match the name of an existing DBClusterParameterGroup.
Constraints:
If supplied, must match the name of an existing DBClusterParameterGroup.
public CreateDBClusterRequest withDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted, the default is used.
Constraints:
If supplied, must match the name of an existing DBClusterParameterGroup.
dBClusterParameterGroupName
- The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted,
the default is used.
Constraints:
If supplied, must match the name of an existing DBClusterParameterGroup.
public List<String> getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with this DB cluster.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with this DB cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with this DB cluster.public CreateDBClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with this DB cluster.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupIds(java.util.Collection)
or withVpcSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with this DB cluster.public CreateDBClusterRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with this DB cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with this DB cluster.public void setDBSubnetGroupName(String dBSubnetGroupName)
A DB subnet group to associate with this DB cluster.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
dBSubnetGroupName
- A DB subnet group to associate with this DB cluster.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
public String getDBSubnetGroupName()
A DB subnet group to associate with this DB cluster.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
public CreateDBClusterRequest withDBSubnetGroupName(String dBSubnetGroupName)
A DB subnet group to associate with this DB cluster.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
dBSubnetGroupName
- A DB subnet group to associate with this DB cluster.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
public void setEngine(String engine)
The name of the database engine to be used for this DB cluster.
Valid Values: neptune
engine
- The name of the database engine to be used for this DB cluster.
Valid Values: neptune
public String getEngine()
The name of the database engine to be used for this DB cluster.
Valid Values: neptune
Valid Values: neptune
public CreateDBClusterRequest withEngine(String engine)
The name of the database engine to be used for this DB cluster.
Valid Values: neptune
engine
- The name of the database engine to be used for this DB cluster.
Valid Values: neptune
public void setEngineVersion(String engineVersion)
The version number of the database engine to use for the new DB cluster.
Example: 1.0.2.1
engineVersion
- The version number of the database engine to use for the new DB cluster.
Example: 1.0.2.1
public String getEngineVersion()
The version number of the database engine to use for the new DB cluster.
Example: 1.0.2.1
Example: 1.0.2.1
public CreateDBClusterRequest withEngineVersion(String engineVersion)
The version number of the database engine to use for the new DB cluster.
Example: 1.0.2.1
engineVersion
- The version number of the database engine to use for the new DB cluster.
Example: 1.0.2.1
public void setPort(Integer port)
The port number on which the instances in the DB cluster accept connections.
Default: 8182
port
- The port number on which the instances in the DB cluster accept connections.
Default: 8182
public Integer getPort()
The port number on which the instances in the DB cluster accept connections.
Default: 8182
Default: 8182
public CreateDBClusterRequest withPort(Integer port)
The port number on which the instances in the DB cluster accept connections.
Default: 8182
port
- The port number on which the instances in the DB cluster accept connections.
Default: 8182
public void setMasterUsername(String masterUsername)
Not supported by Neptune.
masterUsername
- Not supported by Neptune.public String getMasterUsername()
Not supported by Neptune.
public CreateDBClusterRequest withMasterUsername(String masterUsername)
Not supported by Neptune.
masterUsername
- Not supported by Neptune.public void setMasterUserPassword(String masterUserPassword)
Not supported by Neptune.
masterUserPassword
- Not supported by Neptune.public String getMasterUserPassword()
Not supported by Neptune.
public CreateDBClusterRequest withMasterUserPassword(String masterUserPassword)
Not supported by Neptune.
masterUserPassword
- Not supported by Neptune.public void setOptionGroupName(String optionGroupName)
(Not supported by Neptune)
optionGroupName
- (Not supported by Neptune)public String getOptionGroupName()
(Not supported by Neptune)
public CreateDBClusterRequest withOptionGroupName(String optionGroupName)
(Not supported by Neptune)
optionGroupName
- (Not supported by Neptune)public void setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public String getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public CreateDBClusterRequest withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Minimum 30-minute window.
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Minimum 30-minute window.
public String getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Minimum 30-minute window.
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Minimum 30-minute window.
public CreateDBClusterRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Minimum 30-minute window.
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Minimum 30-minute window.
public void setReplicationSourceIdentifier(String replicationSourceIdentifier)
The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.
replicationSourceIdentifier
- The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a
Read Replica.public String getReplicationSourceIdentifier()
The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.
public CreateDBClusterRequest withReplicationSourceIdentifier(String replicationSourceIdentifier)
The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.
replicationSourceIdentifier
- The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a
Read Replica.public List<Tag> getTags()
The tags to assign to the new DB cluster.
public void setTags(Collection<Tag> tags)
The tags to assign to the new DB cluster.
tags
- The tags to assign to the new DB cluster.public CreateDBClusterRequest withTags(Tag... tags)
The tags to assign to the new DB cluster.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags to assign to the new DB cluster.public CreateDBClusterRequest withTags(Collection<Tag> tags)
The tags to assign to the new DB cluster.
tags
- The tags to assign to the new DB cluster.public void setStorageEncrypted(Boolean storageEncrypted)
Specifies whether the DB cluster is encrypted.
storageEncrypted
- Specifies whether the DB cluster is encrypted.public Boolean getStorageEncrypted()
Specifies whether the DB cluster is encrypted.
public CreateDBClusterRequest withStorageEncrypted(Boolean storageEncrypted)
Specifies whether the DB cluster is encrypted.
storageEncrypted
- Specifies whether the DB cluster is encrypted.public Boolean isStorageEncrypted()
Specifies whether the DB cluster is encrypted.
public void setKmsKeyId(String kmsKeyId)
The Amazon KMS key identifier for an encrypted DB cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same Amazon account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.
If an encryption key is not specified in KmsKeyId
:
If ReplicationSourceIdentifier
identifies an encrypted source, then Amazon Neptune will use the
encryption key used to encrypt the source. Otherwise, Amazon Neptune will use your default encryption key.
If the StorageEncrypted
parameter is true and ReplicationSourceIdentifier
is not
specified, then Amazon Neptune will use your default encryption key.
Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region.
If you create a Read Replica of an encrypted DB cluster in another Amazon Region, you must set
KmsKeyId
to a KMS key ID that is valid in the destination Amazon Region. This key is used to encrypt
the Read Replica in that Amazon Region.
kmsKeyId
- The Amazon KMS key identifier for an encrypted DB cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same Amazon account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.
If an encryption key is not specified in KmsKeyId
:
If ReplicationSourceIdentifier
identifies an encrypted source, then Amazon Neptune will use
the encryption key used to encrypt the source. Otherwise, Amazon Neptune will use your default encryption
key.
If the StorageEncrypted
parameter is true and ReplicationSourceIdentifier
is not
specified, then Amazon Neptune will use your default encryption key.
Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region.
If you create a Read Replica of an encrypted DB cluster in another Amazon Region, you must set
KmsKeyId
to a KMS key ID that is valid in the destination Amazon Region. This key is used to
encrypt the Read Replica in that Amazon Region.
public String getKmsKeyId()
The Amazon KMS key identifier for an encrypted DB cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same Amazon account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.
If an encryption key is not specified in KmsKeyId
:
If ReplicationSourceIdentifier
identifies an encrypted source, then Amazon Neptune will use the
encryption key used to encrypt the source. Otherwise, Amazon Neptune will use your default encryption key.
If the StorageEncrypted
parameter is true and ReplicationSourceIdentifier
is not
specified, then Amazon Neptune will use your default encryption key.
Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region.
If you create a Read Replica of an encrypted DB cluster in another Amazon Region, you must set
KmsKeyId
to a KMS key ID that is valid in the destination Amazon Region. This key is used to encrypt
the Read Replica in that Amazon Region.
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same Amazon account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.
If an encryption key is not specified in KmsKeyId
:
If ReplicationSourceIdentifier
identifies an encrypted source, then Amazon Neptune will use
the encryption key used to encrypt the source. Otherwise, Amazon Neptune will use your default encryption
key.
If the StorageEncrypted
parameter is true and ReplicationSourceIdentifier
is
not specified, then Amazon Neptune will use your default encryption key.
Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region.
If you create a Read Replica of an encrypted DB cluster in another Amazon Region, you must set
KmsKeyId
to a KMS key ID that is valid in the destination Amazon Region. This key is used to
encrypt the Read Replica in that Amazon Region.
public CreateDBClusterRequest withKmsKeyId(String kmsKeyId)
The Amazon KMS key identifier for an encrypted DB cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same Amazon account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.
If an encryption key is not specified in KmsKeyId
:
If ReplicationSourceIdentifier
identifies an encrypted source, then Amazon Neptune will use the
encryption key used to encrypt the source. Otherwise, Amazon Neptune will use your default encryption key.
If the StorageEncrypted
parameter is true and ReplicationSourceIdentifier
is not
specified, then Amazon Neptune will use your default encryption key.
Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region.
If you create a Read Replica of an encrypted DB cluster in another Amazon Region, you must set
KmsKeyId
to a KMS key ID that is valid in the destination Amazon Region. This key is used to encrypt
the Read Replica in that Amazon Region.
kmsKeyId
- The Amazon KMS key identifier for an encrypted DB cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same Amazon account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.
If an encryption key is not specified in KmsKeyId
:
If ReplicationSourceIdentifier
identifies an encrypted source, then Amazon Neptune will use
the encryption key used to encrypt the source. Otherwise, Amazon Neptune will use your default encryption
key.
If the StorageEncrypted
parameter is true and ReplicationSourceIdentifier
is not
specified, then Amazon Neptune will use your default encryption key.
Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region.
If you create a Read Replica of an encrypted DB cluster in another Amazon Region, you must set
KmsKeyId
to a KMS key ID that is valid in the destination Amazon Region. This key is used to
encrypt the Read Replica in that Amazon Region.
public void setPreSignedUrl(String preSignedUrl)
This parameter is not currently supported.
preSignedUrl
- This parameter is not currently supported.public String getPreSignedUrl()
This parameter is not currently supported.
public CreateDBClusterRequest withPreSignedUrl(String preSignedUrl)
This parameter is not currently supported.
preSignedUrl
- This parameter is not currently supported.public void setEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication)
If set to true
, enables Amazon Identity and Access Management (IAM) authentication for the entire DB
cluster (this cannot be set at an instance level).
Default: false
.
enableIAMDatabaseAuthentication
- If set to true
, enables Amazon Identity and Access Management (IAM) authentication for the
entire DB cluster (this cannot be set at an instance level).
Default: false
.
public Boolean getEnableIAMDatabaseAuthentication()
If set to true
, enables Amazon Identity and Access Management (IAM) authentication for the entire DB
cluster (this cannot be set at an instance level).
Default: false
.
true
, enables Amazon Identity and Access Management (IAM) authentication for the
entire DB cluster (this cannot be set at an instance level).
Default: false
.
public CreateDBClusterRequest withEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication)
If set to true
, enables Amazon Identity and Access Management (IAM) authentication for the entire DB
cluster (this cannot be set at an instance level).
Default: false
.
enableIAMDatabaseAuthentication
- If set to true
, enables Amazon Identity and Access Management (IAM) authentication for the
entire DB cluster (this cannot be set at an instance level).
Default: false
.
public Boolean isEnableIAMDatabaseAuthentication()
If set to true
, enables Amazon Identity and Access Management (IAM) authentication for the entire DB
cluster (this cannot be set at an instance level).
Default: false
.
true
, enables Amazon Identity and Access Management (IAM) authentication for the
entire DB cluster (this cannot be set at an instance level).
Default: false
.
public List<String> getEnableCloudwatchLogsExports()
A list of the log types that this DB cluster should export to CloudWatch Logs. Valid log types are:
audit
(to publish audit logs) and slowquery
(to publish slow-query logs). See Publishing Neptune logs to
Amazon CloudWatch logs.
audit
(to publish audit logs) and slowquery
(to publish slow-query logs). See
Publishing Neptune
logs to Amazon CloudWatch logs.public void setEnableCloudwatchLogsExports(Collection<String> enableCloudwatchLogsExports)
A list of the log types that this DB cluster should export to CloudWatch Logs. Valid log types are:
audit
(to publish audit logs) and slowquery
(to publish slow-query logs). See Publishing Neptune logs to
Amazon CloudWatch logs.
enableCloudwatchLogsExports
- A list of the log types that this DB cluster should export to CloudWatch Logs. Valid log types are:
audit
(to publish audit logs) and slowquery
(to publish slow-query logs). See Publishing Neptune logs
to Amazon CloudWatch logs.public CreateDBClusterRequest withEnableCloudwatchLogsExports(String... enableCloudwatchLogsExports)
A list of the log types that this DB cluster should export to CloudWatch Logs. Valid log types are:
audit
(to publish audit logs) and slowquery
(to publish slow-query logs). See Publishing Neptune logs to
Amazon CloudWatch logs.
NOTE: This method appends the values to the existing list (if any). Use
setEnableCloudwatchLogsExports(java.util.Collection)
or
withEnableCloudwatchLogsExports(java.util.Collection)
if you want to override the existing values.
enableCloudwatchLogsExports
- A list of the log types that this DB cluster should export to CloudWatch Logs. Valid log types are:
audit
(to publish audit logs) and slowquery
(to publish slow-query logs). See Publishing Neptune logs
to Amazon CloudWatch logs.public CreateDBClusterRequest withEnableCloudwatchLogsExports(Collection<String> enableCloudwatchLogsExports)
A list of the log types that this DB cluster should export to CloudWatch Logs. Valid log types are:
audit
(to publish audit logs) and slowquery
(to publish slow-query logs). See Publishing Neptune logs to
Amazon CloudWatch logs.
enableCloudwatchLogsExports
- A list of the log types that this DB cluster should export to CloudWatch Logs. Valid log types are:
audit
(to publish audit logs) and slowquery
(to publish slow-query logs). See Publishing Neptune logs
to Amazon CloudWatch logs.public void setDeletionProtection(Boolean deletionProtection)
A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is enabled.
deletionProtection
- A value that indicates whether the DB cluster has deletion protection enabled. The database can't be
deleted when deletion protection is enabled. By default, deletion protection is enabled.public Boolean getDeletionProtection()
A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is enabled.
public CreateDBClusterRequest withDeletionProtection(Boolean deletionProtection)
A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is enabled.
deletionProtection
- A value that indicates whether the DB cluster has deletion protection enabled. The database can't be
deleted when deletion protection is enabled. By default, deletion protection is enabled.public Boolean isDeletionProtection()
A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is enabled.
public void setServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration serverlessV2ScalingConfiguration)
Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
serverlessV2ScalingConfiguration
- Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
public ServerlessV2ScalingConfiguration getServerlessV2ScalingConfiguration()
Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
public CreateDBClusterRequest withServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration serverlessV2ScalingConfiguration)
Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
serverlessV2ScalingConfiguration
- Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
public void setGlobalClusterIdentifier(String globalClusterIdentifier)
The ID of the Neptune global database to which this new DB cluster should be added.
globalClusterIdentifier
- The ID of the Neptune global database to which this new DB cluster should be added.public String getGlobalClusterIdentifier()
The ID of the Neptune global database to which this new DB cluster should be added.
public CreateDBClusterRequest withGlobalClusterIdentifier(String globalClusterIdentifier)
The ID of the Neptune global database to which this new DB cluster should be added.
globalClusterIdentifier
- The ID of the Neptune global database to which this new DB cluster should be added.public void setStorageType(String storageType)
The storage type to associate with the DB cluster.
Valid Values:
standard | iopt1
Default:
standard
When you create a Neptune cluster with the storage type set to iopt1
, the storage type is returned
in the response. The storage type isn't returned when you set it to standard
.
storageType
- The storage type to associate with the DB cluster.
Valid Values:
standard | iopt1
Default:
standard
When you create a Neptune cluster with the storage type set to iopt1
, the storage type is
returned in the response. The storage type isn't returned when you set it to standard
.
public String getStorageType()
The storage type to associate with the DB cluster.
Valid Values:
standard | iopt1
Default:
standard
When you create a Neptune cluster with the storage type set to iopt1
, the storage type is returned
in the response. The storage type isn't returned when you set it to standard
.
Valid Values:
standard | iopt1
Default:
standard
When you create a Neptune cluster with the storage type set to iopt1
, the storage type is
returned in the response. The storage type isn't returned when you set it to standard
.
public CreateDBClusterRequest withStorageType(String storageType)
The storage type to associate with the DB cluster.
Valid Values:
standard | iopt1
Default:
standard
When you create a Neptune cluster with the storage type set to iopt1
, the storage type is returned
in the response. The storage type isn't returned when you set it to standard
.
storageType
- The storage type to associate with the DB cluster.
Valid Values:
standard | iopt1
Default:
standard
When you create a Neptune cluster with the storage type set to iopt1
, the storage type is
returned in the response. The storage type isn't returned when you set it to standard
.
public void setSourceRegion(String sourceRegion)
sourceRegion
- The region where the source instance is located.public String getSourceRegion()
public CreateDBClusterRequest withSourceRegion(String sourceRegion)
sourceRegion
- The region where the source instance is located.public String toString()
toString
in class Object
Object.toString()
public CreateDBClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()