com.amazonaws.services.rds.model.CreateDBInstanceRequest Maven / Gradle / Ivy
Show all versions of aws-java-sdk-rds Show documentation
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.rds.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CreateDBInstanceRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
/**
*
* The meaning of this parameter differs according to the database engine you use.
*
*
* - Amazon Aurora MySQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created. If
* this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB cluster.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 alphanumeric characters.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon Aurora PostgreSQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is created. A
* database named postgres
is always created. If this parameter is specified, an additional database
* with this name is created.
*
*
* Constraints:
*
*
* -
*
* It must contain 1 to 63 alphanumeric characters.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for Oracle
* -
*
* The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the default value
* is ORCL
for non-CDBs and RDSCDB
for CDBs.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 8 alphanumeric characters.
*
*
* -
*
* Must contain a letter.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* Not applicable. Must be null.
*
*
* - RDS for Db2
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance. In some cases, we recommend that you don't add a database name. For more
* information, see Additional considerations in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MariaDB
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MySQL
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for Oracle
* -
*
* The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is
* ORCL
. You can't specify the string null
, or any other reserved word, for
* DBName
.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 8 characters.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* The name of the database to create when the DB instance is created. A database named postgres
is
* always created. If this parameter is specified, an additional database with this name is created.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 63 letters, numbers, or underscores.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for SQL Server
* -
*
* Not applicable. Must be null.
*
*
*
*/
private String dBName;
/**
*
* The identifier for this DB instance. 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.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* Example: mydbinstance
*
*/
private String dBInstanceIdentifier;
/**
*
* The amount of storage in gibibytes (GiB) to allocate for the DB instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount
* of data in your database increases, though you are only charged for the space that you use in an Aurora cluster
* volume.
*
*
* - Amazon RDS Custom
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384
* for RDS Custom for SQL Server.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS
* Custom for SQL Server.
*
*
*
*
* - RDS for Db2
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
*
*
* - RDS for MariaDB
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for MySQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for Oracle
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 10 to 3072.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for SQL Server
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 16384.
*
*
*
*
* -
*
* Provisioned IOPS storage (io1, io2):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 100 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 100 to 16384.
*
*
*
*
* -
*
* Magnetic storage (standard):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 1024.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 1024.
*
*
*
*
*
*
*
*/
private Integer allocatedStorage;
/**
*
* The compute and memory capacity of the DB instance, for example db.m5.large
. Not all DB instance
* classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB
* instance classes, and availability for your engine, see DB instance
* classes in the Amazon RDS User Guide or Aurora DB
* instance classes in the Amazon Aurora User Guide.
*
*/
private String dBInstanceClass;
/**
*
* The database engine to use for this DB instance.
*
*
* Not every database engine is available in every Amazon Web Services Region.
*
*
* Valid Values:
*
*
* -
*
* aurora-mysql
(for Aurora MySQL DB instances)
*
*
* -
*
* aurora-postgresql
(for Aurora PostgreSQL DB instances)
*
*
* -
*
* custom-oracle-ee
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-ee-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-sqlserver-ee
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-se
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-web
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*/
private String engine;
/**
*
* The name for the master user.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the DB
* cluster.
*
*
* This setting is required for RDS DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 16 letters, numbers, or underscores.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't be a reserved word for the chosen database engine.
*
*
*
*/
private String masterUsername;
/**
*
* The password for the master user.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by the DB
* cluster.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if ManageMasterUserPassword
is turned on.
*
*
* -
*
* Can include any printable ASCII character except "/",
* """, or "@". For RDS for Oracle, can't include the "&" (ampersand) or the "'" (single quotes) character.
*
*
*
*
* Length Constraints:
*
*
* -
*
* RDS for Db2 - Must contain from 8 to 255 characters.
*
*
* -
*
* RDS for MariaDB - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.
*
*
* -
*
* RDS for MySQL - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Oracle - Must contain from 8 to 30 characters.
*
*
* -
*
* RDS for PostgreSQL - Must contain from 8 to 128 characters.
*
*
*
*/
private String masterUserPassword;
/**
*
* A list of DB security groups to associate with this DB instance.
*
*
* This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB instances. Use
* the VpcSecurityGroupIds
setting instead.
*
*/
private com.amazonaws.internal.SdkInternalList dBSecurityGroups;
/**
*
* A list of Amazon EC2 VPC security groups to associate with this DB instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups is
* managed by the DB cluster.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*
*/
private com.amazonaws.internal.SdkInternalList vpcSecurityGroupIds;
/**
*
* The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services Regions and
* Availability Zones, see Regions
* and Availability Zones.
*
*
* For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones.
* Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you
* don't specify one.
*
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
*
*
* Constraints:
*
*
* -
*
* The AvailabilityZone
parameter can't be specified if the DB instance is a Multi-AZ deployment.
*
*
* -
*
* The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.
*
*
*
*
* Example: us-east-1d
*
*/
private String availabilityZone;
/**
*
* A DB subnet group to associate with this DB instance.
*
*
* Constraints:
*
*
* -
*
* Must match the name of an existing DB subnet group.
*
*
* -
*
* Must not be default
.
*
*
*
*
* Example: mydbsubnetgroup
*
*/
private String dBSubnetGroupName;
/**
*
* The time range each week during which system maintenance can occur. For more information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide.
*
*
* The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services
* Region, occurring on a random day of the week.
*
*
* Constraints:
*
*
* -
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
*
* -
*
* The day values must be mon | tue | wed | thu | fri | sat | sun
.
*
*
* -
*
* Must be in Universal Coordinated Time (UTC).
*
*
* -
*
* Must not conflict with the preferred backup window.
*
*
* -
*
* Must be at least 30 minutes.
*
*
*
*/
private String preferredMaintenanceWindow;
/**
*
* The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then Amazon
* RDS uses the default DB parameter group for the specified DB engine and version.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* The first character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*/
private String dBParameterGroupName;
/**
*
* The number of days for which automated backups are retained. Setting this parameter to a positive number enables
* backups. Setting this parameter to 0
disables automated backups.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed
* by the DB cluster.
*
*
* Default: 1
*
*
* Constraints:
*
*
* -
*
* Must be a value from 0 to 35.
*
*
* -
*
* Can't be set to 0 if the DB instance is a source to read replicas.
*
*
* -
*
* Can't be set to 0 for an RDS Custom for Oracle DB instance.
*
*
*
*/
private Integer backupRetentionPeriod;
/**
*
* 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 Web Services Region. For more information, see Backup window in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated backups is
* managed by the DB cluster.
*
*
* 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.
*
*
*
*/
private String preferredBackupWindow;
/**
*
* The port number on which the database accepts connections.
*
*
* This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.
*
*
* Valid Values: 1150-65535
*
*
* Default:
*
*
* -
*
* RDS for Db2 - 50000
*
*
* -
*
* RDS for MariaDB - 3306
*
*
* -
*
* RDS for Microsoft SQL Server - 1433
*
*
* -
*
* RDS for MySQL - 3306
*
*
* -
*
* RDS for Oracle - 1521
*
*
* -
*
* RDS for PostgreSQL - 5432
*
*
*
*
* Constraints:
*
*
* -
*
* For RDS for Microsoft SQL Server, the value can't be 1234
, 1434
, 3260
,
* 3343
, 3389
, 47001
, or 49152-49156
.
*
*
*
*/
private Integer port;
/**
*
* Specifies whether the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone
* parameter if the DB instance is a Multi-AZ deployment.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*/
private Boolean multiAZ;
/**
*
* The version number of the database engine to use.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the DB
* instance uses is managed by the DB cluster.
*
*
* For a list of valid engine versions, use the DescribeDBEngineVersions
operation.
*
*
* The following are the database engines and links to information about the major and minor versions that are
* available with Amazon RDS. Not every database engine is available for every Amazon Web Services Region.
*
*
* - Amazon RDS Custom for Oracle
* -
*
* A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom for
* Oracle. The CEV name has the following format: 19.customized_string. A valid CEV name is
* 19.my_cev1
. For more information, see
* Creating an RDS Custom for Oracle DB instance in the Amazon RDS User Guide.
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* See RDS Custom for
* SQL Server general requirements in the Amazon RDS User Guide.
*
*
* - RDS for Db2
* -
*
* For information, see Db2 on
* Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for MariaDB
* -
*
* For information, see MariaDB on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Microsoft SQL Server
* -
*
* For information, see Microsoft SQL Server versions on Amazon RDS in the Amazon RDS User Guide.
*
*
* - RDS for MySQL
* -
*
* For information, see MySQL on
* Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Oracle
* -
*
* For information, see Oracle
* Database Engine release notes in the Amazon RDS User Guide.
*
*
* - RDS for PostgreSQL
* -
*
* For information, see Amazon RDS
* for PostgreSQL versions and extensions in the Amazon RDS User Guide.
*
*
*
*/
private String engineVersion;
/**
*
* Specifies whether minor engine upgrades are applied automatically to the DB instance during the maintenance
* window. By default, minor engine upgrades are applied automatically.
*
*
* If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade
to false
.
*
*/
private Boolean autoMinorVersionUpgrade;
/**
*
* The license model information for this DB instance.
*
*
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires
* a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web
* Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
* The default for RDS for Db2 is bring-your-own-license
.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*/
private String licenseModel;
/**
*
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance.
* For information about valid IOPS values, see Amazon RDS DB instance
* storage in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Constraints:
*
*
* -
*
* For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage
* amount for the DB instance.
*
*
* -
*
* For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
*
*
*
*/
private Integer iops;
/**
*
* The option group to associate the DB instance with.
*
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option
* group. Also, that option group can't be removed from a DB instance after it is associated with a DB instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*/
private String optionGroupName;
/**
*
* For supported engines, the character set (CharacterSet
) to associate the DB instance with.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora - The character set is managed by the DB cluster. For more information, see
* CreateDBCluster
.
*
*
* -
*
* RDS Custom - However, if you need to change the character set, you can change it on the database itself.
*
*
*
*/
private String characterSetName;
/**
*
* The name of the NCHAR character set for the Oracle DB instance.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*/
private String ncharCharacterSetName;
/**
*
* Specifies whether the DB instance is publicly accessible.
*
*
* When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private
* cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from
* within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB
* instance is ultimately controlled by the security group it uses. That public access is not permitted if the
* security group assigned to the DB instance doesn't permit it.
*
*
* When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a
* private IP address.
*
*
* Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
*
*
* If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.
*
*
*
*/
private Boolean publiclyAccessible;
/**
*
* Tags to assign to the DB instance.
*
*/
private com.amazonaws.internal.SdkInternalList tags;
/**
*
* The identifier of the DB cluster that this DB instance will belong to.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*/
private String dBClusterIdentifier;
/**
*
* The storage type to associate with the DB instance.
*
*
* If you specify io1
, io2
, or gp3
, you must also include a value for the
* Iops
parameter.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*/
private String storageType;
/**
*
* The ARN from the key store with which to associate the instance for TDE encryption.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*/
private String tdeCredentialArn;
/**
*
* The password for the given ARN from the key store in order to access the device.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*/
private String tdeCredentialPassword;
/**
*
* Specifes whether the DB instance is encrypted. By default, it isn't encrypted.
*
*
* For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports an
* error.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by the DB
* cluster.
*
*/
private Boolean storageEncrypted;
/**
*
* The Amazon Web Services KMS key identifier for an encrypted DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To
* use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The Amazon Web Services KMS key identifier is managed
* by the DB cluster. For more information, see CreateDBCluster
.
*
*
* If StorageEncrypted
is enabled, and you do not specify a value for the KmsKeyId
* parameter, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services
* account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.
*
*
* For Amazon RDS Custom, a KMS key is required for DB instances. For most RDS engines, if you leave this parameter
* empty while enabling StorageEncrypted
, the engine uses the default KMS key. However, RDS Custom
* doesn't use the default key when this parameter is empty. You must explicitly specify a key.
*
*/
private String kmsKeyId;
/**
*
* The Active Directory directory ID to create the DB instance in. Currently, you can create only Db2, MySQL,
* Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*/
private String domain;
/**
*
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*
*/
private String domainFqdn;
/**
*
* The Active Directory organizational unit for your DB instance to join.
*
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*
*/
private String domainOu;
/**
*
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*
*/
private String domainAuthSecretArn;
/**
*
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*
*/
private com.amazonaws.internal.SdkInternalList domainDnsIps;
/**
*
* Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not
* copied.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster.
* Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
*
*/
private Boolean copyTagsToSnapshot;
/**
*
* The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To
* disable collection of Enhanced Monitoring metrics, specify 0
.
*
*
* If MonitoringRoleArn
is specified, then you must set MonitoringInterval
to a value
* other than 0
.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60
*
*
* Default: 0
*
*/
private Integer monitoringInterval;
/**
*
* The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For
* example, arn:aws:iam:123456789012:role/emaccess
. For information on creating a monitoring role, see
* Setting Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.
*
*
* If MonitoringInterval
is set to a value other than 0
, then you must supply a
* MonitoringRoleArn
value.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*/
private String monitoringRoleArn;
/**
*
* The name of the IAM role to use when making API calls to the Directory Service.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*/
private String domainIAMRoleName;
/**
*
* The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the
* existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Default: 1
*
*
* Valid Values: 0 - 15
*
*/
private Integer promotionTier;
/**
*
* The time zone of the DB instance. The time zone parameter is currently supported only by RDS for Db2 and RDS for SQL Server.
*
*/
private String timezone;
/**
*
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to
* database accounts. By default, mapping isn't enabled.
*
*
* For more information, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*/
private Boolean enableIAMDatabaseAuthentication;
/**
*
* Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance
* Insights in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*/
private Boolean enablePerformanceInsights;
/**
*
* The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
*
*
* If you don't specify a value for PerformanceInsightsKMSKeyId
, then Amazon RDS uses your default KMS
* key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a
* different default KMS key for each Amazon Web Services Region.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*/
private String performanceInsightsKMSKeyId;
/**
*
* The number of days to retain Performance Insights data.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* 7
*
*
* -
*
* month * 31, where month is a number of months from 1-23. Examples: 93
(3 months * 31),
* 341
(11 months * 31), 589
(19 months * 31)
*
*
* -
*
* 731
*
*
*
*
* Default: 7
days
*
*
* If you specify a retention period that isn't valid, such as 94
, Amazon RDS returns an error.
*
*/
private Integer performanceInsightsRetentionPeriod;
/**
*
* The list of log types to enable for exporting to CloudWatch Logs. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* The following values are valid for each DB engine:
*
*
* -
*
* RDS for Db2 - diag.log | notify.log
*
*
* -
*
* RDS for MariaDB - audit | error | general | slowquery
*
*
* -
*
* RDS for Microsoft SQL Server - agent | error
*
*
* -
*
* RDS for MySQL - audit | error | general | slowquery
*
*
* -
*
* RDS for Oracle - alert | audit | listener | trace | oemagent
*
*
* -
*
* RDS for PostgreSQL - postgresql | upgrade
*
*
*
*/
private com.amazonaws.internal.SdkInternalList enableCloudwatchLogsExports;
/**
*
* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*/
private com.amazonaws.internal.SdkInternalList processorFeatures;
/**
*
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
* protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB
* Instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection for the
* DB cluster. For more information, see CreateDBCluster
. DB instances in a DB cluster can be deleted
* even when deletion protection is enabled for the DB cluster.
*
*/
private Boolean deletionProtection;
/**
*
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.
*
*
* For more information about this setting, including limitations that apply to it, see
* Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Storage is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*/
private Integer maxAllocatedStorage;
/**
*
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from
* outside of its virtual private cloud (VPC) on your local network.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*
*/
private Boolean enableCustomerOwnedIp;
/**
*
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.
*
*
* This setting is required for RDS Custom.
*
*
* Constraints:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*
*/
private String customIamInstanceProfile;
/**
*
* The location for storing automated backups and manual snapshots.
*
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*/
private String backupTarget;
/**
*
* The network type of the DB instance.
*
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see Working
* with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values: IPV4 | DUAL
*
*/
private String networkType;
/**
*
* The storage throughput value for the DB instance.
*
*
* This setting applies only to the gp3
storage type.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*/
private Integer storageThroughput;
/**
*
* Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.
*
*
* For more information, see Password management with
* Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Can't manage the master user password with Amazon Web Services Secrets Manager if MasterUserPassword
* is specified.
*
*
*
*/
private Boolean manageMasterUserPassword;
/**
*
* The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in
* Amazon Web Services Secrets Manager.
*
*
* This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager
* for the DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To
* use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* If you don't specify MasterUserSecretKmsKeyId
, then the aws/secretsmanager
KMS key is
* used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the
* aws/secretsmanager
KMS key to encrypt the secret, and you must use a customer managed KMS key.
*
*
* There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different
* default KMS key for each Amazon Web Services Region.
*
*/
private String masterUserSecretKmsKeyId;
/**
*
* The CA certificate identifier to use for the DB instance's server certificate.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to encrypt a
* connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to
* encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*
*/
private String cACertificateIdentifier;
/**
*
* The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database
* files. In this context, the term "Oracle database instance" refers exclusively to the system global area (SGA)
* and Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB
. The
* Oracle SID is also the name of your CDB.
*
*/
private String dBSystemId;
/**
*
* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
*
*/
private Boolean dedicatedLogVolume;
/**
*
* Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default). This
* parameter only applies to RDS for Oracle container database (CDB) engines.
*
*
* Note the following restrictions:
*
*
* -
*
* The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt to
* enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.
*
*
* -
*
* If you specify the multi-tenant configuration when you create your DB instance, you can't later modify this DB
* instance to use the single-tenant configuration.
*
*
*
*/
private Boolean multiTenant;
/**
*
* The life cycle type for this DB instance.
*
*
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB instance
* into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by
* setting the value to open-source-rds-extended-support-disabled
. In this case, creating the DB
* instance will fail if the DB major version is past its end of standard support date.
*
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle
* type is managed by the DB cluster.
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support,
* you can run the selected major engine version on your DB instance past the end of standard support for that
* engine version. For more information, see Using Amazon RDS Extended
* Support in the Amazon RDS User Guide.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*
*/
private String engineLifecycleSupport;
/**
* Default constructor for CreateDBInstanceRequest object. Callers should use the setter or fluent setter (with...)
* methods to initialize the object after creating it.
*/
public CreateDBInstanceRequest() {
}
/**
* Constructs a new CreateDBInstanceRequest object. Callers should use the setter or fluent setter (with...) methods
* to initialize any additional object members.
*
* @param dBInstanceIdentifier
* The identifier for this DB instance. 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.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* Example: mydbinstance
* @param allocatedStorage
* The amount of storage in gibibytes (GiB) to allocate for the DB instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the
* amount of data in your database increases, though you are only charged for the space that you use in an
* Aurora cluster volume.
*
*
* - Amazon RDS Custom
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle,
* 16384 for RDS Custom for SQL Server.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384
* for RDS Custom for SQL Server.
*
*
*
*
* - RDS for Db2
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
*
*
* - RDS for MariaDB
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for MySQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for Oracle
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 10 to 3072.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for SQL Server
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 16384.
*
*
*
*
* -
*
* Provisioned IOPS storage (io1, io2):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 100 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 100 to 16384.
*
*
*
*
* -
*
* Magnetic storage (standard):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 1024.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 1024.
*
*
*
*
*
*
* @param dBInstanceClass
* The compute and memory capacity of the DB instance, for example db.m5.large
. Not all DB
* instance classes are available in all Amazon Web Services Regions, or for all database engines. For the
* full list of DB instance classes, and availability for your engine, see DB instance
* classes in the Amazon RDS User Guide or Aurora
* DB instance classes in the Amazon Aurora User Guide.
* @param engine
* The database engine to use for this DB instance.
*
* Not every database engine is available in every Amazon Web Services Region.
*
*
* Valid Values:
*
*
* -
*
* aurora-mysql
(for Aurora MySQL DB instances)
*
* -
*
* aurora-postgresql
(for Aurora PostgreSQL DB instances)
*
* -
*
* custom-oracle-ee
(for RDS Custom for Oracle DB instances)
*
* -
*
* custom-oracle-ee-cdb
(for RDS Custom for Oracle DB instances)
*
* -
*
* custom-oracle-se2
(for RDS Custom for Oracle DB instances)
*
* -
*
* custom-oracle-se2-cdb
(for RDS Custom for Oracle DB instances)
*
* -
*
* custom-sqlserver-ee
(for RDS Custom for SQL Server DB instances)
*
* -
*
* custom-sqlserver-se
(for RDS Custom for SQL Server DB instances)
*
* -
*
* custom-sqlserver-web
(for RDS Custom for SQL Server DB instances)
*
* -
*
* db2-ae
*
* -
*
* db2-se
*
* -
*
* mariadb
*
* -
*
* mysql
*
* -
*
* oracle-ee
*
* -
*
* oracle-ee-cdb
*
* -
*
* oracle-se2
*
* -
*
* oracle-se2-cdb
*
* -
*
* postgres
*
* -
*
* sqlserver-ee
*
* -
*
* sqlserver-se
*
* -
*
* sqlserver-ex
*
* -
*
* sqlserver-web
*
*
* @param masterUsername
* The name for the master user.
*
* This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the
* DB cluster.
*
*
* This setting is required for RDS DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 16 letters, numbers, or underscores.
*
* -
*
* First character must be a letter.
*
* -
*
* Can't be a reserved word for the chosen database engine.
*
*
* @param masterUserPassword
* The password for the master user.
*
* This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by
* the DB cluster.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if ManageMasterUserPassword
is turned on.
*
* -
*
* Can include any printable ASCII character except "/",
* """, or "@". For RDS for Oracle, can't include the "&" (ampersand) or the "'" (single quotes)
* character.
*
*
*
*
* Length Constraints:
*
*
* -
*
* RDS for Db2 - Must contain from 8 to 255 characters.
*
* -
*
* RDS for MariaDB - Must contain from 8 to 41 characters.
*
* -
*
* RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.
*
* -
*
* RDS for MySQL - Must contain from 8 to 41 characters.
*
* -
*
* RDS for Oracle - Must contain from 8 to 30 characters.
*
* -
*
* RDS for PostgreSQL - Must contain from 8 to 128 characters.
*
*
*/
public CreateDBInstanceRequest(String dBInstanceIdentifier, Integer allocatedStorage, String dBInstanceClass, String engine, String masterUsername,
String masterUserPassword) {
setDBInstanceIdentifier(dBInstanceIdentifier);
setAllocatedStorage(allocatedStorage);
setDBInstanceClass(dBInstanceClass);
setEngine(engine);
setMasterUsername(masterUsername);
setMasterUserPassword(masterUserPassword);
}
/**
*
* The meaning of this parameter differs according to the database engine you use.
*
*
* - Amazon Aurora MySQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created. If
* this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB cluster.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 alphanumeric characters.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon Aurora PostgreSQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is created. A
* database named postgres
is always created. If this parameter is specified, an additional database
* with this name is created.
*
*
* Constraints:
*
*
* -
*
* It must contain 1 to 63 alphanumeric characters.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for Oracle
* -
*
* The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the default value
* is ORCL
for non-CDBs and RDSCDB
for CDBs.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 8 alphanumeric characters.
*
*
* -
*
* Must contain a letter.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* Not applicable. Must be null.
*
*
* - RDS for Db2
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance. In some cases, we recommend that you don't add a database name. For more
* information, see Additional considerations in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MariaDB
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MySQL
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for Oracle
* -
*
* The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is
* ORCL
. You can't specify the string null
, or any other reserved word, for
* DBName
.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 8 characters.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* The name of the database to create when the DB instance is created. A database named postgres
is
* always created. If this parameter is specified, an additional database with this name is created.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 63 letters, numbers, or underscores.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for SQL Server
* -
*
* Not applicable. Must be null.
*
*
*
*
* @param dBName
* The meaning of this parameter differs according to the database engine you use.
*
* - Amazon Aurora MySQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created.
* If this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB
* cluster.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 alphanumeric characters.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon Aurora PostgreSQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is
* created. A database named postgres
is always created. If this parameter is specified, an
* additional database with this name is created.
*
*
* Constraints:
*
*
* -
*
* It must contain 1 to 63 alphanumeric characters.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for Oracle
* -
*
* The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the
* default value is ORCL
for non-CDBs and RDSCDB
for CDBs.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 8 alphanumeric characters.
*
*
* -
*
* Must contain a letter.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* Not applicable. Must be null.
*
*
* - RDS for Db2
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance. In some cases, we recommend that you don't add a database name.
* For more information, see Additional considerations in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MariaDB
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MySQL
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for Oracle
* -
*
* The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is
* ORCL
. You can't specify the string null
, or any other reserved word, for
* DBName
.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 8 characters.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* The name of the database to create when the DB instance is created. A database named postgres
* is always created. If this parameter is specified, an additional database with this name is created.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 63 letters, numbers, or underscores.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for SQL Server
* -
*
* Not applicable. Must be null.
*
*
*/
public void setDBName(String dBName) {
this.dBName = dBName;
}
/**
*
* The meaning of this parameter differs according to the database engine you use.
*
*
* - Amazon Aurora MySQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created. If
* this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB cluster.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 alphanumeric characters.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon Aurora PostgreSQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is created. A
* database named postgres
is always created. If this parameter is specified, an additional database
* with this name is created.
*
*
* Constraints:
*
*
* -
*
* It must contain 1 to 63 alphanumeric characters.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for Oracle
* -
*
* The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the default value
* is ORCL
for non-CDBs and RDSCDB
for CDBs.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 8 alphanumeric characters.
*
*
* -
*
* Must contain a letter.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* Not applicable. Must be null.
*
*
* - RDS for Db2
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance. In some cases, we recommend that you don't add a database name. For more
* information, see Additional considerations in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MariaDB
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MySQL
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for Oracle
* -
*
* The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is
* ORCL
. You can't specify the string null
, or any other reserved word, for
* DBName
.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 8 characters.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* The name of the database to create when the DB instance is created. A database named postgres
is
* always created. If this parameter is specified, an additional database with this name is created.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 63 letters, numbers, or underscores.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for SQL Server
* -
*
* Not applicable. Must be null.
*
*
*
*
* @return The meaning of this parameter differs according to the database engine you use.
*
* - Amazon Aurora MySQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is
* created. If this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the
* DB cluster.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 alphanumeric characters.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon Aurora PostgreSQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is
* created. A database named postgres
is always created. If this parameter is specified, an
* additional database with this name is created.
*
*
* Constraints:
*
*
* -
*
* It must contain 1 to 63 alphanumeric characters.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for Oracle
* -
*
* The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the
* default value is ORCL
for non-CDBs and RDSCDB
for CDBs.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 8 alphanumeric characters.
*
*
* -
*
* Must contain a letter.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* Not applicable. Must be null.
*
*
* - RDS for Db2
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance. In some cases, we recommend that you don't add a database name.
* For more information, see Additional considerations in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MariaDB
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MySQL
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for Oracle
* -
*
* The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is
* ORCL
. You can't specify the string null
, or any other reserved word, for
* DBName
.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 8 characters.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* The name of the database to create when the DB instance is created. A database named
* postgres
is always created. If this parameter is specified, an additional database with this
* name is created.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 63 letters, numbers, or underscores.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for SQL Server
* -
*
* Not applicable. Must be null.
*
*
*/
public String getDBName() {
return this.dBName;
}
/**
*
* The meaning of this parameter differs according to the database engine you use.
*
*
* - Amazon Aurora MySQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created. If
* this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB cluster.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 alphanumeric characters.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon Aurora PostgreSQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is created. A
* database named postgres
is always created. If this parameter is specified, an additional database
* with this name is created.
*
*
* Constraints:
*
*
* -
*
* It must contain 1 to 63 alphanumeric characters.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for Oracle
* -
*
* The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the default value
* is ORCL
for non-CDBs and RDSCDB
for CDBs.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 8 alphanumeric characters.
*
*
* -
*
* Must contain a letter.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* Not applicable. Must be null.
*
*
* - RDS for Db2
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance. In some cases, we recommend that you don't add a database name. For more
* information, see Additional considerations in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MariaDB
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MySQL
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for Oracle
* -
*
* The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is
* ORCL
. You can't specify the string null
, or any other reserved word, for
* DBName
.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 8 characters.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* The name of the database to create when the DB instance is created. A database named postgres
is
* always created. If this parameter is specified, an additional database with this name is created.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 63 letters, numbers, or underscores.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for SQL Server
* -
*
* Not applicable. Must be null.
*
*
*
*
* @param dBName
* The meaning of this parameter differs according to the database engine you use.
*
* - Amazon Aurora MySQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created.
* If this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB
* cluster.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 alphanumeric characters.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon Aurora PostgreSQL
* -
*
* The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is
* created. A database named postgres
is always created. If this parameter is specified, an
* additional database with this name is created.
*
*
* Constraints:
*
*
* -
*
* It must contain 1 to 63 alphanumeric characters.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for Oracle
* -
*
* The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the
* default value is ORCL
for non-CDBs and RDSCDB
for CDBs.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 8 alphanumeric characters.
*
*
* -
*
* Must contain a letter.
*
*
* -
*
* Can't be a word reserved by the database engine.
*
*
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* Not applicable. Must be null.
*
*
* - RDS for Db2
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance. In some cases, we recommend that you don't add a database name.
* For more information, see Additional considerations in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MariaDB
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for MySQL
* -
*
* The name of the database to create when the DB instance is created. If this parameter isn't specified, no
* database is created in the DB instance.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 64 letters or numbers.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for Oracle
* -
*
* The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is
* ORCL
. You can't specify the string null
, or any other reserved word, for
* DBName
.
*
*
* Default: ORCL
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 8 characters.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* The name of the database to create when the DB instance is created. A database named postgres
* is always created. If this parameter is specified, an additional database with this name is created.
*
*
* Constraints:
*
*
* -
*
* Must contain 1 to 63 letters, numbers, or underscores.
*
*
* -
*
* Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
*
*
* -
*
* Can't be a word reserved by the specified database engine.
*
*
*
*
* - RDS for SQL Server
* -
*
* Not applicable. Must be null.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDBName(String dBName) {
setDBName(dBName);
return this;
}
/**
*
* The identifier for this DB instance. 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.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* Example: mydbinstance
*
*
* @param dBInstanceIdentifier
* The identifier for this DB instance. 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.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* Example: mydbinstance
*/
public void setDBInstanceIdentifier(String dBInstanceIdentifier) {
this.dBInstanceIdentifier = dBInstanceIdentifier;
}
/**
*
* The identifier for this DB instance. 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.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* Example: mydbinstance
*
*
* @return The identifier for this DB instance. 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.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* Example: mydbinstance
*/
public String getDBInstanceIdentifier() {
return this.dBInstanceIdentifier;
}
/**
*
* The identifier for this DB instance. 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.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* Example: mydbinstance
*
*
* @param dBInstanceIdentifier
* The identifier for this DB instance. 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.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* Example: mydbinstance
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDBInstanceIdentifier(String dBInstanceIdentifier) {
setDBInstanceIdentifier(dBInstanceIdentifier);
return this;
}
/**
*
* The amount of storage in gibibytes (GiB) to allocate for the DB instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount
* of data in your database increases, though you are only charged for the space that you use in an Aurora cluster
* volume.
*
*
* - Amazon RDS Custom
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384
* for RDS Custom for SQL Server.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS
* Custom for SQL Server.
*
*
*
*
* - RDS for Db2
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
*
*
* - RDS for MariaDB
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for MySQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for Oracle
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 10 to 3072.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for SQL Server
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 16384.
*
*
*
*
* -
*
* Provisioned IOPS storage (io1, io2):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 100 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 100 to 16384.
*
*
*
*
* -
*
* Magnetic storage (standard):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 1024.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 1024.
*
*
*
*
*
*
*
*
* @param allocatedStorage
* The amount of storage in gibibytes (GiB) to allocate for the DB instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the
* amount of data in your database increases, though you are only charged for the space that you use in an
* Aurora cluster volume.
*
*
* - Amazon RDS Custom
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle,
* 16384 for RDS Custom for SQL Server.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384
* for RDS Custom for SQL Server.
*
*
*
*
* - RDS for Db2
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
*
*
* - RDS for MariaDB
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for MySQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for Oracle
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 10 to 3072.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for SQL Server
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 16384.
*
*
*
*
* -
*
* Provisioned IOPS storage (io1, io2):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 100 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 100 to 16384.
*
*
*
*
* -
*
* Magnetic storage (standard):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 1024.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 1024.
*
*
*
*
*
*
*/
public void setAllocatedStorage(Integer allocatedStorage) {
this.allocatedStorage = allocatedStorage;
}
/**
*
* The amount of storage in gibibytes (GiB) to allocate for the DB instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount
* of data in your database increases, though you are only charged for the space that you use in an Aurora cluster
* volume.
*
*
* - Amazon RDS Custom
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384
* for RDS Custom for SQL Server.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS
* Custom for SQL Server.
*
*
*
*
* - RDS for Db2
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
*
*
* - RDS for MariaDB
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for MySQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for Oracle
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 10 to 3072.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for SQL Server
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 16384.
*
*
*
*
* -
*
* Provisioned IOPS storage (io1, io2):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 100 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 100 to 16384.
*
*
*
*
* -
*
* Magnetic storage (standard):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 1024.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 1024.
*
*
*
*
*
*
*
*
* @return The amount of storage in gibibytes (GiB) to allocate for the DB instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as
* the amount of data in your database increases, though you are only charged for the space that you use in
* an Aurora cluster volume.
*
*
* - Amazon RDS Custom
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle,
* 16384 for RDS Custom for SQL Server.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384
* for RDS Custom for SQL Server.
*
*
*
*
* - RDS for Db2
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
*
*
* - RDS for MariaDB
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for MySQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for Oracle
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 10 to 3072.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for SQL Server
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 16384.
*
*
*
*
* -
*
* Provisioned IOPS storage (io1, io2):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 100 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 100 to 16384.
*
*
*
*
* -
*
* Magnetic storage (standard):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 1024.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 1024.
*
*
*
*
*
*
*/
public Integer getAllocatedStorage() {
return this.allocatedStorage;
}
/**
*
* The amount of storage in gibibytes (GiB) to allocate for the DB instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount
* of data in your database increases, though you are only charged for the space that you use in an Aurora cluster
* volume.
*
*
* - Amazon RDS Custom
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384
* for RDS Custom for SQL Server.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS
* Custom for SQL Server.
*
*
*
*
* - RDS for Db2
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
*
*
* - RDS for MariaDB
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for MySQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for Oracle
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 10 to 3072.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for SQL Server
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 16384.
*
*
*
*
* -
*
* Provisioned IOPS storage (io1, io2):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 100 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 100 to 16384.
*
*
*
*
* -
*
* Magnetic storage (standard):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 1024.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 1024.
*
*
*
*
*
*
*
*
* @param allocatedStorage
* The amount of storage in gibibytes (GiB) to allocate for the DB instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the
* amount of data in your database increases, though you are only charged for the space that you use in an
* Aurora cluster volume.
*
*
* - Amazon RDS Custom
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle,
* 16384 for RDS Custom for SQL Server.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384
* for RDS Custom for SQL Server.
*
*
*
*
* - RDS for Db2
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
*
*
* - RDS for MariaDB
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for MySQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for Oracle
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 10 to 3072.
*
*
*
*
* - RDS for PostgreSQL
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.
*
*
* -
*
* Provisioned IOPS storage (io1, io2): Must be an integer from 100 to 65536.
*
*
* -
*
* Magnetic storage (standard): Must be an integer from 5 to 3072.
*
*
*
*
* - RDS for SQL Server
* -
*
* Constraints to the amount of storage for each storage type are the following:
*
*
* -
*
* General Purpose (SSD) storage (gp2, gp3):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 16384.
*
*
*
*
* -
*
* Provisioned IOPS storage (io1, io2):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 100 to 16384.
*
*
* -
*
* Web and Express editions: Must be an integer from 100 to 16384.
*
*
*
*
* -
*
* Magnetic storage (standard):
*
*
* -
*
* Enterprise and Standard editions: Must be an integer from 20 to 1024.
*
*
* -
*
* Web and Express editions: Must be an integer from 20 to 1024.
*
*
*
*
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withAllocatedStorage(Integer allocatedStorage) {
setAllocatedStorage(allocatedStorage);
return this;
}
/**
*
* The compute and memory capacity of the DB instance, for example db.m5.large
. Not all DB instance
* classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB
* instance classes, and availability for your engine, see DB instance
* classes in the Amazon RDS User Guide or Aurora DB
* instance classes in the Amazon Aurora User Guide.
*
*
* @param dBInstanceClass
* The compute and memory capacity of the DB instance, for example db.m5.large
. Not all DB
* instance classes are available in all Amazon Web Services Regions, or for all database engines. For the
* full list of DB instance classes, and availability for your engine, see DB instance
* classes in the Amazon RDS User Guide or Aurora
* DB instance classes in the Amazon Aurora User Guide.
*/
public void setDBInstanceClass(String dBInstanceClass) {
this.dBInstanceClass = dBInstanceClass;
}
/**
*
* The compute and memory capacity of the DB instance, for example db.m5.large
. Not all DB instance
* classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB
* instance classes, and availability for your engine, see DB instance
* classes in the Amazon RDS User Guide or Aurora DB
* instance classes in the Amazon Aurora User Guide.
*
*
* @return The compute and memory capacity of the DB instance, for example db.m5.large
. Not all DB
* instance classes are available in all Amazon Web Services Regions, or for all database engines. For the
* full list of DB instance classes, and availability for your engine, see DB instance
* classes in the Amazon RDS User Guide or Aurora
* DB instance classes in the Amazon Aurora User Guide.
*/
public String getDBInstanceClass() {
return this.dBInstanceClass;
}
/**
*
* The compute and memory capacity of the DB instance, for example db.m5.large
. Not all DB instance
* classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB
* instance classes, and availability for your engine, see DB instance
* classes in the Amazon RDS User Guide or Aurora DB
* instance classes in the Amazon Aurora User Guide.
*
*
* @param dBInstanceClass
* The compute and memory capacity of the DB instance, for example db.m5.large
. Not all DB
* instance classes are available in all Amazon Web Services Regions, or for all database engines. For the
* full list of DB instance classes, and availability for your engine, see DB instance
* classes in the Amazon RDS User Guide or Aurora
* DB instance classes in the Amazon Aurora User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDBInstanceClass(String dBInstanceClass) {
setDBInstanceClass(dBInstanceClass);
return this;
}
/**
*
* The database engine to use for this DB instance.
*
*
* Not every database engine is available in every Amazon Web Services Region.
*
*
* Valid Values:
*
*
* -
*
* aurora-mysql
(for Aurora MySQL DB instances)
*
*
* -
*
* aurora-postgresql
(for Aurora PostgreSQL DB instances)
*
*
* -
*
* custom-oracle-ee
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-ee-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-sqlserver-ee
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-se
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-web
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*
* @param engine
* The database engine to use for this DB instance.
*
* Not every database engine is available in every Amazon Web Services Region.
*
*
* Valid Values:
*
*
* -
*
* aurora-mysql
(for Aurora MySQL DB instances)
*
*
* -
*
* aurora-postgresql
(for Aurora PostgreSQL DB instances)
*
*
* -
*
* custom-oracle-ee
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-ee-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-sqlserver-ee
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-se
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-web
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*/
public void setEngine(String engine) {
this.engine = engine;
}
/**
*
* The database engine to use for this DB instance.
*
*
* Not every database engine is available in every Amazon Web Services Region.
*
*
* Valid Values:
*
*
* -
*
* aurora-mysql
(for Aurora MySQL DB instances)
*
*
* -
*
* aurora-postgresql
(for Aurora PostgreSQL DB instances)
*
*
* -
*
* custom-oracle-ee
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-ee-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-sqlserver-ee
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-se
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-web
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*
* @return The database engine to use for this DB instance.
*
* Not every database engine is available in every Amazon Web Services Region.
*
*
* Valid Values:
*
*
* -
*
* aurora-mysql
(for Aurora MySQL DB instances)
*
*
* -
*
* aurora-postgresql
(for Aurora PostgreSQL DB instances)
*
*
* -
*
* custom-oracle-ee
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-ee-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-sqlserver-ee
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-se
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-web
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*/
public String getEngine() {
return this.engine;
}
/**
*
* The database engine to use for this DB instance.
*
*
* Not every database engine is available in every Amazon Web Services Region.
*
*
* Valid Values:
*
*
* -
*
* aurora-mysql
(for Aurora MySQL DB instances)
*
*
* -
*
* aurora-postgresql
(for Aurora PostgreSQL DB instances)
*
*
* -
*
* custom-oracle-ee
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-ee-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-sqlserver-ee
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-se
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-web
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*
* @param engine
* The database engine to use for this DB instance.
*
* Not every database engine is available in every Amazon Web Services Region.
*
*
* Valid Values:
*
*
* -
*
* aurora-mysql
(for Aurora MySQL DB instances)
*
*
* -
*
* aurora-postgresql
(for Aurora PostgreSQL DB instances)
*
*
* -
*
* custom-oracle-ee
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-ee-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-oracle-se2-cdb
(for RDS Custom for Oracle DB instances)
*
*
* -
*
* custom-sqlserver-ee
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-se
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* custom-sqlserver-web
(for RDS Custom for SQL Server DB instances)
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withEngine(String engine) {
setEngine(engine);
return this;
}
/**
*
* The name for the master user.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the DB
* cluster.
*
*
* This setting is required for RDS DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 16 letters, numbers, or underscores.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't be a reserved word for the chosen database engine.
*
*
*
*
* @param masterUsername
* The name for the master user.
*
* This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the
* DB cluster.
*
*
* This setting is required for RDS DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 16 letters, numbers, or underscores.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't be a reserved word for the chosen database engine.
*
*
*/
public void setMasterUsername(String masterUsername) {
this.masterUsername = masterUsername;
}
/**
*
* The name for the master user.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the DB
* cluster.
*
*
* This setting is required for RDS DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 16 letters, numbers, or underscores.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't be a reserved word for the chosen database engine.
*
*
*
*
* @return The name for the master user.
*
* This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the
* DB cluster.
*
*
* This setting is required for RDS DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 16 letters, numbers, or underscores.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't be a reserved word for the chosen database engine.
*
*
*/
public String getMasterUsername() {
return this.masterUsername;
}
/**
*
* The name for the master user.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the DB
* cluster.
*
*
* This setting is required for RDS DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 16 letters, numbers, or underscores.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't be a reserved word for the chosen database engine.
*
*
*
*
* @param masterUsername
* The name for the master user.
*
* This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the
* DB cluster.
*
*
* This setting is required for RDS DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 16 letters, numbers, or underscores.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't be a reserved word for the chosen database engine.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withMasterUsername(String masterUsername) {
setMasterUsername(masterUsername);
return this;
}
/**
*
* The password for the master user.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by the DB
* cluster.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if ManageMasterUserPassword
is turned on.
*
*
* -
*
* Can include any printable ASCII character except "/",
* """, or "@". For RDS for Oracle, can't include the "&" (ampersand) or the "'" (single quotes) character.
*
*
*
*
* Length Constraints:
*
*
* -
*
* RDS for Db2 - Must contain from 8 to 255 characters.
*
*
* -
*
* RDS for MariaDB - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.
*
*
* -
*
* RDS for MySQL - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Oracle - Must contain from 8 to 30 characters.
*
*
* -
*
* RDS for PostgreSQL - Must contain from 8 to 128 characters.
*
*
*
*
* @param masterUserPassword
* The password for the master user.
*
* This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by
* the DB cluster.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if ManageMasterUserPassword
is turned on.
*
*
* -
*
* Can include any printable ASCII character except "/",
* """, or "@". For RDS for Oracle, can't include the "&" (ampersand) or the "'" (single quotes)
* character.
*
*
*
*
* Length Constraints:
*
*
* -
*
* RDS for Db2 - Must contain from 8 to 255 characters.
*
*
* -
*
* RDS for MariaDB - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.
*
*
* -
*
* RDS for MySQL - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Oracle - Must contain from 8 to 30 characters.
*
*
* -
*
* RDS for PostgreSQL - Must contain from 8 to 128 characters.
*
*
*/
public void setMasterUserPassword(String masterUserPassword) {
this.masterUserPassword = masterUserPassword;
}
/**
*
* The password for the master user.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by the DB
* cluster.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if ManageMasterUserPassword
is turned on.
*
*
* -
*
* Can include any printable ASCII character except "/",
* """, or "@". For RDS for Oracle, can't include the "&" (ampersand) or the "'" (single quotes) character.
*
*
*
*
* Length Constraints:
*
*
* -
*
* RDS for Db2 - Must contain from 8 to 255 characters.
*
*
* -
*
* RDS for MariaDB - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.
*
*
* -
*
* RDS for MySQL - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Oracle - Must contain from 8 to 30 characters.
*
*
* -
*
* RDS for PostgreSQL - Must contain from 8 to 128 characters.
*
*
*
*
* @return The password for the master user.
*
* This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by
* the DB cluster.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if ManageMasterUserPassword
is turned on.
*
*
* -
*
* Can include any printable ASCII character except "/",
* """, or "@". For RDS for Oracle, can't include the "&" (ampersand) or the "'" (single quotes)
* character.
*
*
*
*
* Length Constraints:
*
*
* -
*
* RDS for Db2 - Must contain from 8 to 255 characters.
*
*
* -
*
* RDS for MariaDB - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.
*
*
* -
*
* RDS for MySQL - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Oracle - Must contain from 8 to 30 characters.
*
*
* -
*
* RDS for PostgreSQL - Must contain from 8 to 128 characters.
*
*
*/
public String getMasterUserPassword() {
return this.masterUserPassword;
}
/**
*
* The password for the master user.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by the DB
* cluster.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if ManageMasterUserPassword
is turned on.
*
*
* -
*
* Can include any printable ASCII character except "/",
* """, or "@". For RDS for Oracle, can't include the "&" (ampersand) or the "'" (single quotes) character.
*
*
*
*
* Length Constraints:
*
*
* -
*
* RDS for Db2 - Must contain from 8 to 255 characters.
*
*
* -
*
* RDS for MariaDB - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.
*
*
* -
*
* RDS for MySQL - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Oracle - Must contain from 8 to 30 characters.
*
*
* -
*
* RDS for PostgreSQL - Must contain from 8 to 128 characters.
*
*
*
*
* @param masterUserPassword
* The password for the master user.
*
* This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by
* the DB cluster.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if ManageMasterUserPassword
is turned on.
*
*
* -
*
* Can include any printable ASCII character except "/",
* """, or "@". For RDS for Oracle, can't include the "&" (ampersand) or the "'" (single quotes)
* character.
*
*
*
*
* Length Constraints:
*
*
* -
*
* RDS for Db2 - Must contain from 8 to 255 characters.
*
*
* -
*
* RDS for MariaDB - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.
*
*
* -
*
* RDS for MySQL - Must contain from 8 to 41 characters.
*
*
* -
*
* RDS for Oracle - Must contain from 8 to 30 characters.
*
*
* -
*
* RDS for PostgreSQL - Must contain from 8 to 128 characters.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withMasterUserPassword(String masterUserPassword) {
setMasterUserPassword(masterUserPassword);
return this;
}
/**
*
* A list of DB security groups to associate with this DB instance.
*
*
* This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB instances. Use
* the VpcSecurityGroupIds
setting instead.
*
*
* @return A list of DB security groups to associate with this DB instance.
*
* This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB
* instances. Use the VpcSecurityGroupIds
setting instead.
*/
public java.util.List getDBSecurityGroups() {
if (dBSecurityGroups == null) {
dBSecurityGroups = new com.amazonaws.internal.SdkInternalList();
}
return dBSecurityGroups;
}
/**
*
* A list of DB security groups to associate with this DB instance.
*
*
* This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB instances. Use
* the VpcSecurityGroupIds
setting instead.
*
*
* @param dBSecurityGroups
* A list of DB security groups to associate with this DB instance.
*
* This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB
* instances. Use the VpcSecurityGroupIds
setting instead.
*/
public void setDBSecurityGroups(java.util.Collection dBSecurityGroups) {
if (dBSecurityGroups == null) {
this.dBSecurityGroups = null;
return;
}
this.dBSecurityGroups = new com.amazonaws.internal.SdkInternalList(dBSecurityGroups);
}
/**
*
* A list of DB security groups to associate with this DB instance.
*
*
* This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB instances. Use
* the VpcSecurityGroupIds
setting instead.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setDBSecurityGroups(java.util.Collection)} or {@link #withDBSecurityGroups(java.util.Collection)} if you
* want to override the existing values.
*
*
* @param dBSecurityGroups
* A list of DB security groups to associate with this DB instance.
*
* This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB
* instances. Use the VpcSecurityGroupIds
setting instead.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDBSecurityGroups(String... dBSecurityGroups) {
if (this.dBSecurityGroups == null) {
setDBSecurityGroups(new com.amazonaws.internal.SdkInternalList(dBSecurityGroups.length));
}
for (String ele : dBSecurityGroups) {
this.dBSecurityGroups.add(ele);
}
return this;
}
/**
*
* A list of DB security groups to associate with this DB instance.
*
*
* This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB instances. Use
* the VpcSecurityGroupIds
setting instead.
*
*
* @param dBSecurityGroups
* A list of DB security groups to associate with this DB instance.
*
* This setting applies to the legacy EC2-Classic platform, which is no longer used to create new DB
* instances. Use the VpcSecurityGroupIds
setting instead.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDBSecurityGroups(java.util.Collection dBSecurityGroups) {
setDBSecurityGroups(dBSecurityGroups);
return this;
}
/**
*
* A list of Amazon EC2 VPC security groups to associate with this DB instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups is
* managed by the DB cluster.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*
*
* @return A list of Amazon EC2 VPC security groups to associate with this DB instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups
* is managed by the DB cluster.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*/
public java.util.List getVpcSecurityGroupIds() {
if (vpcSecurityGroupIds == null) {
vpcSecurityGroupIds = new com.amazonaws.internal.SdkInternalList();
}
return vpcSecurityGroupIds;
}
/**
*
* A list of Amazon EC2 VPC security groups to associate with this DB instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups is
* managed by the DB cluster.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*
*
* @param vpcSecurityGroupIds
* A list of Amazon EC2 VPC security groups to associate with this DB instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups
* is managed by the DB cluster.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*/
public void setVpcSecurityGroupIds(java.util.Collection vpcSecurityGroupIds) {
if (vpcSecurityGroupIds == null) {
this.vpcSecurityGroupIds = null;
return;
}
this.vpcSecurityGroupIds = new com.amazonaws.internal.SdkInternalList(vpcSecurityGroupIds);
}
/**
*
* A list of Amazon EC2 VPC security groups to associate with this DB instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups is
* managed by the DB cluster.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setVpcSecurityGroupIds(java.util.Collection)} or {@link #withVpcSecurityGroupIds(java.util.Collection)}
* if you want to override the existing values.
*
*
* @param vpcSecurityGroupIds
* A list of Amazon EC2 VPC security groups to associate with this DB instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups
* is managed by the DB cluster.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds) {
if (this.vpcSecurityGroupIds == null) {
setVpcSecurityGroupIds(new com.amazonaws.internal.SdkInternalList(vpcSecurityGroupIds.length));
}
for (String ele : vpcSecurityGroupIds) {
this.vpcSecurityGroupIds.add(ele);
}
return this;
}
/**
*
* A list of Amazon EC2 VPC security groups to associate with this DB instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups is
* managed by the DB cluster.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*
*
* @param vpcSecurityGroupIds
* A list of Amazon EC2 VPC security groups to associate with this DB instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. The associated list of EC2 VPC security groups
* is managed by the DB cluster.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withVpcSecurityGroupIds(java.util.Collection vpcSecurityGroupIds) {
setVpcSecurityGroupIds(vpcSecurityGroupIds);
return this;
}
/**
*
* The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services Regions and
* Availability Zones, see Regions
* and Availability Zones.
*
*
* For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones.
* Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you
* don't specify one.
*
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
*
*
* Constraints:
*
*
* -
*
* The AvailabilityZone
parameter can't be specified if the DB instance is a Multi-AZ deployment.
*
*
* -
*
* The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.
*
*
*
*
* Example: us-east-1d
*
*
* @param availabilityZone
* The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services
* Regions and Availability Zones, see Regions and Availability Zones.
*
* For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability
* Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability
* Zone if you don't specify one.
*
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
*
*
* Constraints:
*
*
* -
*
* The AvailabilityZone
parameter can't be specified if the DB instance is a Multi-AZ
* deployment.
*
*
* -
*
* The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.
*
*
*
*
* Example: us-east-1d
*/
public void setAvailabilityZone(String availabilityZone) {
this.availabilityZone = availabilityZone;
}
/**
*
* The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services Regions and
* Availability Zones, see Regions
* and Availability Zones.
*
*
* For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones.
* Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you
* don't specify one.
*
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
*
*
* Constraints:
*
*
* -
*
* The AvailabilityZone
parameter can't be specified if the DB instance is a Multi-AZ deployment.
*
*
* -
*
* The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.
*
*
*
*
* Example: us-east-1d
*
*
* @return The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services
* Regions and Availability Zones, see Regions and Availability Zones.
*
* For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability
* Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability
* Zone if you don't specify one.
*
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
*
*
* Constraints:
*
*
* -
*
* The AvailabilityZone
parameter can't be specified if the DB instance is a Multi-AZ
* deployment.
*
*
* -
*
* The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.
*
*
*
*
* Example: us-east-1d
*/
public String getAvailabilityZone() {
return this.availabilityZone;
}
/**
*
* The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services Regions and
* Availability Zones, see Regions
* and Availability Zones.
*
*
* For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones.
* Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you
* don't specify one.
*
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
*
*
* Constraints:
*
*
* -
*
* The AvailabilityZone
parameter can't be specified if the DB instance is a Multi-AZ deployment.
*
*
* -
*
* The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.
*
*
*
*
* Example: us-east-1d
*
*
* @param availabilityZone
* The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services
* Regions and Availability Zones, see Regions and Availability Zones.
*
* For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability
* Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability
* Zone if you don't specify one.
*
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
*
*
* Constraints:
*
*
* -
*
* The AvailabilityZone
parameter can't be specified if the DB instance is a Multi-AZ
* deployment.
*
*
* -
*
* The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.
*
*
*
*
* Example: us-east-1d
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withAvailabilityZone(String availabilityZone) {
setAvailabilityZone(availabilityZone);
return this;
}
/**
*
* A DB subnet group to associate with this DB instance.
*
*
* Constraints:
*
*
* -
*
* Must match the name of an existing DB subnet group.
*
*
* -
*
* Must not be default
.
*
*
*
*
* Example: mydbsubnetgroup
*
*
* @param dBSubnetGroupName
* A DB subnet group to associate with this DB instance.
*
* Constraints:
*
*
* -
*
* Must match the name of an existing DB subnet group.
*
*
* -
*
* Must not be default
.
*
*
*
*
* Example: mydbsubnetgroup
*/
public void setDBSubnetGroupName(String dBSubnetGroupName) {
this.dBSubnetGroupName = dBSubnetGroupName;
}
/**
*
* A DB subnet group to associate with this DB instance.
*
*
* Constraints:
*
*
* -
*
* Must match the name of an existing DB subnet group.
*
*
* -
*
* Must not be default
.
*
*
*
*
* Example: mydbsubnetgroup
*
*
* @return A DB subnet group to associate with this DB instance.
*
* Constraints:
*
*
* -
*
* Must match the name of an existing DB subnet group.
*
*
* -
*
* Must not be default
.
*
*
*
*
* Example: mydbsubnetgroup
*/
public String getDBSubnetGroupName() {
return this.dBSubnetGroupName;
}
/**
*
* A DB subnet group to associate with this DB instance.
*
*
* Constraints:
*
*
* -
*
* Must match the name of an existing DB subnet group.
*
*
* -
*
* Must not be default
.
*
*
*
*
* Example: mydbsubnetgroup
*
*
* @param dBSubnetGroupName
* A DB subnet group to associate with this DB instance.
*
* Constraints:
*
*
* -
*
* Must match the name of an existing DB subnet group.
*
*
* -
*
* Must not be default
.
*
*
*
*
* Example: mydbsubnetgroup
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDBSubnetGroupName(String dBSubnetGroupName) {
setDBSubnetGroupName(dBSubnetGroupName);
return this;
}
/**
*
* The time range each week during which system maintenance can occur. For more information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide.
*
*
* The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services
* Region, occurring on a random day of the week.
*
*
* Constraints:
*
*
* -
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
*
* -
*
* The day values must be mon | tue | wed | thu | fri | sat | sun
.
*
*
* -
*
* Must be in Universal Coordinated Time (UTC).
*
*
* -
*
* Must not conflict with the preferred backup window.
*
*
* -
*
* Must be at least 30 minutes.
*
*
*
*
* @param preferredMaintenanceWindow
* The time range each week during which system maintenance can occur. For more information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide.
*
* The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web
* Services Region, occurring on a random day of the week.
*
*
* Constraints:
*
*
* -
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
*
* -
*
* The day values must be mon | tue | wed | thu | fri | sat | sun
.
*
*
* -
*
* Must be in Universal Coordinated Time (UTC).
*
*
* -
*
* Must not conflict with the preferred backup window.
*
*
* -
*
* Must be at least 30 minutes.
*
*
*/
public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow) {
this.preferredMaintenanceWindow = preferredMaintenanceWindow;
}
/**
*
* The time range each week during which system maintenance can occur. For more information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide.
*
*
* The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services
* Region, occurring on a random day of the week.
*
*
* Constraints:
*
*
* -
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
*
* -
*
* The day values must be mon | tue | wed | thu | fri | sat | sun
.
*
*
* -
*
* Must be in Universal Coordinated Time (UTC).
*
*
* -
*
* Must not conflict with the preferred backup window.
*
*
* -
*
* Must be at least 30 minutes.
*
*
*
*
* @return The time range each week during which system maintenance can occur. For more information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide.
*
* The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web
* Services Region, occurring on a random day of the week.
*
*
* Constraints:
*
*
* -
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
*
* -
*
* The day values must be mon | tue | wed | thu | fri | sat | sun
.
*
*
* -
*
* Must be in Universal Coordinated Time (UTC).
*
*
* -
*
* Must not conflict with the preferred backup window.
*
*
* -
*
* Must be at least 30 minutes.
*
*
*/
public String getPreferredMaintenanceWindow() {
return this.preferredMaintenanceWindow;
}
/**
*
* The time range each week during which system maintenance can occur. For more information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide.
*
*
* The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services
* Region, occurring on a random day of the week.
*
*
* Constraints:
*
*
* -
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
*
* -
*
* The day values must be mon | tue | wed | thu | fri | sat | sun
.
*
*
* -
*
* Must be in Universal Coordinated Time (UTC).
*
*
* -
*
* Must not conflict with the preferred backup window.
*
*
* -
*
* Must be at least 30 minutes.
*
*
*
*
* @param preferredMaintenanceWindow
* The time range each week during which system maintenance can occur. For more information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide.
*
* The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web
* Services Region, occurring on a random day of the week.
*
*
* Constraints:
*
*
* -
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
*
* -
*
* The day values must be mon | tue | wed | thu | fri | sat | sun
.
*
*
* -
*
* Must be in Universal Coordinated Time (UTC).
*
*
* -
*
* Must not conflict with the preferred backup window.
*
*
* -
*
* Must be at least 30 minutes.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow) {
setPreferredMaintenanceWindow(preferredMaintenanceWindow);
return this;
}
/**
*
* The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then Amazon
* RDS uses the default DB parameter group for the specified DB engine and version.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* The first character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* @param dBParameterGroupName
* The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then
* Amazon RDS uses the default DB parameter group for the specified DB engine and version.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* The first character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*/
public void setDBParameterGroupName(String dBParameterGroupName) {
this.dBParameterGroupName = dBParameterGroupName;
}
/**
*
* The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then Amazon
* RDS uses the default DB parameter group for the specified DB engine and version.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* The first character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* @return The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then
* Amazon RDS uses the default DB parameter group for the specified DB engine and version.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* The first character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*/
public String getDBParameterGroupName() {
return this.dBParameterGroupName;
}
/**
*
* The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then Amazon
* RDS uses the default DB parameter group for the specified DB engine and version.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* The first character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* @param dBParameterGroupName
* The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then
* Amazon RDS uses the default DB parameter group for the specified DB engine and version.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Constraints:
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* The first character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDBParameterGroupName(String dBParameterGroupName) {
setDBParameterGroupName(dBParameterGroupName);
return this;
}
/**
*
* The number of days for which automated backups are retained. Setting this parameter to a positive number enables
* backups. Setting this parameter to 0
disables automated backups.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed
* by the DB cluster.
*
*
* Default: 1
*
*
* Constraints:
*
*
* -
*
* Must be a value from 0 to 35.
*
*
* -
*
* Can't be set to 0 if the DB instance is a source to read replicas.
*
*
* -
*
* Can't be set to 0 for an RDS Custom for Oracle DB instance.
*
*
*
*
* @param backupRetentionPeriod
* The number of days for which automated backups are retained. Setting this parameter to a positive number
* enables backups. Setting this parameter to 0
disables automated backups.
*
* This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is
* managed by the DB cluster.
*
*
* Default: 1
*
*
* Constraints:
*
*
* -
*
* Must be a value from 0 to 35.
*
*
* -
*
* Can't be set to 0 if the DB instance is a source to read replicas.
*
*
* -
*
* Can't be set to 0 for an RDS Custom for Oracle DB instance.
*
*
*/
public void setBackupRetentionPeriod(Integer backupRetentionPeriod) {
this.backupRetentionPeriod = backupRetentionPeriod;
}
/**
*
* The number of days for which automated backups are retained. Setting this parameter to a positive number enables
* backups. Setting this parameter to 0
disables automated backups.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed
* by the DB cluster.
*
*
* Default: 1
*
*
* Constraints:
*
*
* -
*
* Must be a value from 0 to 35.
*
*
* -
*
* Can't be set to 0 if the DB instance is a source to read replicas.
*
*
* -
*
* Can't be set to 0 for an RDS Custom for Oracle DB instance.
*
*
*
*
* @return The number of days for which automated backups are retained. Setting this parameter to a positive number
* enables backups. Setting this parameter to 0
disables automated backups.
*
* This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is
* managed by the DB cluster.
*
*
* Default: 1
*
*
* Constraints:
*
*
* -
*
* Must be a value from 0 to 35.
*
*
* -
*
* Can't be set to 0 if the DB instance is a source to read replicas.
*
*
* -
*
* Can't be set to 0 for an RDS Custom for Oracle DB instance.
*
*
*/
public Integer getBackupRetentionPeriod() {
return this.backupRetentionPeriod;
}
/**
*
* The number of days for which automated backups are retained. Setting this parameter to a positive number enables
* backups. Setting this parameter to 0
disables automated backups.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed
* by the DB cluster.
*
*
* Default: 1
*
*
* Constraints:
*
*
* -
*
* Must be a value from 0 to 35.
*
*
* -
*
* Can't be set to 0 if the DB instance is a source to read replicas.
*
*
* -
*
* Can't be set to 0 for an RDS Custom for Oracle DB instance.
*
*
*
*
* @param backupRetentionPeriod
* The number of days for which automated backups are retained. Setting this parameter to a positive number
* enables backups. Setting this parameter to 0
disables automated backups.
*
* This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is
* managed by the DB cluster.
*
*
* Default: 1
*
*
* Constraints:
*
*
* -
*
* Must be a value from 0 to 35.
*
*
* -
*
* Can't be set to 0 if the DB instance is a source to read replicas.
*
*
* -
*
* Can't be set to 0 for an RDS Custom for Oracle DB instance.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withBackupRetentionPeriod(Integer backupRetentionPeriod) {
setBackupRetentionPeriod(backupRetentionPeriod);
return this;
}
/**
*
* 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 Web Services Region. For more information, see Backup window in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated backups is
* managed by the DB cluster.
*
*
* 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.
*
*
*
*
* @param 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 Web Services Region. For more information, see Backup window in the Amazon RDS User Guide.
*
* This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated
* backups is managed by the DB cluster.
*
*
* 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 setPreferredBackupWindow(String preferredBackupWindow) {
this.preferredBackupWindow = 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 Web Services Region. For more information, see Backup window in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated backups is
* managed by the DB cluster.
*
*
* 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.
*
*
*
*
* @return 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 Web Services Region. For more information, see Backup window in the Amazon RDS User Guide.
*
* This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated
* backups is managed by the DB cluster.
*
*
* 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() {
return this.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 Web Services Region. For more information, see Backup window in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated backups is
* managed by the DB cluster.
*
*
* 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.
*
*
*
*
* @param 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 Web Services Region. For more information, see Backup window in the Amazon RDS User Guide.
*
* This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated
* backups is managed by the DB cluster.
*
*
* 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.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withPreferredBackupWindow(String preferredBackupWindow) {
setPreferredBackupWindow(preferredBackupWindow);
return this;
}
/**
*
* The port number on which the database accepts connections.
*
*
* This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.
*
*
* Valid Values: 1150-65535
*
*
* Default:
*
*
* -
*
* RDS for Db2 - 50000
*
*
* -
*
* RDS for MariaDB - 3306
*
*
* -
*
* RDS for Microsoft SQL Server - 1433
*
*
* -
*
* RDS for MySQL - 3306
*
*
* -
*
* RDS for Oracle - 1521
*
*
* -
*
* RDS for PostgreSQL - 5432
*
*
*
*
* Constraints:
*
*
* -
*
* For RDS for Microsoft SQL Server, the value can't be 1234
, 1434
, 3260
,
* 3343
, 3389
, 47001
, or 49152-49156
.
*
*
*
*
* @param port
* The port number on which the database accepts connections.
*
* This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.
*
*
* Valid Values: 1150-65535
*
*
* Default:
*
*
* -
*
* RDS for Db2 - 50000
*
*
* -
*
* RDS for MariaDB - 3306
*
*
* -
*
* RDS for Microsoft SQL Server - 1433
*
*
* -
*
* RDS for MySQL - 3306
*
*
* -
*
* RDS for Oracle - 1521
*
*
* -
*
* RDS for PostgreSQL - 5432
*
*
*
*
* Constraints:
*
*
* -
*
* For RDS for Microsoft SQL Server, the value can't be 1234
, 1434
,
* 3260
, 3343
, 3389
, 47001
, or 49152-49156
.
*
*
*/
public void setPort(Integer port) {
this.port = port;
}
/**
*
* The port number on which the database accepts connections.
*
*
* This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.
*
*
* Valid Values: 1150-65535
*
*
* Default:
*
*
* -
*
* RDS for Db2 - 50000
*
*
* -
*
* RDS for MariaDB - 3306
*
*
* -
*
* RDS for Microsoft SQL Server - 1433
*
*
* -
*
* RDS for MySQL - 3306
*
*
* -
*
* RDS for Oracle - 1521
*
*
* -
*
* RDS for PostgreSQL - 5432
*
*
*
*
* Constraints:
*
*
* -
*
* For RDS for Microsoft SQL Server, the value can't be 1234
, 1434
, 3260
,
* 3343
, 3389
, 47001
, or 49152-49156
.
*
*
*
*
* @return The port number on which the database accepts connections.
*
* This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.
*
*
* Valid Values: 1150-65535
*
*
* Default:
*
*
* -
*
* RDS for Db2 - 50000
*
*
* -
*
* RDS for MariaDB - 3306
*
*
* -
*
* RDS for Microsoft SQL Server - 1433
*
*
* -
*
* RDS for MySQL - 3306
*
*
* -
*
* RDS for Oracle - 1521
*
*
* -
*
* RDS for PostgreSQL - 5432
*
*
*
*
* Constraints:
*
*
* -
*
* For RDS for Microsoft SQL Server, the value can't be 1234
, 1434
,
* 3260
, 3343
, 3389
, 47001
, or 49152-49156
.
*
*
*/
public Integer getPort() {
return this.port;
}
/**
*
* The port number on which the database accepts connections.
*
*
* This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.
*
*
* Valid Values: 1150-65535
*
*
* Default:
*
*
* -
*
* RDS for Db2 - 50000
*
*
* -
*
* RDS for MariaDB - 3306
*
*
* -
*
* RDS for Microsoft SQL Server - 1433
*
*
* -
*
* RDS for MySQL - 3306
*
*
* -
*
* RDS for Oracle - 1521
*
*
* -
*
* RDS for PostgreSQL - 5432
*
*
*
*
* Constraints:
*
*
* -
*
* For RDS for Microsoft SQL Server, the value can't be 1234
, 1434
, 3260
,
* 3343
, 3389
, 47001
, or 49152-49156
.
*
*
*
*
* @param port
* The port number on which the database accepts connections.
*
* This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.
*
*
* Valid Values: 1150-65535
*
*
* Default:
*
*
* -
*
* RDS for Db2 - 50000
*
*
* -
*
* RDS for MariaDB - 3306
*
*
* -
*
* RDS for Microsoft SQL Server - 1433
*
*
* -
*
* RDS for MySQL - 3306
*
*
* -
*
* RDS for Oracle - 1521
*
*
* -
*
* RDS for PostgreSQL - 5432
*
*
*
*
* Constraints:
*
*
* -
*
* For RDS for Microsoft SQL Server, the value can't be 1234
, 1434
,
* 3260
, 3343
, 3389
, 47001
, or 49152-49156
.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withPort(Integer port) {
setPort(port);
return this;
}
/**
*
* Specifies whether the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone
* parameter if the DB instance is a Multi-AZ deployment.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @param multiAZ
* Specifies whether the DB instance is a Multi-AZ deployment. You can't set the
* AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public void setMultiAZ(Boolean multiAZ) {
this.multiAZ = multiAZ;
}
/**
*
* Specifies whether the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone
* parameter if the DB instance is a Multi-AZ deployment.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @return Specifies whether the DB instance is a Multi-AZ deployment. You can't set the
* AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public Boolean getMultiAZ() {
return this.multiAZ;
}
/**
*
* Specifies whether the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone
* parameter if the DB instance is a Multi-AZ deployment.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @param multiAZ
* Specifies whether the DB instance is a Multi-AZ deployment. You can't set the
* AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withMultiAZ(Boolean multiAZ) {
setMultiAZ(multiAZ);
return this;
}
/**
*
* Specifies whether the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone
* parameter if the DB instance is a Multi-AZ deployment.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @return Specifies whether the DB instance is a Multi-AZ deployment. You can't set the
* AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (DB instance Availability Zones (AZs) are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public Boolean isMultiAZ() {
return this.multiAZ;
}
/**
*
* The version number of the database engine to use.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the DB
* instance uses is managed by the DB cluster.
*
*
* For a list of valid engine versions, use the DescribeDBEngineVersions
operation.
*
*
* The following are the database engines and links to information about the major and minor versions that are
* available with Amazon RDS. Not every database engine is available for every Amazon Web Services Region.
*
*
* - Amazon RDS Custom for Oracle
* -
*
* A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom for
* Oracle. The CEV name has the following format: 19.customized_string. A valid CEV name is
* 19.my_cev1
. For more information, see
* Creating an RDS Custom for Oracle DB instance in the Amazon RDS User Guide.
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* See RDS Custom for
* SQL Server general requirements in the Amazon RDS User Guide.
*
*
* - RDS for Db2
* -
*
* For information, see Db2 on
* Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for MariaDB
* -
*
* For information, see MariaDB on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Microsoft SQL Server
* -
*
* For information, see Microsoft SQL Server versions on Amazon RDS in the Amazon RDS User Guide.
*
*
* - RDS for MySQL
* -
*
* For information, see MySQL on
* Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Oracle
* -
*
* For information, see Oracle
* Database Engine release notes in the Amazon RDS User Guide.
*
*
* - RDS for PostgreSQL
* -
*
* For information, see Amazon RDS
* for PostgreSQL versions and extensions in the Amazon RDS User Guide.
*
*
*
*
* @param engineVersion
* The version number of the database engine to use.
*
* This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the DB
* instance uses is managed by the DB cluster.
*
*
* For a list of valid engine versions, use the DescribeDBEngineVersions
operation.
*
*
* The following are the database engines and links to information about the major and minor versions that
* are available with Amazon RDS. Not every database engine is available for every Amazon Web Services
* Region.
*
*
* - Amazon RDS Custom for Oracle
* -
*
* A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom
* for Oracle. The CEV name has the following format: 19.customized_string. A valid CEV name is
* 19.my_cev1
. For more information, see
* Creating an RDS Custom for Oracle DB instance in the Amazon RDS User Guide.
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* See RDS Custom
* for SQL Server general requirements in the Amazon RDS User Guide.
*
*
* - RDS for Db2
* -
*
* For information, see Db2
* on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for MariaDB
* -
*
* For information, see MariaDB on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Microsoft SQL Server
* -
*
* For information, see Microsoft SQL Server versions on Amazon RDS in the Amazon RDS User Guide.
*
*
* - RDS for MySQL
* -
*
* For information, see MySQL on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Oracle
* -
*
* For information, see Oracle
* Database Engine release notes in the Amazon RDS User Guide.
*
*
* - RDS for PostgreSQL
* -
*
* For information, see Amazon RDS for PostgreSQL versions and extensions in the Amazon RDS User Guide.
*
*
*/
public void setEngineVersion(String engineVersion) {
this.engineVersion = engineVersion;
}
/**
*
* The version number of the database engine to use.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the DB
* instance uses is managed by the DB cluster.
*
*
* For a list of valid engine versions, use the DescribeDBEngineVersions
operation.
*
*
* The following are the database engines and links to information about the major and minor versions that are
* available with Amazon RDS. Not every database engine is available for every Amazon Web Services Region.
*
*
* - Amazon RDS Custom for Oracle
* -
*
* A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom for
* Oracle. The CEV name has the following format: 19.customized_string. A valid CEV name is
* 19.my_cev1
. For more information, see
* Creating an RDS Custom for Oracle DB instance in the Amazon RDS User Guide.
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* See RDS Custom for
* SQL Server general requirements in the Amazon RDS User Guide.
*
*
* - RDS for Db2
* -
*
* For information, see Db2 on
* Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for MariaDB
* -
*
* For information, see MariaDB on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Microsoft SQL Server
* -
*
* For information, see Microsoft SQL Server versions on Amazon RDS in the Amazon RDS User Guide.
*
*
* - RDS for MySQL
* -
*
* For information, see MySQL on
* Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Oracle
* -
*
* For information, see Oracle
* Database Engine release notes in the Amazon RDS User Guide.
*
*
* - RDS for PostgreSQL
* -
*
* For information, see Amazon RDS
* for PostgreSQL versions and extensions in the Amazon RDS User Guide.
*
*
*
*
* @return The version number of the database engine to use.
*
* This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the
* DB instance uses is managed by the DB cluster.
*
*
* For a list of valid engine versions, use the DescribeDBEngineVersions
operation.
*
*
* The following are the database engines and links to information about the major and minor versions that
* are available with Amazon RDS. Not every database engine is available for every Amazon Web Services
* Region.
*
*
* - Amazon RDS Custom for Oracle
* -
*
* A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom
* for Oracle. The CEV name has the following format: 19.customized_string. A valid CEV name is
* 19.my_cev1
. For more information, see Creating an RDS Custom for Oracle DB instance in the Amazon RDS User Guide.
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* See RDS
* Custom for SQL Server general requirements in the Amazon RDS User Guide.
*
*
* - RDS for Db2
* -
*
* For information, see Db2
* on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for MariaDB
* -
*
* For information, see MariaDB on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Microsoft SQL Server
* -
*
* For information, see Microsoft SQL Server versions on Amazon RDS in the Amazon RDS User Guide.
*
*
* - RDS for MySQL
* -
*
* For information, see MySQL
* on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Oracle
* -
*
* For information, see Oracle Database Engine release notes in the Amazon RDS User Guide.
*
*
* - RDS for PostgreSQL
* -
*
* For information, see Amazon RDS for PostgreSQL versions and extensions in the Amazon RDS User Guide.
*
*
*/
public String getEngineVersion() {
return this.engineVersion;
}
/**
*
* The version number of the database engine to use.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the DB
* instance uses is managed by the DB cluster.
*
*
* For a list of valid engine versions, use the DescribeDBEngineVersions
operation.
*
*
* The following are the database engines and links to information about the major and minor versions that are
* available with Amazon RDS. Not every database engine is available for every Amazon Web Services Region.
*
*
* - Amazon RDS Custom for Oracle
* -
*
* A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom for
* Oracle. The CEV name has the following format: 19.customized_string. A valid CEV name is
* 19.my_cev1
. For more information, see
* Creating an RDS Custom for Oracle DB instance in the Amazon RDS User Guide.
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* See RDS Custom for
* SQL Server general requirements in the Amazon RDS User Guide.
*
*
* - RDS for Db2
* -
*
* For information, see Db2 on
* Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for MariaDB
* -
*
* For information, see MariaDB on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Microsoft SQL Server
* -
*
* For information, see Microsoft SQL Server versions on Amazon RDS in the Amazon RDS User Guide.
*
*
* - RDS for MySQL
* -
*
* For information, see MySQL on
* Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Oracle
* -
*
* For information, see Oracle
* Database Engine release notes in the Amazon RDS User Guide.
*
*
* - RDS for PostgreSQL
* -
*
* For information, see Amazon RDS
* for PostgreSQL versions and extensions in the Amazon RDS User Guide.
*
*
*
*
* @param engineVersion
* The version number of the database engine to use.
*
* This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the DB
* instance uses is managed by the DB cluster.
*
*
* For a list of valid engine versions, use the DescribeDBEngineVersions
operation.
*
*
* The following are the database engines and links to information about the major and minor versions that
* are available with Amazon RDS. Not every database engine is available for every Amazon Web Services
* Region.
*
*
* - Amazon RDS Custom for Oracle
* -
*
* A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom
* for Oracle. The CEV name has the following format: 19.customized_string. A valid CEV name is
* 19.my_cev1
. For more information, see
* Creating an RDS Custom for Oracle DB instance in the Amazon RDS User Guide.
*
*
* - Amazon RDS Custom for SQL Server
* -
*
* See RDS Custom
* for SQL Server general requirements in the Amazon RDS User Guide.
*
*
* - RDS for Db2
* -
*
* For information, see Db2
* on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for MariaDB
* -
*
* For information, see MariaDB on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Microsoft SQL Server
* -
*
* For information, see Microsoft SQL Server versions on Amazon RDS in the Amazon RDS User Guide.
*
*
* - RDS for MySQL
* -
*
* For information, see MySQL on Amazon RDS versions in the Amazon RDS User Guide.
*
*
* - RDS for Oracle
* -
*
* For information, see Oracle
* Database Engine release notes in the Amazon RDS User Guide.
*
*
* - RDS for PostgreSQL
* -
*
* For information, see Amazon RDS for PostgreSQL versions and extensions in the Amazon RDS User Guide.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withEngineVersion(String engineVersion) {
setEngineVersion(engineVersion);
return this;
}
/**
*
* Specifies whether minor engine upgrades are applied automatically to the DB instance during the maintenance
* window. By default, minor engine upgrades are applied automatically.
*
*
* If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade
to false
.
*
*
* @param autoMinorVersionUpgrade
* Specifies whether minor engine upgrades are applied automatically to the DB instance during the
* maintenance window. By default, minor engine upgrades are applied automatically.
*
* If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade
to
* false
.
*/
public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) {
this.autoMinorVersionUpgrade = autoMinorVersionUpgrade;
}
/**
*
* Specifies whether minor engine upgrades are applied automatically to the DB instance during the maintenance
* window. By default, minor engine upgrades are applied automatically.
*
*
* If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade
to false
.
*
*
* @return Specifies whether minor engine upgrades are applied automatically to the DB instance during the
* maintenance window. By default, minor engine upgrades are applied automatically.
*
* If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade
to
* false
.
*/
public Boolean getAutoMinorVersionUpgrade() {
return this.autoMinorVersionUpgrade;
}
/**
*
* Specifies whether minor engine upgrades are applied automatically to the DB instance during the maintenance
* window. By default, minor engine upgrades are applied automatically.
*
*
* If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade
to false
.
*
*
* @param autoMinorVersionUpgrade
* Specifies whether minor engine upgrades are applied automatically to the DB instance during the
* maintenance window. By default, minor engine upgrades are applied automatically.
*
* If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade
to
* false
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) {
setAutoMinorVersionUpgrade(autoMinorVersionUpgrade);
return this;
}
/**
*
* Specifies whether minor engine upgrades are applied automatically to the DB instance during the maintenance
* window. By default, minor engine upgrades are applied automatically.
*
*
* If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade
to false
.
*
*
* @return Specifies whether minor engine upgrades are applied automatically to the DB instance during the
* maintenance window. By default, minor engine upgrades are applied automatically.
*
* If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade
to
* false
.
*/
public Boolean isAutoMinorVersionUpgrade() {
return this.autoMinorVersionUpgrade;
}
/**
*
* The license model information for this DB instance.
*
*
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires
* a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web
* Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
* The default for RDS for Db2 is bring-your-own-license
.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*
* @param licenseModel
* The license model information for this DB instance.
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model
* requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires
* an Amazon Web Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
* The default for RDS for Db2 is bring-your-own-license
.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*/
public void setLicenseModel(String licenseModel) {
this.licenseModel = licenseModel;
}
/**
*
* The license model information for this DB instance.
*
*
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires
* a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web
* Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
* The default for RDS for Db2 is bring-your-own-license
.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*
* @return The license model information for this DB instance.
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model
* requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires
* an Amazon Web Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
* The default for RDS for Db2 is bring-your-own-license
.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*/
public String getLicenseModel() {
return this.licenseModel;
}
/**
*
* The license model information for this DB instance.
*
*
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires
* a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web
* Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
* The default for RDS for Db2 is bring-your-own-license
.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*
* @param licenseModel
* The license model information for this DB instance.
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model
* requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires
* an Amazon Web Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
* The default for RDS for Db2 is bring-your-own-license
.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withLicenseModel(String licenseModel) {
setLicenseModel(licenseModel);
return this;
}
/**
*
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance.
* For information about valid IOPS values, see Amazon RDS DB instance
* storage in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Constraints:
*
*
* -
*
* For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage
* amount for the DB instance.
*
*
* -
*
* For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
*
*
*
*
* @param iops
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB
* instance. For information about valid IOPS values, see Amazon RDS DB instance
* storage in the Amazon RDS User Guide.
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Constraints:
*
*
* -
*
* For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the
* storage amount for the DB instance.
*
*
* -
*
* For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
*
*
*/
public void setIops(Integer iops) {
this.iops = iops;
}
/**
*
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance.
* For information about valid IOPS values, see Amazon RDS DB instance
* storage in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Constraints:
*
*
* -
*
* For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage
* amount for the DB instance.
*
*
* -
*
* For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
*
*
*
*
* @return The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB
* instance. For information about valid IOPS values, see Amazon RDS DB instance
* storage in the Amazon RDS User Guide.
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Constraints:
*
*
* -
*
* For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the
* storage amount for the DB instance.
*
*
* -
*
* For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
*
*
*/
public Integer getIops() {
return this.iops;
}
/**
*
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance.
* For information about valid IOPS values, see Amazon RDS DB instance
* storage in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Constraints:
*
*
* -
*
* For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage
* amount for the DB instance.
*
*
* -
*
* For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
*
*
*
*
* @param iops
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB
* instance. For information about valid IOPS values, see Amazon RDS DB instance
* storage in the Amazon RDS User Guide.
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Constraints:
*
*
* -
*
* For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the
* storage amount for the DB instance.
*
*
* -
*
* For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withIops(Integer iops) {
setIops(iops);
return this;
}
/**
*
* The option group to associate the DB instance with.
*
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option
* group. Also, that option group can't be removed from a DB instance after it is associated with a DB instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @param optionGroupName
* The option group to associate the DB instance with.
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an
* option group. Also, that option group can't be removed from a DB instance after it is associated with a DB
* instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*/
public void setOptionGroupName(String optionGroupName) {
this.optionGroupName = optionGroupName;
}
/**
*
* The option group to associate the DB instance with.
*
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option
* group. Also, that option group can't be removed from a DB instance after it is associated with a DB instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @return The option group to associate the DB instance with.
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an
* option group. Also, that option group can't be removed from a DB instance after it is associated with a
* DB instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*/
public String getOptionGroupName() {
return this.optionGroupName;
}
/**
*
* The option group to associate the DB instance with.
*
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option
* group. Also, that option group can't be removed from a DB instance after it is associated with a DB instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @param optionGroupName
* The option group to associate the DB instance with.
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an
* option group. Also, that option group can't be removed from a DB instance after it is associated with a DB
* instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withOptionGroupName(String optionGroupName) {
setOptionGroupName(optionGroupName);
return this;
}
/**
*
* For supported engines, the character set (CharacterSet
) to associate the DB instance with.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora - The character set is managed by the DB cluster. For more information, see
* CreateDBCluster
.
*
*
* -
*
* RDS Custom - However, if you need to change the character set, you can change it on the database itself.
*
*
*
*
* @param characterSetName
* For supported engines, the character set (CharacterSet
) to associate the DB instance
* with.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora - The character set is managed by the DB cluster. For more information, see
* CreateDBCluster
.
*
*
* -
*
* RDS Custom - However, if you need to change the character set, you can change it on the database itself.
*
*
*/
public void setCharacterSetName(String characterSetName) {
this.characterSetName = characterSetName;
}
/**
*
* For supported engines, the character set (CharacterSet
) to associate the DB instance with.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora - The character set is managed by the DB cluster. For more information, see
* CreateDBCluster
.
*
*
* -
*
* RDS Custom - However, if you need to change the character set, you can change it on the database itself.
*
*
*
*
* @return For supported engines, the character set (CharacterSet
) to associate the DB instance
* with.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora - The character set is managed by the DB cluster. For more information, see
* CreateDBCluster
.
*
*
* -
*
* RDS Custom - However, if you need to change the character set, you can change it on the database itself.
*
*
*/
public String getCharacterSetName() {
return this.characterSetName;
}
/**
*
* For supported engines, the character set (CharacterSet
) to associate the DB instance with.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora - The character set is managed by the DB cluster. For more information, see
* CreateDBCluster
.
*
*
* -
*
* RDS Custom - However, if you need to change the character set, you can change it on the database itself.
*
*
*
*
* @param characterSetName
* For supported engines, the character set (CharacterSet
) to associate the DB instance
* with.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora - The character set is managed by the DB cluster. For more information, see
* CreateDBCluster
.
*
*
* -
*
* RDS Custom - However, if you need to change the character set, you can change it on the database itself.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withCharacterSetName(String characterSetName) {
setCharacterSetName(characterSetName);
return this;
}
/**
*
* The name of the NCHAR character set for the Oracle DB instance.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param ncharCharacterSetName
* The name of the NCHAR character set for the Oracle DB instance.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public void setNcharCharacterSetName(String ncharCharacterSetName) {
this.ncharCharacterSetName = ncharCharacterSetName;
}
/**
*
* The name of the NCHAR character set for the Oracle DB instance.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @return The name of the NCHAR character set for the Oracle DB instance.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public String getNcharCharacterSetName() {
return this.ncharCharacterSetName;
}
/**
*
* The name of the NCHAR character set for the Oracle DB instance.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param ncharCharacterSetName
* The name of the NCHAR character set for the Oracle DB instance.
*
* This setting doesn't apply to RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withNcharCharacterSetName(String ncharCharacterSetName) {
setNcharCharacterSetName(ncharCharacterSetName);
return this;
}
/**
*
* Specifies whether the DB instance is publicly accessible.
*
*
* When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private
* cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from
* within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB
* instance is ultimately controlled by the security group it uses. That public access is not permitted if the
* security group assigned to the DB instance doesn't permit it.
*
*
* When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a
* private IP address.
*
*
* Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
*
*
* If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* @param publiclyAccessible
* Specifies whether the DB instance is publicly accessible.
*
* When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual
* private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you
* connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address.
* Access to the DB instance is ultimately controlled by the security group it uses. That public access is
* not permitted if the security group assigned to the DB instance doesn't permit it.
*
*
* When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that
* resolves to a private IP address.
*
*
* Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
*
*
* If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified,
* the following applies:
*
*
* -
*
* If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance
* is private.
*
*
* -
*
* If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.
*
*
*/
public void setPubliclyAccessible(Boolean publiclyAccessible) {
this.publiclyAccessible = publiclyAccessible;
}
/**
*
* Specifies whether the DB instance is publicly accessible.
*
*
* When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private
* cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from
* within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB
* instance is ultimately controlled by the security group it uses. That public access is not permitted if the
* security group assigned to the DB instance doesn't permit it.
*
*
* When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a
* private IP address.
*
*
* Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
*
*
* If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* @return Specifies whether the DB instance is publicly accessible.
*
* When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual
* private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you
* connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address.
* Access to the DB instance is ultimately controlled by the security group it uses. That public access is
* not permitted if the security group assigned to the DB instance doesn't permit it.
*
*
* When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that
* resolves to a private IP address.
*
*
* Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
*
*
* If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified,
* the following applies:
*
*
* -
*
* If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance
* is private.
*
*
* -
*
* If the default VPC in the target Region has an internet gateway attached to it, the DB instance is
* public.
*
*
*
*
* If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.
*
*
*/
public Boolean getPubliclyAccessible() {
return this.publiclyAccessible;
}
/**
*
* Specifies whether the DB instance is publicly accessible.
*
*
* When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private
* cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from
* within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB
* instance is ultimately controlled by the security group it uses. That public access is not permitted if the
* security group assigned to the DB instance doesn't permit it.
*
*
* When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a
* private IP address.
*
*
* Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
*
*
* If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* @param publiclyAccessible
* Specifies whether the DB instance is publicly accessible.
*
* When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual
* private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you
* connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address.
* Access to the DB instance is ultimately controlled by the security group it uses. That public access is
* not permitted if the security group assigned to the DB instance doesn't permit it.
*
*
* When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that
* resolves to a private IP address.
*
*
* Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
*
*
* If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified,
* the following applies:
*
*
* -
*
* If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance
* is private.
*
*
* -
*
* If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withPubliclyAccessible(Boolean publiclyAccessible) {
setPubliclyAccessible(publiclyAccessible);
return this;
}
/**
*
* Specifies whether the DB instance is publicly accessible.
*
*
* When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private
* cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from
* within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB
* instance is ultimately controlled by the security group it uses. That public access is not permitted if the
* security group assigned to the DB instance doesn't permit it.
*
*
* When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a
* private IP address.
*
*
* Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
*
*
* If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.
*
*
*
*
* @return Specifies whether the DB instance is publicly accessible.
*
* When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual
* private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you
* connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address.
* Access to the DB instance is ultimately controlled by the security group it uses. That public access is
* not permitted if the security group assigned to the DB instance doesn't permit it.
*
*
* When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that
* resolves to a private IP address.
*
*
* Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
*
*
* If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified,
* the following applies:
*
*
* -
*
* If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance
* is private.
*
*
* -
*
* If the default VPC in the target Region has an internet gateway attached to it, the DB instance is
* public.
*
*
*
*
* If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the
* following applies:
*
*
* -
*
* If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is
* private.
*
*
* -
*
* If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.
*
*
*/
public Boolean isPubliclyAccessible() {
return this.publiclyAccessible;
}
/**
*
* Tags to assign to the DB instance.
*
*
* @return Tags to assign to the DB instance.
*/
public java.util.List getTags() {
if (tags == null) {
tags = new com.amazonaws.internal.SdkInternalList();
}
return tags;
}
/**
*
* Tags to assign to the DB instance.
*
*
* @param tags
* Tags to assign to the DB instance.
*/
public void setTags(java.util.Collection tags) {
if (tags == null) {
this.tags = null;
return;
}
this.tags = new com.amazonaws.internal.SdkInternalList(tags);
}
/**
*
* Tags to assign to the DB instance.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the
* existing values.
*
*
* @param tags
* Tags to assign to the DB instance.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withTags(Tag... tags) {
if (this.tags == null) {
setTags(new com.amazonaws.internal.SdkInternalList(tags.length));
}
for (Tag ele : tags) {
this.tags.add(ele);
}
return this;
}
/**
*
* Tags to assign to the DB instance.
*
*
* @param tags
* Tags to assign to the DB instance.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withTags(java.util.Collection tags) {
setTags(tags);
return this;
}
/**
*
* The identifier of the DB cluster that this DB instance will belong to.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param dBClusterIdentifier
* The identifier of the DB cluster that this DB instance will belong to.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public void setDBClusterIdentifier(String dBClusterIdentifier) {
this.dBClusterIdentifier = dBClusterIdentifier;
}
/**
*
* The identifier of the DB cluster that this DB instance will belong to.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @return The identifier of the DB cluster that this DB instance will belong to.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public String getDBClusterIdentifier() {
return this.dBClusterIdentifier;
}
/**
*
* The identifier of the DB cluster that this DB instance will belong to.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param dBClusterIdentifier
* The identifier of the DB cluster that this DB instance will belong to.
*
* This setting doesn't apply to RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDBClusterIdentifier(String dBClusterIdentifier) {
setDBClusterIdentifier(dBClusterIdentifier);
return this;
}
/**
*
* The storage type to associate with the DB instance.
*
*
* If you specify io1
, io2
, or gp3
, you must also include a value for the
* Iops
parameter.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*
* @param storageType
* The storage type to associate with the DB instance.
*
* If you specify io1
, io2
, or gp3
, you must also include a value for
* the Iops
parameter.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*/
public void setStorageType(String storageType) {
this.storageType = storageType;
}
/**
*
* The storage type to associate with the DB instance.
*
*
* If you specify io1
, io2
, or gp3
, you must also include a value for the
* Iops
parameter.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*
* @return The storage type to associate with the DB instance.
*
* If you specify io1
, io2
, or gp3
, you must also include a value for
* the Iops
parameter.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*/
public String getStorageType() {
return this.storageType;
}
/**
*
* The storage type to associate with the DB instance.
*
*
* If you specify io1
, io2
, or gp3
, you must also include a value for the
* Iops
parameter.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*
* @param storageType
* The storage type to associate with the DB instance.
*
* If you specify io1
, io2
, or gp3
, you must also include a value for
* the Iops
parameter.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withStorageType(String storageType) {
setStorageType(storageType);
return this;
}
/**
*
* The ARN from the key store with which to associate the instance for TDE encryption.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @param tdeCredentialArn
* The ARN from the key store with which to associate the instance for TDE encryption.
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*/
public void setTdeCredentialArn(String tdeCredentialArn) {
this.tdeCredentialArn = tdeCredentialArn;
}
/**
*
* The ARN from the key store with which to associate the instance for TDE encryption.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @return The ARN from the key store with which to associate the instance for TDE encryption.
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*/
public String getTdeCredentialArn() {
return this.tdeCredentialArn;
}
/**
*
* The ARN from the key store with which to associate the instance for TDE encryption.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @param tdeCredentialArn
* The ARN from the key store with which to associate the instance for TDE encryption.
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withTdeCredentialArn(String tdeCredentialArn) {
setTdeCredentialArn(tdeCredentialArn);
return this;
}
/**
*
* The password for the given ARN from the key store in order to access the device.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param tdeCredentialPassword
* The password for the given ARN from the key store in order to access the device.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public void setTdeCredentialPassword(String tdeCredentialPassword) {
this.tdeCredentialPassword = tdeCredentialPassword;
}
/**
*
* The password for the given ARN from the key store in order to access the device.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @return The password for the given ARN from the key store in order to access the device.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public String getTdeCredentialPassword() {
return this.tdeCredentialPassword;
}
/**
*
* The password for the given ARN from the key store in order to access the device.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param tdeCredentialPassword
* The password for the given ARN from the key store in order to access the device.
*
* This setting doesn't apply to RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withTdeCredentialPassword(String tdeCredentialPassword) {
setTdeCredentialPassword(tdeCredentialPassword);
return this;
}
/**
*
* Specifes whether the DB instance is encrypted. By default, it isn't encrypted.
*
*
* For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports an
* error.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by the DB
* cluster.
*
*
* @param storageEncrypted
* Specifes whether the DB instance is encrypted. By default, it isn't encrypted.
*
* For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports
* an error.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by
* the DB cluster.
*/
public void setStorageEncrypted(Boolean storageEncrypted) {
this.storageEncrypted = storageEncrypted;
}
/**
*
* Specifes whether the DB instance is encrypted. By default, it isn't encrypted.
*
*
* For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports an
* error.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by the DB
* cluster.
*
*
* @return Specifes whether the DB instance is encrypted. By default, it isn't encrypted.
*
* For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports
* an error.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by
* the DB cluster.
*/
public Boolean getStorageEncrypted() {
return this.storageEncrypted;
}
/**
*
* Specifes whether the DB instance is encrypted. By default, it isn't encrypted.
*
*
* For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports an
* error.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by the DB
* cluster.
*
*
* @param storageEncrypted
* Specifes whether the DB instance is encrypted. By default, it isn't encrypted.
*
* For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports
* an error.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by
* the DB cluster.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withStorageEncrypted(Boolean storageEncrypted) {
setStorageEncrypted(storageEncrypted);
return this;
}
/**
*
* Specifes whether the DB instance is encrypted. By default, it isn't encrypted.
*
*
* For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports an
* error.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by the DB
* cluster.
*
*
* @return Specifes whether the DB instance is encrypted. By default, it isn't encrypted.
*
* For RDS Custom DB instances, either enable this setting or leave it unset. Otherwise, Amazon RDS reports
* an error.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The encryption for DB instances is managed by
* the DB cluster.
*/
public Boolean isStorageEncrypted() {
return this.storageEncrypted;
}
/**
*
* The Amazon Web Services KMS key identifier for an encrypted DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To
* use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The Amazon Web Services KMS key identifier is managed
* by the DB cluster. For more information, see CreateDBCluster
.
*
*
* If StorageEncrypted
is enabled, and you do not specify a value for the KmsKeyId
* parameter, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services
* account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.
*
*
* For Amazon RDS Custom, a KMS key is required for DB instances. For most RDS engines, if you leave this parameter
* empty while enabling StorageEncrypted
, the engine uses the default KMS key. However, RDS Custom
* doesn't use the default key when this parameter is empty. You must explicitly specify a key.
*
*
* @param kmsKeyId
* The Amazon Web Services KMS key identifier for an encrypted DB instance.
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS
* key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The Amazon Web Services KMS key identifier is
* managed by the DB cluster. For more information, see CreateDBCluster
.
*
*
* If StorageEncrypted
is enabled, and you do not specify a value for the KmsKeyId
* parameter, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web
* Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web
* Services Region.
*
*
* For Amazon RDS Custom, a KMS key is required for DB instances. For most RDS engines, if you leave this
* parameter empty while enabling StorageEncrypted
, the engine uses the default KMS key.
* However, RDS Custom doesn't use the default key when this parameter is empty. You must explicitly specify
* a key.
*/
public void setKmsKeyId(String kmsKeyId) {
this.kmsKeyId = kmsKeyId;
}
/**
*
* The Amazon Web Services KMS key identifier for an encrypted DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To
* use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The Amazon Web Services KMS key identifier is managed
* by the DB cluster. For more information, see CreateDBCluster
.
*
*
* If StorageEncrypted
is enabled, and you do not specify a value for the KmsKeyId
* parameter, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services
* account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.
*
*
* For Amazon RDS Custom, a KMS key is required for DB instances. For most RDS engines, if you leave this parameter
* empty while enabling StorageEncrypted
, the engine uses the default KMS key. However, RDS Custom
* doesn't use the default key when this parameter is empty. You must explicitly specify a key.
*
*
* @return The Amazon Web Services KMS key identifier for an encrypted DB instance.
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS
* key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The Amazon Web Services KMS key identifier is
* managed by the DB cluster. For more information, see CreateDBCluster
.
*
*
* If StorageEncrypted
is enabled, and you do not specify a value for the KmsKeyId
* parameter, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web
* Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web
* Services Region.
*
*
* For Amazon RDS Custom, a KMS key is required for DB instances. For most RDS engines, if you leave this
* parameter empty while enabling StorageEncrypted
, the engine uses the default KMS key.
* However, RDS Custom doesn't use the default key when this parameter is empty. You must explicitly specify
* a key.
*/
public String getKmsKeyId() {
return this.kmsKeyId;
}
/**
*
* The Amazon Web Services KMS key identifier for an encrypted DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To
* use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The Amazon Web Services KMS key identifier is managed
* by the DB cluster. For more information, see CreateDBCluster
.
*
*
* If StorageEncrypted
is enabled, and you do not specify a value for the KmsKeyId
* parameter, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services
* account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.
*
*
* For Amazon RDS Custom, a KMS key is required for DB instances. For most RDS engines, if you leave this parameter
* empty while enabling StorageEncrypted
, the engine uses the default KMS key. However, RDS Custom
* doesn't use the default key when this parameter is empty. You must explicitly specify a key.
*
*
* @param kmsKeyId
* The Amazon Web Services KMS key identifier for an encrypted DB instance.
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS
* key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. The Amazon Web Services KMS key identifier is
* managed by the DB cluster. For more information, see CreateDBCluster
.
*
*
* If StorageEncrypted
is enabled, and you do not specify a value for the KmsKeyId
* parameter, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web
* Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web
* Services Region.
*
*
* For Amazon RDS Custom, a KMS key is required for DB instances. For most RDS engines, if you leave this
* parameter empty while enabling StorageEncrypted
, the engine uses the default KMS key.
* However, RDS Custom doesn't use the default key when this parameter is empty. You must explicitly specify
* a key.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withKmsKeyId(String kmsKeyId) {
setKmsKeyId(kmsKeyId);
return this;
}
/**
*
* The Active Directory directory ID to create the DB instance in. Currently, you can create only Db2, MySQL,
* Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @param domain
* The Active Directory directory ID to create the DB instance in. Currently, you can create only Db2, MySQL,
* Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain.
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public void setDomain(String domain) {
this.domain = domain;
}
/**
*
* The Active Directory directory ID to create the DB instance in. Currently, you can create only Db2, MySQL,
* Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @return The Active Directory directory ID to create the DB instance in. Currently, you can create only Db2,
* MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain.
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public String getDomain() {
return this.domain;
}
/**
*
* The Active Directory directory ID to create the DB instance in. Currently, you can create only Db2, MySQL,
* Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @param domain
* The Active Directory directory ID to create the DB instance in. Currently, you can create only Db2, MySQL,
* Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active Directory Domain.
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDomain(String domain) {
setDomain(domain);
return this;
}
/**
*
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*
*
* @param domainFqdn
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*/
public void setDomainFqdn(String domainFqdn) {
this.domainFqdn = domainFqdn;
}
/**
*
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*
*
* @return The fully qualified domain name (FQDN) of an Active Directory domain.
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*/
public String getDomainFqdn() {
return this.domainFqdn;
}
/**
*
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*
*
* @param domainFqdn
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDomainFqdn(String domainFqdn) {
setDomainFqdn(domainFqdn);
return this;
}
/**
*
* The Active Directory organizational unit for your DB instance to join.
*
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*
*
* @param domainOu
* The Active Directory organizational unit for your DB instance to join.
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*/
public void setDomainOu(String domainOu) {
this.domainOu = domainOu;
}
/**
*
* The Active Directory organizational unit for your DB instance to join.
*
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*
*
* @return The Active Directory organizational unit for your DB instance to join.
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*/
public String getDomainOu() {
return this.domainOu;
}
/**
*
* The Active Directory organizational unit for your DB instance to join.
*
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*
*
* @param domainOu
* The Active Directory organizational unit for your DB instance to join.
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDomainOu(String domainOu) {
setDomainOu(domainOu);
return this;
}
/**
*
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*
*
* @param domainAuthSecretArn
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*/
public void setDomainAuthSecretArn(String domainAuthSecretArn) {
this.domainAuthSecretArn = domainAuthSecretArn;
}
/**
*
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*
*
* @return The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
* Example:
* arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*/
public String getDomainAuthSecretArn() {
return this.domainAuthSecretArn;
}
/**
*
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*
*
* @param domainAuthSecretArn
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDomainAuthSecretArn(String domainAuthSecretArn) {
setDomainAuthSecretArn(domainAuthSecretArn);
return this;
}
/**
*
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*
*
* @return The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of
* the primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*/
public java.util.List getDomainDnsIps() {
if (domainDnsIps == null) {
domainDnsIps = new com.amazonaws.internal.SdkInternalList();
}
return domainDnsIps;
}
/**
*
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*
*
* @param domainDnsIps
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*/
public void setDomainDnsIps(java.util.Collection domainDnsIps) {
if (domainDnsIps == null) {
this.domainDnsIps = null;
return;
}
this.domainDnsIps = new com.amazonaws.internal.SdkInternalList(domainDnsIps);
}
/**
*
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setDomainDnsIps(java.util.Collection)} or {@link #withDomainDnsIps(java.util.Collection)} if you want to
* override the existing values.
*
*
* @param domainDnsIps
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDomainDnsIps(String... domainDnsIps) {
if (this.domainDnsIps == null) {
setDomainDnsIps(new com.amazonaws.internal.SdkInternalList(domainDnsIps.length));
}
for (String ele : domainDnsIps) {
this.domainDnsIps.add(ele);
}
return this;
}
/**
*
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*
*
* @param domainDnsIps
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDomainDnsIps(java.util.Collection domainDnsIps) {
setDomainDnsIps(domainDnsIps);
return this;
}
/**
*
* Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not
* copied.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster.
* Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
*
*
* @param copyTagsToSnapshot
* Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are
* not copied.
*
* This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB
* cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
*/
public void setCopyTagsToSnapshot(Boolean copyTagsToSnapshot) {
this.copyTagsToSnapshot = copyTagsToSnapshot;
}
/**
*
* Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not
* copied.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster.
* Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
*
*
* @return Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are
* not copied.
*
* This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB
* cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
*/
public Boolean getCopyTagsToSnapshot() {
return this.copyTagsToSnapshot;
}
/**
*
* Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not
* copied.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster.
* Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
*
*
* @param copyTagsToSnapshot
* Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are
* not copied.
*
* This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB
* cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withCopyTagsToSnapshot(Boolean copyTagsToSnapshot) {
setCopyTagsToSnapshot(copyTagsToSnapshot);
return this;
}
/**
*
* Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not
* copied.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster.
* Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
*
*
* @return Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are
* not copied.
*
* This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB
* cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
*/
public Boolean isCopyTagsToSnapshot() {
return this.copyTagsToSnapshot;
}
/**
*
* The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To
* disable collection of Enhanced Monitoring metrics, specify 0
.
*
*
* If MonitoringRoleArn
is specified, then you must set MonitoringInterval
to a value
* other than 0
.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60
*
*
* Default: 0
*
*
* @param monitoringInterval
* The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB
* instance. To disable collection of Enhanced Monitoring metrics, specify 0
.
*
* If MonitoringRoleArn
is specified, then you must set MonitoringInterval
to a
* value other than 0
.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60
*
*
* Default: 0
*/
public void setMonitoringInterval(Integer monitoringInterval) {
this.monitoringInterval = monitoringInterval;
}
/**
*
* The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To
* disable collection of Enhanced Monitoring metrics, specify 0
.
*
*
* If MonitoringRoleArn
is specified, then you must set MonitoringInterval
to a value
* other than 0
.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60
*
*
* Default: 0
*
*
* @return The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB
* instance. To disable collection of Enhanced Monitoring metrics, specify 0
.
*
* If MonitoringRoleArn
is specified, then you must set MonitoringInterval
to a
* value other than 0
.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60
*
*
* Default: 0
*/
public Integer getMonitoringInterval() {
return this.monitoringInterval;
}
/**
*
* The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To
* disable collection of Enhanced Monitoring metrics, specify 0
.
*
*
* If MonitoringRoleArn
is specified, then you must set MonitoringInterval
to a value
* other than 0
.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60
*
*
* Default: 0
*
*
* @param monitoringInterval
* The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB
* instance. To disable collection of Enhanced Monitoring metrics, specify 0
.
*
* If MonitoringRoleArn
is specified, then you must set MonitoringInterval
to a
* value other than 0
.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60
*
*
* Default: 0
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withMonitoringInterval(Integer monitoringInterval) {
setMonitoringInterval(monitoringInterval);
return this;
}
/**
*
* The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For
* example, arn:aws:iam:123456789012:role/emaccess
. For information on creating a monitoring role, see
* Setting Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.
*
*
* If MonitoringInterval
is set to a value other than 0
, then you must supply a
* MonitoringRoleArn
value.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param monitoringRoleArn
* The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs.
* For example, arn:aws:iam:123456789012:role/emaccess
. For information on creating a monitoring
* role, see Setting Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.
*
* If MonitoringInterval
is set to a value other than 0
, then you must supply a
* MonitoringRoleArn
value.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public void setMonitoringRoleArn(String monitoringRoleArn) {
this.monitoringRoleArn = monitoringRoleArn;
}
/**
*
* The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For
* example, arn:aws:iam:123456789012:role/emaccess
. For information on creating a monitoring role, see
* Setting Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.
*
*
* If MonitoringInterval
is set to a value other than 0
, then you must supply a
* MonitoringRoleArn
value.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @return The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs.
* For example, arn:aws:iam:123456789012:role/emaccess
. For information on creating a
* monitoring role, see Setting Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.
*
* If MonitoringInterval
is set to a value other than 0
, then you must supply a
* MonitoringRoleArn
value.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public String getMonitoringRoleArn() {
return this.monitoringRoleArn;
}
/**
*
* The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For
* example, arn:aws:iam:123456789012:role/emaccess
. For information on creating a monitoring role, see
* Setting Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.
*
*
* If MonitoringInterval
is set to a value other than 0
, then you must supply a
* MonitoringRoleArn
value.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param monitoringRoleArn
* The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs.
* For example, arn:aws:iam:123456789012:role/emaccess
. For information on creating a monitoring
* role, see Setting Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.
*
* If MonitoringInterval
is set to a value other than 0
, then you must supply a
* MonitoringRoleArn
value.
*
*
* This setting doesn't apply to RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withMonitoringRoleArn(String monitoringRoleArn) {
setMonitoringRoleArn(monitoringRoleArn);
return this;
}
/**
*
* The name of the IAM role to use when making API calls to the Directory Service.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @param domainIAMRoleName
* The name of the IAM role to use when making API calls to the Directory Service.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public void setDomainIAMRoleName(String domainIAMRoleName) {
this.domainIAMRoleName = domainIAMRoleName;
}
/**
*
* The name of the IAM role to use when making API calls to the Directory Service.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @return The name of the IAM role to use when making API calls to the Directory Service.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public String getDomainIAMRoleName() {
return this.domainIAMRoleName;
}
/**
*
* The name of the IAM role to use when making API calls to the Directory Service.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @param domainIAMRoleName
* The name of the IAM role to use when making API calls to the Directory Service.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (The domain is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDomainIAMRoleName(String domainIAMRoleName) {
setDomainIAMRoleName(domainIAMRoleName);
return this;
}
/**
*
* The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the
* existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Default: 1
*
*
* Valid Values: 0 - 15
*
*
* @param promotionTier
* The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of
* the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Default: 1
*
*
* Valid Values: 0 - 15
*/
public void setPromotionTier(Integer promotionTier) {
this.promotionTier = promotionTier;
}
/**
*
* The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the
* existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Default: 1
*
*
* Valid Values: 0 - 15
*
*
* @return The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of
* the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Default: 1
*
*
* Valid Values: 0 - 15
*/
public Integer getPromotionTier() {
return this.promotionTier;
}
/**
*
* The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the
* existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Default: 1
*
*
* Valid Values: 0 - 15
*
*
* @param promotionTier
* The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of
* the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Default: 1
*
*
* Valid Values: 0 - 15
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withPromotionTier(Integer promotionTier) {
setPromotionTier(promotionTier);
return this;
}
/**
*
* The time zone of the DB instance. The time zone parameter is currently supported only by RDS for Db2 and RDS for SQL Server.
*
*
* @param timezone
* The time zone of the DB instance. The time zone parameter is currently supported only by RDS for Db2 and RDS for SQL Server.
*/
public void setTimezone(String timezone) {
this.timezone = timezone;
}
/**
*
* The time zone of the DB instance. The time zone parameter is currently supported only by RDS for Db2 and RDS for SQL Server.
*
*
* @return The time zone of the DB instance. The time zone parameter is currently supported only by RDS for Db2 and RDS for SQL Server.
*/
public String getTimezone() {
return this.timezone;
}
/**
*
* The time zone of the DB instance. The time zone parameter is currently supported only by RDS for Db2 and RDS for SQL Server.
*
*
* @param timezone
* The time zone of the DB instance. The time zone parameter is currently supported only by RDS for Db2 and RDS for SQL Server.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withTimezone(String timezone) {
setTimezone(timezone);
return this;
}
/**
*
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to
* database accounts. By default, mapping isn't enabled.
*
*
* For more information, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @param enableIAMDatabaseAuthentication
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts
* to database accounts. By default, mapping isn't enabled.
*
* For more information, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB
* cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public void setEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication) {
this.enableIAMDatabaseAuthentication = enableIAMDatabaseAuthentication;
}
/**
*
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to
* database accounts. By default, mapping isn't enabled.
*
*
* For more information, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @return Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts
* to database accounts. By default, mapping isn't enabled.
*
* For more information, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB
* cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public Boolean getEnableIAMDatabaseAuthentication() {
return this.enableIAMDatabaseAuthentication;
}
/**
*
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to
* database accounts. By default, mapping isn't enabled.
*
*
* For more information, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @param enableIAMDatabaseAuthentication
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts
* to database accounts. By default, mapping isn't enabled.
*
* For more information, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB
* cluster.)
*
*
* -
*
* RDS Custom
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication) {
setEnableIAMDatabaseAuthentication(enableIAMDatabaseAuthentication);
return this;
}
/**
*
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to
* database accounts. By default, mapping isn't enabled.
*
*
* For more information, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @return Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts
* to database accounts. By default, mapping isn't enabled.
*
* For more information, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB
* cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public Boolean isEnableIAMDatabaseAuthentication() {
return this.enableIAMDatabaseAuthentication;
}
/**
*
* Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance
* Insights in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param enablePerformanceInsights
* Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon
* Performance Insights in the Amazon RDS User Guide.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public void setEnablePerformanceInsights(Boolean enablePerformanceInsights) {
this.enablePerformanceInsights = enablePerformanceInsights;
}
/**
*
* Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance
* Insights in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @return Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon
* Performance Insights in the Amazon RDS User Guide.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public Boolean getEnablePerformanceInsights() {
return this.enablePerformanceInsights;
}
/**
*
* Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance
* Insights in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param enablePerformanceInsights
* Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon
* Performance Insights in the Amazon RDS User Guide.
*
* This setting doesn't apply to RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withEnablePerformanceInsights(Boolean enablePerformanceInsights) {
setEnablePerformanceInsights(enablePerformanceInsights);
return this;
}
/**
*
* Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance
* Insights in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @return Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon
* Performance Insights in the Amazon RDS User Guide.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public Boolean isEnablePerformanceInsights() {
return this.enablePerformanceInsights;
}
/**
*
* The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
*
*
* If you don't specify a value for PerformanceInsightsKMSKeyId
, then Amazon RDS uses your default KMS
* key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a
* different default KMS key for each Amazon Web Services Region.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param performanceInsightsKMSKeyId
* The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS
* key.
*
*
* If you don't specify a value for PerformanceInsightsKMSKeyId
, then Amazon RDS uses your
* default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services
* account has a different default KMS key for each Amazon Web Services Region.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public void setPerformanceInsightsKMSKeyId(String performanceInsightsKMSKeyId) {
this.performanceInsightsKMSKeyId = performanceInsightsKMSKeyId;
}
/**
*
* The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
*
*
* If you don't specify a value for PerformanceInsightsKMSKeyId
, then Amazon RDS uses your default KMS
* key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a
* different default KMS key for each Amazon Web Services Region.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @return The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS
* key.
*
*
* If you don't specify a value for PerformanceInsightsKMSKeyId
, then Amazon RDS uses your
* default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web
* Services account has a different default KMS key for each Amazon Web Services Region.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public String getPerformanceInsightsKMSKeyId() {
return this.performanceInsightsKMSKeyId;
}
/**
*
* The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
*
*
* If you don't specify a value for PerformanceInsightsKMSKeyId
, then Amazon RDS uses your default KMS
* key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a
* different default KMS key for each Amazon Web Services Region.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param performanceInsightsKMSKeyId
* The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS
* key.
*
*
* If you don't specify a value for PerformanceInsightsKMSKeyId
, then Amazon RDS uses your
* default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services
* account has a different default KMS key for each Amazon Web Services Region.
*
*
* This setting doesn't apply to RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withPerformanceInsightsKMSKeyId(String performanceInsightsKMSKeyId) {
setPerformanceInsightsKMSKeyId(performanceInsightsKMSKeyId);
return this;
}
/**
*
* The number of days to retain Performance Insights data.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* 7
*
*
* -
*
* month * 31, where month is a number of months from 1-23. Examples: 93
(3 months * 31),
* 341
(11 months * 31), 589
(19 months * 31)
*
*
* -
*
* 731
*
*
*
*
* Default: 7
days
*
*
* If you specify a retention period that isn't valid, such as 94
, Amazon RDS returns an error.
*
*
* @param performanceInsightsRetentionPeriod
* The number of days to retain Performance Insights data.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* 7
*
*
* -
*
* month * 31, where month is a number of months from 1-23. Examples: 93
(3 months
* * 31), 341
(11 months * 31), 589
(19 months * 31)
*
*
* -
*
* 731
*
*
*
*
* Default: 7
days
*
*
* If you specify a retention period that isn't valid, such as 94
, Amazon RDS returns an error.
*/
public void setPerformanceInsightsRetentionPeriod(Integer performanceInsightsRetentionPeriod) {
this.performanceInsightsRetentionPeriod = performanceInsightsRetentionPeriod;
}
/**
*
* The number of days to retain Performance Insights data.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* 7
*
*
* -
*
* month * 31, where month is a number of months from 1-23. Examples: 93
(3 months * 31),
* 341
(11 months * 31), 589
(19 months * 31)
*
*
* -
*
* 731
*
*
*
*
* Default: 7
days
*
*
* If you specify a retention period that isn't valid, such as 94
, Amazon RDS returns an error.
*
*
* @return The number of days to retain Performance Insights data.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* 7
*
*
* -
*
* month * 31, where month is a number of months from 1-23. Examples: 93
(3
* months * 31), 341
(11 months * 31), 589
(19 months * 31)
*
*
* -
*
* 731
*
*
*
*
* Default: 7
days
*
*
* If you specify a retention period that isn't valid, such as 94
, Amazon RDS returns an error.
*/
public Integer getPerformanceInsightsRetentionPeriod() {
return this.performanceInsightsRetentionPeriod;
}
/**
*
* The number of days to retain Performance Insights data.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* 7
*
*
* -
*
* month * 31, where month is a number of months from 1-23. Examples: 93
(3 months * 31),
* 341
(11 months * 31), 589
(19 months * 31)
*
*
* -
*
* 731
*
*
*
*
* Default: 7
days
*
*
* If you specify a retention period that isn't valid, such as 94
, Amazon RDS returns an error.
*
*
* @param performanceInsightsRetentionPeriod
* The number of days to retain Performance Insights data.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* 7
*
*
* -
*
* month * 31, where month is a number of months from 1-23. Examples: 93
(3 months
* * 31), 341
(11 months * 31), 589
(19 months * 31)
*
*
* -
*
* 731
*
*
*
*
* Default: 7
days
*
*
* If you specify a retention period that isn't valid, such as 94
, Amazon RDS returns an error.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withPerformanceInsightsRetentionPeriod(Integer performanceInsightsRetentionPeriod) {
setPerformanceInsightsRetentionPeriod(performanceInsightsRetentionPeriod);
return this;
}
/**
*
* The list of log types to enable for exporting to CloudWatch Logs. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* The following values are valid for each DB engine:
*
*
* -
*
* RDS for Db2 - diag.log | notify.log
*
*
* -
*
* RDS for MariaDB - audit | error | general | slowquery
*
*
* -
*
* RDS for Microsoft SQL Server - agent | error
*
*
* -
*
* RDS for MySQL - audit | error | general | slowquery
*
*
* -
*
* RDS for Oracle - alert | audit | listener | trace | oemagent
*
*
* -
*
* RDS for PostgreSQL - postgresql | upgrade
*
*
*
*
* @return The list of log types to enable for exporting to CloudWatch Logs. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* The following values are valid for each DB engine:
*
*
* -
*
* RDS for Db2 - diag.log | notify.log
*
*
* -
*
* RDS for MariaDB - audit | error | general | slowquery
*
*
* -
*
* RDS for Microsoft SQL Server - agent | error
*
*
* -
*
* RDS for MySQL - audit | error | general | slowquery
*
*
* -
*
* RDS for Oracle - alert | audit | listener | trace | oemagent
*
*
* -
*
* RDS for PostgreSQL - postgresql | upgrade
*
*
*/
public java.util.List getEnableCloudwatchLogsExports() {
if (enableCloudwatchLogsExports == null) {
enableCloudwatchLogsExports = new com.amazonaws.internal.SdkInternalList();
}
return enableCloudwatchLogsExports;
}
/**
*
* The list of log types to enable for exporting to CloudWatch Logs. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* The following values are valid for each DB engine:
*
*
* -
*
* RDS for Db2 - diag.log | notify.log
*
*
* -
*
* RDS for MariaDB - audit | error | general | slowquery
*
*
* -
*
* RDS for Microsoft SQL Server - agent | error
*
*
* -
*
* RDS for MySQL - audit | error | general | slowquery
*
*
* -
*
* RDS for Oracle - alert | audit | listener | trace | oemagent
*
*
* -
*
* RDS for PostgreSQL - postgresql | upgrade
*
*
*
*
* @param enableCloudwatchLogsExports
* The list of log types to enable for exporting to CloudWatch Logs. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* The following values are valid for each DB engine:
*
*
* -
*
* RDS for Db2 - diag.log | notify.log
*
*
* -
*
* RDS for MariaDB - audit | error | general | slowquery
*
*
* -
*
* RDS for Microsoft SQL Server - agent | error
*
*
* -
*
* RDS for MySQL - audit | error | general | slowquery
*
*
* -
*
* RDS for Oracle - alert | audit | listener | trace | oemagent
*
*
* -
*
* RDS for PostgreSQL - postgresql | upgrade
*
*
*/
public void setEnableCloudwatchLogsExports(java.util.Collection enableCloudwatchLogsExports) {
if (enableCloudwatchLogsExports == null) {
this.enableCloudwatchLogsExports = null;
return;
}
this.enableCloudwatchLogsExports = new com.amazonaws.internal.SdkInternalList(enableCloudwatchLogsExports);
}
/**
*
* The list of log types to enable for exporting to CloudWatch Logs. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* The following values are valid for each DB engine:
*
*
* -
*
* RDS for Db2 - diag.log | notify.log
*
*
* -
*
* RDS for MariaDB - audit | error | general | slowquery
*
*
* -
*
* RDS for Microsoft SQL Server - agent | error
*
*
* -
*
* RDS for MySQL - audit | error | general | slowquery
*
*
* -
*
* RDS for Oracle - alert | audit | listener | trace | oemagent
*
*
* -
*
* RDS for PostgreSQL - postgresql | upgrade
*
*
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setEnableCloudwatchLogsExports(java.util.Collection)} or
* {@link #withEnableCloudwatchLogsExports(java.util.Collection)} if you want to override the existing values.
*
*
* @param enableCloudwatchLogsExports
* The list of log types to enable for exporting to CloudWatch Logs. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* The following values are valid for each DB engine:
*
*
* -
*
* RDS for Db2 - diag.log | notify.log
*
*
* -
*
* RDS for MariaDB - audit | error | general | slowquery
*
*
* -
*
* RDS for Microsoft SQL Server - agent | error
*
*
* -
*
* RDS for MySQL - audit | error | general | slowquery
*
*
* -
*
* RDS for Oracle - alert | audit | listener | trace | oemagent
*
*
* -
*
* RDS for PostgreSQL - postgresql | upgrade
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withEnableCloudwatchLogsExports(String... enableCloudwatchLogsExports) {
if (this.enableCloudwatchLogsExports == null) {
setEnableCloudwatchLogsExports(new com.amazonaws.internal.SdkInternalList(enableCloudwatchLogsExports.length));
}
for (String ele : enableCloudwatchLogsExports) {
this.enableCloudwatchLogsExports.add(ele);
}
return this;
}
/**
*
* The list of log types to enable for exporting to CloudWatch Logs. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* The following values are valid for each DB engine:
*
*
* -
*
* RDS for Db2 - diag.log | notify.log
*
*
* -
*
* RDS for MariaDB - audit | error | general | slowquery
*
*
* -
*
* RDS for Microsoft SQL Server - agent | error
*
*
* -
*
* RDS for MySQL - audit | error | general | slowquery
*
*
* -
*
* RDS for Oracle - alert | audit | listener | trace | oemagent
*
*
* -
*
* RDS for PostgreSQL - postgresql | upgrade
*
*
*
*
* @param enableCloudwatchLogsExports
* The list of log types to enable for exporting to CloudWatch Logs. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* The following values are valid for each DB engine:
*
*
* -
*
* RDS for Db2 - diag.log | notify.log
*
*
* -
*
* RDS for MariaDB - audit | error | general | slowquery
*
*
* -
*
* RDS for Microsoft SQL Server - agent | error
*
*
* -
*
* RDS for MySQL - audit | error | general | slowquery
*
*
* -
*
* RDS for Oracle - alert | audit | listener | trace | oemagent
*
*
* -
*
* RDS for PostgreSQL - postgresql | upgrade
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withEnableCloudwatchLogsExports(java.util.Collection enableCloudwatchLogsExports) {
setEnableCloudwatchLogsExports(enableCloudwatchLogsExports);
return this;
}
/**
*
* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @return The number of CPU cores and the number of threads per core for the DB instance class of the DB
* instance.
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*/
public java.util.List getProcessorFeatures() {
if (processorFeatures == null) {
processorFeatures = new com.amazonaws.internal.SdkInternalList();
}
return processorFeatures;
}
/**
*
* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @param processorFeatures
* The number of CPU cores and the number of threads per core for the DB instance class of the DB
* instance.
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*/
public void setProcessorFeatures(java.util.Collection processorFeatures) {
if (processorFeatures == null) {
this.processorFeatures = null;
return;
}
this.processorFeatures = new com.amazonaws.internal.SdkInternalList(processorFeatures);
}
/**
*
* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setProcessorFeatures(java.util.Collection)} or {@link #withProcessorFeatures(java.util.Collection)} if
* you want to override the existing values.
*
*
* @param processorFeatures
* The number of CPU cores and the number of threads per core for the DB instance class of the DB
* instance.
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withProcessorFeatures(ProcessorFeature... processorFeatures) {
if (this.processorFeatures == null) {
setProcessorFeatures(new com.amazonaws.internal.SdkInternalList(processorFeatures.length));
}
for (ProcessorFeature ele : processorFeatures) {
this.processorFeatures.add(ele);
}
return this;
}
/**
*
* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @param processorFeatures
* The number of CPU cores and the number of threads per core for the DB instance class of the DB
* instance.
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withProcessorFeatures(java.util.Collection processorFeatures) {
setProcessorFeatures(processorFeatures);
return this;
}
/**
*
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
* protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB
* Instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection for the
* DB cluster. For more information, see CreateDBCluster
. DB instances in a DB cluster can be deleted
* even when deletion protection is enabled for the DB cluster.
*
*
* @param deletionProtection
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when
* deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see
* Deleting a DB
* Instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection
* for the DB cluster. For more information, see CreateDBCluster
. DB instances in a DB cluster
* can be deleted even when deletion protection is enabled for the DB cluster.
*/
public void setDeletionProtection(Boolean deletionProtection) {
this.deletionProtection = deletionProtection;
}
/**
*
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
* protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB
* Instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection for the
* DB cluster. For more information, see CreateDBCluster
. DB instances in a DB cluster can be deleted
* even when deletion protection is enabled for the DB cluster.
*
*
* @return Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when
* deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see
* Deleting a DB
* Instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection
* for the DB cluster. For more information, see CreateDBCluster
. DB instances in a DB cluster
* can be deleted even when deletion protection is enabled for the DB cluster.
*/
public Boolean getDeletionProtection() {
return this.deletionProtection;
}
/**
*
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
* protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB
* Instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection for the
* DB cluster. For more information, see CreateDBCluster
. DB instances in a DB cluster can be deleted
* even when deletion protection is enabled for the DB cluster.
*
*
* @param deletionProtection
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when
* deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see
* Deleting a DB
* Instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection
* for the DB cluster. For more information, see CreateDBCluster
. DB instances in a DB cluster
* can be deleted even when deletion protection is enabled for the DB cluster.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDeletionProtection(Boolean deletionProtection) {
setDeletionProtection(deletionProtection);
return this;
}
/**
*
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
* protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB
* Instance.
*
*
* This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection for the
* DB cluster. For more information, see CreateDBCluster
. DB instances in a DB cluster can be deleted
* even when deletion protection is enabled for the DB cluster.
*
*
* @return Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when
* deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see
* Deleting a DB
* Instance.
*
* This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection
* for the DB cluster. For more information, see CreateDBCluster
. DB instances in a DB cluster
* can be deleted even when deletion protection is enabled for the DB cluster.
*/
public Boolean isDeletionProtection() {
return this.deletionProtection;
}
/**
*
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.
*
*
* For more information about this setting, including limitations that apply to it, see
* Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Storage is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @param maxAllocatedStorage
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB
* instance.
*
* For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User
* Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Storage is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public void setMaxAllocatedStorage(Integer maxAllocatedStorage) {
this.maxAllocatedStorage = maxAllocatedStorage;
}
/**
*
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.
*
*
* For more information about this setting, including limitations that apply to it, see
* Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Storage is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @return The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB
* instance.
*
* For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User
* Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Storage is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*/
public Integer getMaxAllocatedStorage() {
return this.maxAllocatedStorage;
}
/**
*
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.
*
*
* For more information about this setting, including limitations that apply to it, see
* Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Storage is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
*
*
* @param maxAllocatedStorage
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB
* instance.
*
* For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User
* Guide.
*
*
* This setting doesn't apply to the following DB instances:
*
*
* -
*
* Amazon Aurora (Storage is managed by the DB cluster.)
*
*
* -
*
* RDS Custom
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withMaxAllocatedStorage(Integer maxAllocatedStorage) {
setMaxAllocatedStorage(maxAllocatedStorage);
return this;
}
/**
*
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from
* outside of its virtual private cloud (VPC) on your local network.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*
*
* @param enableCustomerOwnedIp
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB
* instance from outside of its virtual private cloud (VPC) on your local network.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS
* on Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*/
public void setEnableCustomerOwnedIp(Boolean enableCustomerOwnedIp) {
this.enableCustomerOwnedIp = enableCustomerOwnedIp;
}
/**
*
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from
* outside of its virtual private cloud (VPC) on your local network.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*
*
* @return Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB
* instance from outside of its virtual private cloud (VPC) on your local network.
*
*
* For more information about RDS on Outposts, see Working with Amazon
* RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*/
public Boolean getEnableCustomerOwnedIp() {
return this.enableCustomerOwnedIp;
}
/**
*
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from
* outside of its virtual private cloud (VPC) on your local network.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*
*
* @param enableCustomerOwnedIp
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB
* instance from outside of its virtual private cloud (VPC) on your local network.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS
* on Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withEnableCustomerOwnedIp(Boolean enableCustomerOwnedIp) {
setEnableCustomerOwnedIp(enableCustomerOwnedIp);
return this;
}
/**
*
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from
* outside of its virtual private cloud (VPC) on your local network.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*
*
* @return Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB
* instance from outside of its virtual private cloud (VPC) on your local network.
*
*
* For more information about RDS on Outposts, see Working with Amazon
* RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*/
public Boolean isEnableCustomerOwnedIp() {
return this.enableCustomerOwnedIp;
}
/**
*
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.
*
*
* This setting is required for RDS Custom.
*
*
* Constraints:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*
*
* @param customIamInstanceProfile
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.
*
* This setting is required for RDS Custom.
*
*
* Constraints:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix
* AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*/
public void setCustomIamInstanceProfile(String customIamInstanceProfile) {
this.customIamInstanceProfile = customIamInstanceProfile;
}
/**
*
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.
*
*
* This setting is required for RDS Custom.
*
*
* Constraints:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*
*
* @return The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.
*
* This setting is required for RDS Custom.
*
*
* Constraints:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix
* AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
*/
public String getCustomIamInstanceProfile() {
return this.customIamInstanceProfile;
}
/**
*
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.
*
*
* This setting is required for RDS Custom.
*
*
* Constraints:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*
*
* @param customIamInstanceProfile
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.
*
* This setting is required for RDS Custom.
*
*
* Constraints:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix
* AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withCustomIamInstanceProfile(String customIamInstanceProfile) {
setCustomIamInstanceProfile(customIamInstanceProfile);
return this;
}
/**
*
* The location for storing automated backups and manual snapshots.
*
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* @param backupTarget
* The location for storing automated backups and manual snapshots.
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS
* on Amazon Web Services Outposts in the Amazon RDS User Guide.
*/
public void setBackupTarget(String backupTarget) {
this.backupTarget = backupTarget;
}
/**
*
* The location for storing automated backups and manual snapshots.
*
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* @return The location for storing automated backups and manual snapshots.
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon
* RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
*/
public String getBackupTarget() {
return this.backupTarget;
}
/**
*
* The location for storing automated backups and manual snapshots.
*
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* @param backupTarget
* The location for storing automated backups and manual snapshots.
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS
* on Amazon Web Services Outposts in the Amazon RDS User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withBackupTarget(String backupTarget) {
setBackupTarget(backupTarget);
return this;
}
/**
*
* The network type of the DB instance.
*
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see Working
* with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values: IPV4 | DUAL
*
*
* @param networkType
* The network type of the DB instance.
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see
* Working with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values: IPV4 | DUAL
*/
public void setNetworkType(String networkType) {
this.networkType = networkType;
}
/**
*
* The network type of the DB instance.
*
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see Working
* with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values: IPV4 | DUAL
*
*
* @return The network type of the DB instance.
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see
* Working with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values: IPV4 | DUAL
*/
public String getNetworkType() {
return this.networkType;
}
/**
*
* The network type of the DB instance.
*
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see Working
* with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values: IPV4 | DUAL
*
*
* @param networkType
* The network type of the DB instance.
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see
* Working with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values: IPV4 | DUAL
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withNetworkType(String networkType) {
setNetworkType(networkType);
return this;
}
/**
*
* The storage throughput value for the DB instance.
*
*
* This setting applies only to the gp3
storage type.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @param storageThroughput
* The storage throughput value for the DB instance.
*
* This setting applies only to the gp3
storage type.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*/
public void setStorageThroughput(Integer storageThroughput) {
this.storageThroughput = storageThroughput;
}
/**
*
* The storage throughput value for the DB instance.
*
*
* This setting applies only to the gp3
storage type.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @return The storage throughput value for the DB instance.
*
* This setting applies only to the gp3
storage type.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*/
public Integer getStorageThroughput() {
return this.storageThroughput;
}
/**
*
* The storage throughput value for the DB instance.
*
*
* This setting applies only to the gp3
storage type.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* @param storageThroughput
* The storage throughput value for the DB instance.
*
* This setting applies only to the gp3
storage type.
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withStorageThroughput(Integer storageThroughput) {
setStorageThroughput(storageThroughput);
return this;
}
/**
*
* Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.
*
*
* For more information, see Password management with
* Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Can't manage the master user password with Amazon Web Services Secrets Manager if MasterUserPassword
* is specified.
*
*
*
*
* @param manageMasterUserPassword
* Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.
*
* For more information, see Password management
* with Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Can't manage the master user password with Amazon Web Services Secrets Manager if
* MasterUserPassword
is specified.
*
*
*/
public void setManageMasterUserPassword(Boolean manageMasterUserPassword) {
this.manageMasterUserPassword = manageMasterUserPassword;
}
/**
*
* Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.
*
*
* For more information, see Password management with
* Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Can't manage the master user password with Amazon Web Services Secrets Manager if MasterUserPassword
* is specified.
*
*
*
*
* @return Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.
*
* For more information, see Password
* management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Can't manage the master user password with Amazon Web Services Secrets Manager if
* MasterUserPassword
is specified.
*
*
*/
public Boolean getManageMasterUserPassword() {
return this.manageMasterUserPassword;
}
/**
*
* Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.
*
*
* For more information, see Password management with
* Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Can't manage the master user password with Amazon Web Services Secrets Manager if MasterUserPassword
* is specified.
*
*
*
*
* @param manageMasterUserPassword
* Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.
*
* For more information, see Password management
* with Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Can't manage the master user password with Amazon Web Services Secrets Manager if
* MasterUserPassword
is specified.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withManageMasterUserPassword(Boolean manageMasterUserPassword) {
setManageMasterUserPassword(manageMasterUserPassword);
return this;
}
/**
*
* Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.
*
*
* For more information, see Password management with
* Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Can't manage the master user password with Amazon Web Services Secrets Manager if MasterUserPassword
* is specified.
*
*
*
*
* @return Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.
*
* For more information, see Password
* management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
*
*
* Constraints:
*
*
* -
*
* Can't manage the master user password with Amazon Web Services Secrets Manager if
* MasterUserPassword
is specified.
*
*
*/
public Boolean isManageMasterUserPassword() {
return this.manageMasterUserPassword;
}
/**
*
* The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in
* Amazon Web Services Secrets Manager.
*
*
* This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager
* for the DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To
* use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* If you don't specify MasterUserSecretKmsKeyId
, then the aws/secretsmanager
KMS key is
* used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the
* aws/secretsmanager
KMS key to encrypt the secret, and you must use a customer managed KMS key.
*
*
* There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different
* default KMS key for each Amazon Web Services Region.
*
*
* @param masterUserSecretKmsKeyId
* The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed
* in Amazon Web Services Secrets Manager.
*
* This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets
* Manager for the DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS
* key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* If you don't specify MasterUserSecretKmsKeyId
, then the aws/secretsmanager
KMS
* key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you
* can't use the aws/secretsmanager
KMS key to encrypt the secret, and you must use a customer
* managed KMS key.
*
*
* There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a
* different default KMS key for each Amazon Web Services Region.
*/
public void setMasterUserSecretKmsKeyId(String masterUserSecretKmsKeyId) {
this.masterUserSecretKmsKeyId = masterUserSecretKmsKeyId;
}
/**
*
* The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in
* Amazon Web Services Secrets Manager.
*
*
* This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager
* for the DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To
* use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* If you don't specify MasterUserSecretKmsKeyId
, then the aws/secretsmanager
KMS key is
* used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the
* aws/secretsmanager
KMS key to encrypt the secret, and you must use a customer managed KMS key.
*
*
* There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different
* default KMS key for each Amazon Web Services Region.
*
*
* @return The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and
* managed in Amazon Web Services Secrets Manager.
*
* This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets
* Manager for the DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS
* key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* If you don't specify MasterUserSecretKmsKeyId
, then the aws/secretsmanager
KMS
* key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you
* can't use the aws/secretsmanager
KMS key to encrypt the secret, and you must use a customer
* managed KMS key.
*
*
* There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a
* different default KMS key for each Amazon Web Services Region.
*/
public String getMasterUserSecretKmsKeyId() {
return this.masterUserSecretKmsKeyId;
}
/**
*
* The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in
* Amazon Web Services Secrets Manager.
*
*
* This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager
* for the DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To
* use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* If you don't specify MasterUserSecretKmsKeyId
, then the aws/secretsmanager
KMS key is
* used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the
* aws/secretsmanager
KMS key to encrypt the secret, and you must use a customer managed KMS key.
*
*
* There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different
* default KMS key for each Amazon Web Services Region.
*
*
* @param masterUserSecretKmsKeyId
* The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed
* in Amazon Web Services Secrets Manager.
*
* This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets
* Manager for the DB instance.
*
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS
* key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.
*
*
* If you don't specify MasterUserSecretKmsKeyId
, then the aws/secretsmanager
KMS
* key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you
* can't use the aws/secretsmanager
KMS key to encrypt the secret, and you must use a customer
* managed KMS key.
*
*
* There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a
* different default KMS key for each Amazon Web Services Region.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withMasterUserSecretKmsKeyId(String masterUserSecretKmsKeyId) {
setMasterUserSecretKmsKeyId(masterUserSecretKmsKeyId);
return this;
}
/**
*
* The CA certificate identifier to use for the DB instance's server certificate.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to encrypt a
* connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to
* encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*
*
* @param cACertificateIdentifier
* The CA certificate identifier to use for the DB instance's server certificate.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to
* encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS
* to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*/
public void setCACertificateIdentifier(String cACertificateIdentifier) {
this.cACertificateIdentifier = cACertificateIdentifier;
}
/**
*
* The CA certificate identifier to use for the DB instance's server certificate.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to encrypt a
* connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to
* encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*
*
* @return The CA certificate identifier to use for the DB instance's server certificate.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to
* encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS
* to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*/
public String getCACertificateIdentifier() {
return this.cACertificateIdentifier;
}
/**
*
* The CA certificate identifier to use for the DB instance's server certificate.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to encrypt a
* connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to
* encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*
*
* @param cACertificateIdentifier
* The CA certificate identifier to use for the DB instance's server certificate.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to
* encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS
* to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withCACertificateIdentifier(String cACertificateIdentifier) {
setCACertificateIdentifier(cACertificateIdentifier);
return this;
}
/**
*
* The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database
* files. In this context, the term "Oracle database instance" refers exclusively to the system global area (SGA)
* and Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB
. The
* Oracle SID is also the name of your CDB.
*
*
* @param dBSystemId
* The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your
* database files. In this context, the term "Oracle database instance" refers exclusively to the system
* global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to
* RDSCDB
. The Oracle SID is also the name of your CDB.
*/
public void setDBSystemId(String dBSystemId) {
this.dBSystemId = dBSystemId;
}
/**
*
* The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database
* files. In this context, the term "Oracle database instance" refers exclusively to the system global area (SGA)
* and Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB
. The
* Oracle SID is also the name of your CDB.
*
*
* @return The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your
* database files. In this context, the term "Oracle database instance" refers exclusively to the system
* global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to
* RDSCDB
. The Oracle SID is also the name of your CDB.
*/
public String getDBSystemId() {
return this.dBSystemId;
}
/**
*
* The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database
* files. In this context, the term "Oracle database instance" refers exclusively to the system global area (SGA)
* and Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB
. The
* Oracle SID is also the name of your CDB.
*
*
* @param dBSystemId
* The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your
* database files. In this context, the term "Oracle database instance" refers exclusively to the system
* global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to
* RDSCDB
. The Oracle SID is also the name of your CDB.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDBSystemId(String dBSystemId) {
setDBSystemId(dBSystemId);
return this;
}
/**
*
* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
*
*
* @param dedicatedLogVolume
* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
*/
public void setDedicatedLogVolume(Boolean dedicatedLogVolume) {
this.dedicatedLogVolume = dedicatedLogVolume;
}
/**
*
* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
*
*
* @return Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
*/
public Boolean getDedicatedLogVolume() {
return this.dedicatedLogVolume;
}
/**
*
* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
*
*
* @param dedicatedLogVolume
* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withDedicatedLogVolume(Boolean dedicatedLogVolume) {
setDedicatedLogVolume(dedicatedLogVolume);
return this;
}
/**
*
* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
*
*
* @return Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
*/
public Boolean isDedicatedLogVolume() {
return this.dedicatedLogVolume;
}
/**
*
* Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default). This
* parameter only applies to RDS for Oracle container database (CDB) engines.
*
*
* Note the following restrictions:
*
*
* -
*
* The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt to
* enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.
*
*
* -
*
* If you specify the multi-tenant configuration when you create your DB instance, you can't later modify this DB
* instance to use the single-tenant configuration.
*
*
*
*
* @param multiTenant
* Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default). This
* parameter only applies to RDS for Oracle container database (CDB) engines.
*
* Note the following restrictions:
*
*
* -
*
* The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt
* to enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.
*
*
* -
*
* If you specify the multi-tenant configuration when you create your DB instance, you can't later modify
* this DB instance to use the single-tenant configuration.
*
*
*/
public void setMultiTenant(Boolean multiTenant) {
this.multiTenant = multiTenant;
}
/**
*
* Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default). This
* parameter only applies to RDS for Oracle container database (CDB) engines.
*
*
* Note the following restrictions:
*
*
* -
*
* The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt to
* enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.
*
*
* -
*
* If you specify the multi-tenant configuration when you create your DB instance, you can't later modify this DB
* instance to use the single-tenant configuration.
*
*
*
*
* @return Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default).
* This parameter only applies to RDS for Oracle container database (CDB) engines.
*
* Note the following restrictions:
*
*
* -
*
* The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt
* to enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.
*
*
* -
*
* If you specify the multi-tenant configuration when you create your DB instance, you can't later modify
* this DB instance to use the single-tenant configuration.
*
*
*/
public Boolean getMultiTenant() {
return this.multiTenant;
}
/**
*
* Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default). This
* parameter only applies to RDS for Oracle container database (CDB) engines.
*
*
* Note the following restrictions:
*
*
* -
*
* The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt to
* enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.
*
*
* -
*
* If you specify the multi-tenant configuration when you create your DB instance, you can't later modify this DB
* instance to use the single-tenant configuration.
*
*
*
*
* @param multiTenant
* Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default). This
* parameter only applies to RDS for Oracle container database (CDB) engines.
*
* Note the following restrictions:
*
*
* -
*
* The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt
* to enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.
*
*
* -
*
* If you specify the multi-tenant configuration when you create your DB instance, you can't later modify
* this DB instance to use the single-tenant configuration.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withMultiTenant(Boolean multiTenant) {
setMultiTenant(multiTenant);
return this;
}
/**
*
* Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default). This
* parameter only applies to RDS for Oracle container database (CDB) engines.
*
*
* Note the following restrictions:
*
*
* -
*
* The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt to
* enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.
*
*
* -
*
* If you specify the multi-tenant configuration when you create your DB instance, you can't later modify this DB
* instance to use the single-tenant configuration.
*
*
*
*
* @return Specifies whether to use the multi-tenant configuration or the single-tenant configuration (default).
* This parameter only applies to RDS for Oracle container database (CDB) engines.
*
* Note the following restrictions:
*
*
* -
*
* The DB engine that you specify in the request must support the multi-tenant configuration. If you attempt
* to enable the multi-tenant configuration on a DB engine that doesn't support it, the request fails.
*
*
* -
*
* If you specify the multi-tenant configuration when you create your DB instance, you can't later modify
* this DB instance to use the single-tenant configuration.
*
*
*/
public Boolean isMultiTenant() {
return this.multiTenant;
}
/**
*
* The life cycle type for this DB instance.
*
*
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB instance
* into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by
* setting the value to open-source-rds-extended-support-disabled
. In this case, creating the DB
* instance will fail if the DB major version is past its end of standard support date.
*
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle
* type is managed by the DB cluster.
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support,
* you can run the selected major engine version on your DB instance past the end of standard support for that
* engine version. For more information, see Using Amazon RDS Extended
* Support in the Amazon RDS User Guide.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*
*
* @param engineLifecycleSupport
* The life cycle type for this DB instance.
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB
* instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for
* Extended Support by setting the value to open-source-rds-extended-support-disabled
. In this
* case, creating the DB instance will fail if the DB major version is past its end of standard support date.
*
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the
* life cycle type is managed by the DB cluster.
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended
* Support, you can run the selected major engine version on your DB instance past the end of standard
* support for that engine version. For more information, see Using Amazon RDS
* Extended Support in the Amazon RDS User Guide.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*/
public void setEngineLifecycleSupport(String engineLifecycleSupport) {
this.engineLifecycleSupport = engineLifecycleSupport;
}
/**
*
* The life cycle type for this DB instance.
*
*
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB instance
* into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by
* setting the value to open-source-rds-extended-support-disabled
. In this case, creating the DB
* instance will fail if the DB major version is past its end of standard support date.
*
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle
* type is managed by the DB cluster.
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support,
* you can run the selected major engine version on your DB instance past the end of standard support for that
* engine version. For more information, see Using Amazon RDS Extended
* Support in the Amazon RDS User Guide.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*
*
* @return The life cycle type for this DB instance.
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB
* instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for
* Extended Support by setting the value to open-source-rds-extended-support-disabled
. In this
* case, creating the DB instance will fail if the DB major version is past its end of standard support
* date.
*
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the
* life cycle type is managed by the DB cluster.
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended
* Support, you can run the selected major engine version on your DB instance past the end of standard
* support for that engine version. For more information, see Using Amazon RDS
* Extended Support in the Amazon RDS User Guide.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*/
public String getEngineLifecycleSupport() {
return this.engineLifecycleSupport;
}
/**
*
* The life cycle type for this DB instance.
*
*
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB instance
* into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by
* setting the value to open-source-rds-extended-support-disabled
. In this case, creating the DB
* instance will fail if the DB major version is past its end of standard support date.
*
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle
* type is managed by the DB cluster.
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support,
* you can run the selected major engine version on your DB instance past the end of standard support for that
* engine version. For more information, see Using Amazon RDS Extended
* Support in the Amazon RDS User Guide.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*
*
* @param engineLifecycleSupport
* The life cycle type for this DB instance.
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB
* instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for
* Extended Support by setting the value to open-source-rds-extended-support-disabled
. In this
* case, creating the DB instance will fail if the DB major version is past its end of standard support date.
*
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the
* life cycle type is managed by the DB cluster.
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended
* Support, you can run the selected major engine version on your DB instance past the end of standard
* support for that engine version. For more information, see Using Amazon RDS
* Extended Support in the Amazon RDS User Guide.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateDBInstanceRequest withEngineLifecycleSupport(String engineLifecycleSupport) {
setEngineLifecycleSupport(engineLifecycleSupport);
return this;
}
/**
* 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.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getDBName() != null)
sb.append("DBName: ").append(getDBName()).append(",");
if (getDBInstanceIdentifier() != null)
sb.append("DBInstanceIdentifier: ").append(getDBInstanceIdentifier()).append(",");
if (getAllocatedStorage() != null)
sb.append("AllocatedStorage: ").append(getAllocatedStorage()).append(",");
if (getDBInstanceClass() != null)
sb.append("DBInstanceClass: ").append(getDBInstanceClass()).append(",");
if (getEngine() != null)
sb.append("Engine: ").append(getEngine()).append(",");
if (getMasterUsername() != null)
sb.append("MasterUsername: ").append(getMasterUsername()).append(",");
if (getMasterUserPassword() != null)
sb.append("MasterUserPassword: ").append(getMasterUserPassword()).append(",");
if (getDBSecurityGroups() != null)
sb.append("DBSecurityGroups: ").append(getDBSecurityGroups()).append(",");
if (getVpcSecurityGroupIds() != null)
sb.append("VpcSecurityGroupIds: ").append(getVpcSecurityGroupIds()).append(",");
if (getAvailabilityZone() != null)
sb.append("AvailabilityZone: ").append(getAvailabilityZone()).append(",");
if (getDBSubnetGroupName() != null)
sb.append("DBSubnetGroupName: ").append(getDBSubnetGroupName()).append(",");
if (getPreferredMaintenanceWindow() != null)
sb.append("PreferredMaintenanceWindow: ").append(getPreferredMaintenanceWindow()).append(",");
if (getDBParameterGroupName() != null)
sb.append("DBParameterGroupName: ").append(getDBParameterGroupName()).append(",");
if (getBackupRetentionPeriod() != null)
sb.append("BackupRetentionPeriod: ").append(getBackupRetentionPeriod()).append(",");
if (getPreferredBackupWindow() != null)
sb.append("PreferredBackupWindow: ").append(getPreferredBackupWindow()).append(",");
if (getPort() != null)
sb.append("Port: ").append(getPort()).append(",");
if (getMultiAZ() != null)
sb.append("MultiAZ: ").append(getMultiAZ()).append(",");
if (getEngineVersion() != null)
sb.append("EngineVersion: ").append(getEngineVersion()).append(",");
if (getAutoMinorVersionUpgrade() != null)
sb.append("AutoMinorVersionUpgrade: ").append(getAutoMinorVersionUpgrade()).append(",");
if (getLicenseModel() != null)
sb.append("LicenseModel: ").append(getLicenseModel()).append(",");
if (getIops() != null)
sb.append("Iops: ").append(getIops()).append(",");
if (getOptionGroupName() != null)
sb.append("OptionGroupName: ").append(getOptionGroupName()).append(",");
if (getCharacterSetName() != null)
sb.append("CharacterSetName: ").append(getCharacterSetName()).append(",");
if (getNcharCharacterSetName() != null)
sb.append("NcharCharacterSetName: ").append(getNcharCharacterSetName()).append(",");
if (getPubliclyAccessible() != null)
sb.append("PubliclyAccessible: ").append(getPubliclyAccessible()).append(",");
if (getTags() != null)
sb.append("Tags: ").append(getTags()).append(",");
if (getDBClusterIdentifier() != null)
sb.append("DBClusterIdentifier: ").append(getDBClusterIdentifier()).append(",");
if (getStorageType() != null)
sb.append("StorageType: ").append(getStorageType()).append(",");
if (getTdeCredentialArn() != null)
sb.append("TdeCredentialArn: ").append(getTdeCredentialArn()).append(",");
if (getTdeCredentialPassword() != null)
sb.append("TdeCredentialPassword: ").append(getTdeCredentialPassword()).append(",");
if (getStorageEncrypted() != null)
sb.append("StorageEncrypted: ").append(getStorageEncrypted()).append(",");
if (getKmsKeyId() != null)
sb.append("KmsKeyId: ").append(getKmsKeyId()).append(",");
if (getDomain() != null)
sb.append("Domain: ").append(getDomain()).append(",");
if (getDomainFqdn() != null)
sb.append("DomainFqdn: ").append(getDomainFqdn()).append(",");
if (getDomainOu() != null)
sb.append("DomainOu: ").append(getDomainOu()).append(",");
if (getDomainAuthSecretArn() != null)
sb.append("DomainAuthSecretArn: ").append(getDomainAuthSecretArn()).append(",");
if (getDomainDnsIps() != null)
sb.append("DomainDnsIps: ").append(getDomainDnsIps()).append(",");
if (getCopyTagsToSnapshot() != null)
sb.append("CopyTagsToSnapshot: ").append(getCopyTagsToSnapshot()).append(",");
if (getMonitoringInterval() != null)
sb.append("MonitoringInterval: ").append(getMonitoringInterval()).append(",");
if (getMonitoringRoleArn() != null)
sb.append("MonitoringRoleArn: ").append(getMonitoringRoleArn()).append(",");
if (getDomainIAMRoleName() != null)
sb.append("DomainIAMRoleName: ").append(getDomainIAMRoleName()).append(",");
if (getPromotionTier() != null)
sb.append("PromotionTier: ").append(getPromotionTier()).append(",");
if (getTimezone() != null)
sb.append("Timezone: ").append(getTimezone()).append(",");
if (getEnableIAMDatabaseAuthentication() != null)
sb.append("EnableIAMDatabaseAuthentication: ").append(getEnableIAMDatabaseAuthentication()).append(",");
if (getEnablePerformanceInsights() != null)
sb.append("EnablePerformanceInsights: ").append(getEnablePerformanceInsights()).append(",");
if (getPerformanceInsightsKMSKeyId() != null)
sb.append("PerformanceInsightsKMSKeyId: ").append(getPerformanceInsightsKMSKeyId()).append(",");
if (getPerformanceInsightsRetentionPeriod() != null)
sb.append("PerformanceInsightsRetentionPeriod: ").append(getPerformanceInsightsRetentionPeriod()).append(",");
if (getEnableCloudwatchLogsExports() != null)
sb.append("EnableCloudwatchLogsExports: ").append(getEnableCloudwatchLogsExports()).append(",");
if (getProcessorFeatures() != null)
sb.append("ProcessorFeatures: ").append(getProcessorFeatures()).append(",");
if (getDeletionProtection() != null)
sb.append("DeletionProtection: ").append(getDeletionProtection()).append(",");
if (getMaxAllocatedStorage() != null)
sb.append("MaxAllocatedStorage: ").append(getMaxAllocatedStorage()).append(",");
if (getEnableCustomerOwnedIp() != null)
sb.append("EnableCustomerOwnedIp: ").append(getEnableCustomerOwnedIp()).append(",");
if (getCustomIamInstanceProfile() != null)
sb.append("CustomIamInstanceProfile: ").append(getCustomIamInstanceProfile()).append(",");
if (getBackupTarget() != null)
sb.append("BackupTarget: ").append(getBackupTarget()).append(",");
if (getNetworkType() != null)
sb.append("NetworkType: ").append(getNetworkType()).append(",");
if (getStorageThroughput() != null)
sb.append("StorageThroughput: ").append(getStorageThroughput()).append(",");
if (getManageMasterUserPassword() != null)
sb.append("ManageMasterUserPassword: ").append(getManageMasterUserPassword()).append(",");
if (getMasterUserSecretKmsKeyId() != null)
sb.append("MasterUserSecretKmsKeyId: ").append(getMasterUserSecretKmsKeyId()).append(",");
if (getCACertificateIdentifier() != null)
sb.append("CACertificateIdentifier: ").append(getCACertificateIdentifier()).append(",");
if (getDBSystemId() != null)
sb.append("DBSystemId: ").append(getDBSystemId()).append(",");
if (getDedicatedLogVolume() != null)
sb.append("DedicatedLogVolume: ").append(getDedicatedLogVolume()).append(",");
if (getMultiTenant() != null)
sb.append("MultiTenant: ").append(getMultiTenant()).append(",");
if (getEngineLifecycleSupport() != null)
sb.append("EngineLifecycleSupport: ").append(getEngineLifecycleSupport());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof CreateDBInstanceRequest == false)
return false;
CreateDBInstanceRequest other = (CreateDBInstanceRequest) obj;
if (other.getDBName() == null ^ this.getDBName() == null)
return false;
if (other.getDBName() != null && other.getDBName().equals(this.getDBName()) == false)
return false;
if (other.getDBInstanceIdentifier() == null ^ this.getDBInstanceIdentifier() == null)
return false;
if (other.getDBInstanceIdentifier() != null && other.getDBInstanceIdentifier().equals(this.getDBInstanceIdentifier()) == false)
return false;
if (other.getAllocatedStorage() == null ^ this.getAllocatedStorage() == null)
return false;
if (other.getAllocatedStorage() != null && other.getAllocatedStorage().equals(this.getAllocatedStorage()) == false)
return false;
if (other.getDBInstanceClass() == null ^ this.getDBInstanceClass() == null)
return false;
if (other.getDBInstanceClass() != null && other.getDBInstanceClass().equals(this.getDBInstanceClass()) == false)
return false;
if (other.getEngine() == null ^ this.getEngine() == null)
return false;
if (other.getEngine() != null && other.getEngine().equals(this.getEngine()) == false)
return false;
if (other.getMasterUsername() == null ^ this.getMasterUsername() == null)
return false;
if (other.getMasterUsername() != null && other.getMasterUsername().equals(this.getMasterUsername()) == false)
return false;
if (other.getMasterUserPassword() == null ^ this.getMasterUserPassword() == null)
return false;
if (other.getMasterUserPassword() != null && other.getMasterUserPassword().equals(this.getMasterUserPassword()) == false)
return false;
if (other.getDBSecurityGroups() == null ^ this.getDBSecurityGroups() == null)
return false;
if (other.getDBSecurityGroups() != null && other.getDBSecurityGroups().equals(this.getDBSecurityGroups()) == false)
return false;
if (other.getVpcSecurityGroupIds() == null ^ this.getVpcSecurityGroupIds() == null)
return false;
if (other.getVpcSecurityGroupIds() != null && other.getVpcSecurityGroupIds().equals(this.getVpcSecurityGroupIds()) == false)
return false;
if (other.getAvailabilityZone() == null ^ this.getAvailabilityZone() == null)
return false;
if (other.getAvailabilityZone() != null && other.getAvailabilityZone().equals(this.getAvailabilityZone()) == false)
return false;
if (other.getDBSubnetGroupName() == null ^ this.getDBSubnetGroupName() == null)
return false;
if (other.getDBSubnetGroupName() != null && other.getDBSubnetGroupName().equals(this.getDBSubnetGroupName()) == false)
return false;
if (other.getPreferredMaintenanceWindow() == null ^ this.getPreferredMaintenanceWindow() == null)
return false;
if (other.getPreferredMaintenanceWindow() != null && other.getPreferredMaintenanceWindow().equals(this.getPreferredMaintenanceWindow()) == false)
return false;
if (other.getDBParameterGroupName() == null ^ this.getDBParameterGroupName() == null)
return false;
if (other.getDBParameterGroupName() != null && other.getDBParameterGroupName().equals(this.getDBParameterGroupName()) == false)
return false;
if (other.getBackupRetentionPeriod() == null ^ this.getBackupRetentionPeriod() == null)
return false;
if (other.getBackupRetentionPeriod() != null && other.getBackupRetentionPeriod().equals(this.getBackupRetentionPeriod()) == false)
return false;
if (other.getPreferredBackupWindow() == null ^ this.getPreferredBackupWindow() == null)
return false;
if (other.getPreferredBackupWindow() != null && other.getPreferredBackupWindow().equals(this.getPreferredBackupWindow()) == false)
return false;
if (other.getPort() == null ^ this.getPort() == null)
return false;
if (other.getPort() != null && other.getPort().equals(this.getPort()) == false)
return false;
if (other.getMultiAZ() == null ^ this.getMultiAZ() == null)
return false;
if (other.getMultiAZ() != null && other.getMultiAZ().equals(this.getMultiAZ()) == false)
return false;
if (other.getEngineVersion() == null ^ this.getEngineVersion() == null)
return false;
if (other.getEngineVersion() != null && other.getEngineVersion().equals(this.getEngineVersion()) == false)
return false;
if (other.getAutoMinorVersionUpgrade() == null ^ this.getAutoMinorVersionUpgrade() == null)
return false;
if (other.getAutoMinorVersionUpgrade() != null && other.getAutoMinorVersionUpgrade().equals(this.getAutoMinorVersionUpgrade()) == false)
return false;
if (other.getLicenseModel() == null ^ this.getLicenseModel() == null)
return false;
if (other.getLicenseModel() != null && other.getLicenseModel().equals(this.getLicenseModel()) == false)
return false;
if (other.getIops() == null ^ this.getIops() == null)
return false;
if (other.getIops() != null && other.getIops().equals(this.getIops()) == false)
return false;
if (other.getOptionGroupName() == null ^ this.getOptionGroupName() == null)
return false;
if (other.getOptionGroupName() != null && other.getOptionGroupName().equals(this.getOptionGroupName()) == false)
return false;
if (other.getCharacterSetName() == null ^ this.getCharacterSetName() == null)
return false;
if (other.getCharacterSetName() != null && other.getCharacterSetName().equals(this.getCharacterSetName()) == false)
return false;
if (other.getNcharCharacterSetName() == null ^ this.getNcharCharacterSetName() == null)
return false;
if (other.getNcharCharacterSetName() != null && other.getNcharCharacterSetName().equals(this.getNcharCharacterSetName()) == false)
return false;
if (other.getPubliclyAccessible() == null ^ this.getPubliclyAccessible() == null)
return false;
if (other.getPubliclyAccessible() != null && other.getPubliclyAccessible().equals(this.getPubliclyAccessible()) == false)
return false;
if (other.getTags() == null ^ this.getTags() == null)
return false;
if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
return false;
if (other.getDBClusterIdentifier() == null ^ this.getDBClusterIdentifier() == null)
return false;
if (other.getDBClusterIdentifier() != null && other.getDBClusterIdentifier().equals(this.getDBClusterIdentifier()) == false)
return false;
if (other.getStorageType() == null ^ this.getStorageType() == null)
return false;
if (other.getStorageType() != null && other.getStorageType().equals(this.getStorageType()) == false)
return false;
if (other.getTdeCredentialArn() == null ^ this.getTdeCredentialArn() == null)
return false;
if (other.getTdeCredentialArn() != null && other.getTdeCredentialArn().equals(this.getTdeCredentialArn()) == false)
return false;
if (other.getTdeCredentialPassword() == null ^ this.getTdeCredentialPassword() == null)
return false;
if (other.getTdeCredentialPassword() != null && other.getTdeCredentialPassword().equals(this.getTdeCredentialPassword()) == false)
return false;
if (other.getStorageEncrypted() == null ^ this.getStorageEncrypted() == null)
return false;
if (other.getStorageEncrypted() != null && other.getStorageEncrypted().equals(this.getStorageEncrypted()) == false)
return false;
if (other.getKmsKeyId() == null ^ this.getKmsKeyId() == null)
return false;
if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false)
return false;
if (other.getDomain() == null ^ this.getDomain() == null)
return false;
if (other.getDomain() != null && other.getDomain().equals(this.getDomain()) == false)
return false;
if (other.getDomainFqdn() == null ^ this.getDomainFqdn() == null)
return false;
if (other.getDomainFqdn() != null && other.getDomainFqdn().equals(this.getDomainFqdn()) == false)
return false;
if (other.getDomainOu() == null ^ this.getDomainOu() == null)
return false;
if (other.getDomainOu() != null && other.getDomainOu().equals(this.getDomainOu()) == false)
return false;
if (other.getDomainAuthSecretArn() == null ^ this.getDomainAuthSecretArn() == null)
return false;
if (other.getDomainAuthSecretArn() != null && other.getDomainAuthSecretArn().equals(this.getDomainAuthSecretArn()) == false)
return false;
if (other.getDomainDnsIps() == null ^ this.getDomainDnsIps() == null)
return false;
if (other.getDomainDnsIps() != null && other.getDomainDnsIps().equals(this.getDomainDnsIps()) == false)
return false;
if (other.getCopyTagsToSnapshot() == null ^ this.getCopyTagsToSnapshot() == null)
return false;
if (other.getCopyTagsToSnapshot() != null && other.getCopyTagsToSnapshot().equals(this.getCopyTagsToSnapshot()) == false)
return false;
if (other.getMonitoringInterval() == null ^ this.getMonitoringInterval() == null)
return false;
if (other.getMonitoringInterval() != null && other.getMonitoringInterval().equals(this.getMonitoringInterval()) == false)
return false;
if (other.getMonitoringRoleArn() == null ^ this.getMonitoringRoleArn() == null)
return false;
if (other.getMonitoringRoleArn() != null && other.getMonitoringRoleArn().equals(this.getMonitoringRoleArn()) == false)
return false;
if (other.getDomainIAMRoleName() == null ^ this.getDomainIAMRoleName() == null)
return false;
if (other.getDomainIAMRoleName() != null && other.getDomainIAMRoleName().equals(this.getDomainIAMRoleName()) == false)
return false;
if (other.getPromotionTier() == null ^ this.getPromotionTier() == null)
return false;
if (other.getPromotionTier() != null && other.getPromotionTier().equals(this.getPromotionTier()) == false)
return false;
if (other.getTimezone() == null ^ this.getTimezone() == null)
return false;
if (other.getTimezone() != null && other.getTimezone().equals(this.getTimezone()) == false)
return false;
if (other.getEnableIAMDatabaseAuthentication() == null ^ this.getEnableIAMDatabaseAuthentication() == null)
return false;
if (other.getEnableIAMDatabaseAuthentication() != null
&& other.getEnableIAMDatabaseAuthentication().equals(this.getEnableIAMDatabaseAuthentication()) == false)
return false;
if (other.getEnablePerformanceInsights() == null ^ this.getEnablePerformanceInsights() == null)
return false;
if (other.getEnablePerformanceInsights() != null && other.getEnablePerformanceInsights().equals(this.getEnablePerformanceInsights()) == false)
return false;
if (other.getPerformanceInsightsKMSKeyId() == null ^ this.getPerformanceInsightsKMSKeyId() == null)
return false;
if (other.getPerformanceInsightsKMSKeyId() != null && other.getPerformanceInsightsKMSKeyId().equals(this.getPerformanceInsightsKMSKeyId()) == false)
return false;
if (other.getPerformanceInsightsRetentionPeriod() == null ^ this.getPerformanceInsightsRetentionPeriod() == null)
return false;
if (other.getPerformanceInsightsRetentionPeriod() != null
&& other.getPerformanceInsightsRetentionPeriod().equals(this.getPerformanceInsightsRetentionPeriod()) == false)
return false;
if (other.getEnableCloudwatchLogsExports() == null ^ this.getEnableCloudwatchLogsExports() == null)
return false;
if (other.getEnableCloudwatchLogsExports() != null && other.getEnableCloudwatchLogsExports().equals(this.getEnableCloudwatchLogsExports()) == false)
return false;
if (other.getProcessorFeatures() == null ^ this.getProcessorFeatures() == null)
return false;
if (other.getProcessorFeatures() != null && other.getProcessorFeatures().equals(this.getProcessorFeatures()) == false)
return false;
if (other.getDeletionProtection() == null ^ this.getDeletionProtection() == null)
return false;
if (other.getDeletionProtection() != null && other.getDeletionProtection().equals(this.getDeletionProtection()) == false)
return false;
if (other.getMaxAllocatedStorage() == null ^ this.getMaxAllocatedStorage() == null)
return false;
if (other.getMaxAllocatedStorage() != null && other.getMaxAllocatedStorage().equals(this.getMaxAllocatedStorage()) == false)
return false;
if (other.getEnableCustomerOwnedIp() == null ^ this.getEnableCustomerOwnedIp() == null)
return false;
if (other.getEnableCustomerOwnedIp() != null && other.getEnableCustomerOwnedIp().equals(this.getEnableCustomerOwnedIp()) == false)
return false;
if (other.getCustomIamInstanceProfile() == null ^ this.getCustomIamInstanceProfile() == null)
return false;
if (other.getCustomIamInstanceProfile() != null && other.getCustomIamInstanceProfile().equals(this.getCustomIamInstanceProfile()) == false)
return false;
if (other.getBackupTarget() == null ^ this.getBackupTarget() == null)
return false;
if (other.getBackupTarget() != null && other.getBackupTarget().equals(this.getBackupTarget()) == false)
return false;
if (other.getNetworkType() == null ^ this.getNetworkType() == null)
return false;
if (other.getNetworkType() != null && other.getNetworkType().equals(this.getNetworkType()) == false)
return false;
if (other.getStorageThroughput() == null ^ this.getStorageThroughput() == null)
return false;
if (other.getStorageThroughput() != null && other.getStorageThroughput().equals(this.getStorageThroughput()) == false)
return false;
if (other.getManageMasterUserPassword() == null ^ this.getManageMasterUserPassword() == null)
return false;
if (other.getManageMasterUserPassword() != null && other.getManageMasterUserPassword().equals(this.getManageMasterUserPassword()) == false)
return false;
if (other.getMasterUserSecretKmsKeyId() == null ^ this.getMasterUserSecretKmsKeyId() == null)
return false;
if (other.getMasterUserSecretKmsKeyId() != null && other.getMasterUserSecretKmsKeyId().equals(this.getMasterUserSecretKmsKeyId()) == false)
return false;
if (other.getCACertificateIdentifier() == null ^ this.getCACertificateIdentifier() == null)
return false;
if (other.getCACertificateIdentifier() != null && other.getCACertificateIdentifier().equals(this.getCACertificateIdentifier()) == false)
return false;
if (other.getDBSystemId() == null ^ this.getDBSystemId() == null)
return false;
if (other.getDBSystemId() != null && other.getDBSystemId().equals(this.getDBSystemId()) == false)
return false;
if (other.getDedicatedLogVolume() == null ^ this.getDedicatedLogVolume() == null)
return false;
if (other.getDedicatedLogVolume() != null && other.getDedicatedLogVolume().equals(this.getDedicatedLogVolume()) == false)
return false;
if (other.getMultiTenant() == null ^ this.getMultiTenant() == null)
return false;
if (other.getMultiTenant() != null && other.getMultiTenant().equals(this.getMultiTenant()) == false)
return false;
if (other.getEngineLifecycleSupport() == null ^ this.getEngineLifecycleSupport() == null)
return false;
if (other.getEngineLifecycleSupport() != null && other.getEngineLifecycleSupport().equals(this.getEngineLifecycleSupport()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getDBName() == null) ? 0 : getDBName().hashCode());
hashCode = prime * hashCode + ((getDBInstanceIdentifier() == null) ? 0 : getDBInstanceIdentifier().hashCode());
hashCode = prime * hashCode + ((getAllocatedStorage() == null) ? 0 : getAllocatedStorage().hashCode());
hashCode = prime * hashCode + ((getDBInstanceClass() == null) ? 0 : getDBInstanceClass().hashCode());
hashCode = prime * hashCode + ((getEngine() == null) ? 0 : getEngine().hashCode());
hashCode = prime * hashCode + ((getMasterUsername() == null) ? 0 : getMasterUsername().hashCode());
hashCode = prime * hashCode + ((getMasterUserPassword() == null) ? 0 : getMasterUserPassword().hashCode());
hashCode = prime * hashCode + ((getDBSecurityGroups() == null) ? 0 : getDBSecurityGroups().hashCode());
hashCode = prime * hashCode + ((getVpcSecurityGroupIds() == null) ? 0 : getVpcSecurityGroupIds().hashCode());
hashCode = prime * hashCode + ((getAvailabilityZone() == null) ? 0 : getAvailabilityZone().hashCode());
hashCode = prime * hashCode + ((getDBSubnetGroupName() == null) ? 0 : getDBSubnetGroupName().hashCode());
hashCode = prime * hashCode + ((getPreferredMaintenanceWindow() == null) ? 0 : getPreferredMaintenanceWindow().hashCode());
hashCode = prime * hashCode + ((getDBParameterGroupName() == null) ? 0 : getDBParameterGroupName().hashCode());
hashCode = prime * hashCode + ((getBackupRetentionPeriod() == null) ? 0 : getBackupRetentionPeriod().hashCode());
hashCode = prime * hashCode + ((getPreferredBackupWindow() == null) ? 0 : getPreferredBackupWindow().hashCode());
hashCode = prime * hashCode + ((getPort() == null) ? 0 : getPort().hashCode());
hashCode = prime * hashCode + ((getMultiAZ() == null) ? 0 : getMultiAZ().hashCode());
hashCode = prime * hashCode + ((getEngineVersion() == null) ? 0 : getEngineVersion().hashCode());
hashCode = prime * hashCode + ((getAutoMinorVersionUpgrade() == null) ? 0 : getAutoMinorVersionUpgrade().hashCode());
hashCode = prime * hashCode + ((getLicenseModel() == null) ? 0 : getLicenseModel().hashCode());
hashCode = prime * hashCode + ((getIops() == null) ? 0 : getIops().hashCode());
hashCode = prime * hashCode + ((getOptionGroupName() == null) ? 0 : getOptionGroupName().hashCode());
hashCode = prime * hashCode + ((getCharacterSetName() == null) ? 0 : getCharacterSetName().hashCode());
hashCode = prime * hashCode + ((getNcharCharacterSetName() == null) ? 0 : getNcharCharacterSetName().hashCode());
hashCode = prime * hashCode + ((getPubliclyAccessible() == null) ? 0 : getPubliclyAccessible().hashCode());
hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
hashCode = prime * hashCode + ((getDBClusterIdentifier() == null) ? 0 : getDBClusterIdentifier().hashCode());
hashCode = prime * hashCode + ((getStorageType() == null) ? 0 : getStorageType().hashCode());
hashCode = prime * hashCode + ((getTdeCredentialArn() == null) ? 0 : getTdeCredentialArn().hashCode());
hashCode = prime * hashCode + ((getTdeCredentialPassword() == null) ? 0 : getTdeCredentialPassword().hashCode());
hashCode = prime * hashCode + ((getStorageEncrypted() == null) ? 0 : getStorageEncrypted().hashCode());
hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode());
hashCode = prime * hashCode + ((getDomain() == null) ? 0 : getDomain().hashCode());
hashCode = prime * hashCode + ((getDomainFqdn() == null) ? 0 : getDomainFqdn().hashCode());
hashCode = prime * hashCode + ((getDomainOu() == null) ? 0 : getDomainOu().hashCode());
hashCode = prime * hashCode + ((getDomainAuthSecretArn() == null) ? 0 : getDomainAuthSecretArn().hashCode());
hashCode = prime * hashCode + ((getDomainDnsIps() == null) ? 0 : getDomainDnsIps().hashCode());
hashCode = prime * hashCode + ((getCopyTagsToSnapshot() == null) ? 0 : getCopyTagsToSnapshot().hashCode());
hashCode = prime * hashCode + ((getMonitoringInterval() == null) ? 0 : getMonitoringInterval().hashCode());
hashCode = prime * hashCode + ((getMonitoringRoleArn() == null) ? 0 : getMonitoringRoleArn().hashCode());
hashCode = prime * hashCode + ((getDomainIAMRoleName() == null) ? 0 : getDomainIAMRoleName().hashCode());
hashCode = prime * hashCode + ((getPromotionTier() == null) ? 0 : getPromotionTier().hashCode());
hashCode = prime * hashCode + ((getTimezone() == null) ? 0 : getTimezone().hashCode());
hashCode = prime * hashCode + ((getEnableIAMDatabaseAuthentication() == null) ? 0 : getEnableIAMDatabaseAuthentication().hashCode());
hashCode = prime * hashCode + ((getEnablePerformanceInsights() == null) ? 0 : getEnablePerformanceInsights().hashCode());
hashCode = prime * hashCode + ((getPerformanceInsightsKMSKeyId() == null) ? 0 : getPerformanceInsightsKMSKeyId().hashCode());
hashCode = prime * hashCode + ((getPerformanceInsightsRetentionPeriod() == null) ? 0 : getPerformanceInsightsRetentionPeriod().hashCode());
hashCode = prime * hashCode + ((getEnableCloudwatchLogsExports() == null) ? 0 : getEnableCloudwatchLogsExports().hashCode());
hashCode = prime * hashCode + ((getProcessorFeatures() == null) ? 0 : getProcessorFeatures().hashCode());
hashCode = prime * hashCode + ((getDeletionProtection() == null) ? 0 : getDeletionProtection().hashCode());
hashCode = prime * hashCode + ((getMaxAllocatedStorage() == null) ? 0 : getMaxAllocatedStorage().hashCode());
hashCode = prime * hashCode + ((getEnableCustomerOwnedIp() == null) ? 0 : getEnableCustomerOwnedIp().hashCode());
hashCode = prime * hashCode + ((getCustomIamInstanceProfile() == null) ? 0 : getCustomIamInstanceProfile().hashCode());
hashCode = prime * hashCode + ((getBackupTarget() == null) ? 0 : getBackupTarget().hashCode());
hashCode = prime * hashCode + ((getNetworkType() == null) ? 0 : getNetworkType().hashCode());
hashCode = prime * hashCode + ((getStorageThroughput() == null) ? 0 : getStorageThroughput().hashCode());
hashCode = prime * hashCode + ((getManageMasterUserPassword() == null) ? 0 : getManageMasterUserPassword().hashCode());
hashCode = prime * hashCode + ((getMasterUserSecretKmsKeyId() == null) ? 0 : getMasterUserSecretKmsKeyId().hashCode());
hashCode = prime * hashCode + ((getCACertificateIdentifier() == null) ? 0 : getCACertificateIdentifier().hashCode());
hashCode = prime * hashCode + ((getDBSystemId() == null) ? 0 : getDBSystemId().hashCode());
hashCode = prime * hashCode + ((getDedicatedLogVolume() == null) ? 0 : getDedicatedLogVolume().hashCode());
hashCode = prime * hashCode + ((getMultiTenant() == null) ? 0 : getMultiTenant().hashCode());
hashCode = prime * hashCode + ((getEngineLifecycleSupport() == null) ? 0 : getEngineLifecycleSupport().hashCode());
return hashCode;
}
@Override
public CreateDBInstanceRequest clone() {
return (CreateDBInstanceRequest) super.clone();
}
}