/* * Copyright 2018-2023 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 RestoreDBInstanceFromS3Request extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the database to create when the DB instance is created. Follow the naming rules specified in
* CreateDBInstance
.
*
* The DB instance identifier. This parameter is stored as a lowercase string. *
** Constraints: *
** Must contain from 1 to 63 letters, numbers, or hyphens. *
** First character must be a letter. *
** Can't end with a hyphen or contain two consecutive hyphens. *
*
* Example: mydbinstance
*
* The amount of storage (in gibibytes) to allocate initially for the DB instance. Follow the allocation rules
* specified in CreateDBInstance
.
*
* Be sure to allocate enough storage for your new DB instance so that the restore operation can succeed. You can * also allocate additional storage for future growth. *
** The compute and memory capacity of the DB instance, for example db.m4.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 Class * in the Amazon RDS User Guide. *
** Importing from Amazon S3 isn't supported on the db.t2.micro DB instance class. *
*/ private String dBInstanceClass; /** ** The name of the database engine to be used for this instance. *
*
* Valid Values: mysql
*
* The name for the master user. *
** Constraints: *
** Must be 1 to 16 letters or numbers. *
** First character must be a letter. *
** Can't be a reserved word for the chosen database engine. *
** The password for the master user. The password can include any printable ASCII character except "/", """, or "@". *
*
* Constraints: Can't be specified if ManageMasterUserPassword
is turned on.
*
* MariaDB *
** Constraints: Must contain from 8 to 41 characters. *
** Microsoft SQL Server *
** Constraints: Must contain from 8 to 128 characters. *
** MySQL *
** Constraints: Must contain from 8 to 41 characters. *
** Oracle *
** Constraints: Must contain from 8 to 30 characters. *
** PostgreSQL *
** Constraints: Must contain from 8 to 128 characters. *
*/ private String masterUserPassword; /** ** A list of DB security groups to associate with this DB instance. *
** Default: The default DB security group for the database engine. *
*/ private com.amazonaws.internal.SdkInternalList* A list of VPC security groups to associate with this DB instance. *
*/ private com.amazonaws.internal.SdkInternalList* The Availability Zone that the DB instance is created in. For information about Amazon Web Services Regions and * Availability Zones, see Regions * and Availability Zones in the Amazon RDS User Guide. *
** Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region. *
*
* Example: us-east-1d
*
* Constraint: 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.
*
* A DB subnet group to associate with this DB instance. *
** Constraints: If supplied, must match the name of an existing DBSubnetGroup. *
*
* Example: mydbsubnetgroup
*
* The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). For more * information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide. *
** Constraints: *
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
* Valid Days: 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. *
** The name of the DB parameter group to associate with this DB instance. *
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*
* The number of days for which automated backups are retained. Setting this parameter to a positive number enables
* backups. For more information, see CreateDBInstance
.
*
* The time range each day during which automated backups are created if automated backups are enabled. For more * information, see Backup window in the Amazon RDS User Guide. *
** Constraints: *
*
* Must be in the format hh24:mi-hh24:mi
.
*
* Must be in Universal Coordinated Time (UTC). *
** Must not conflict with the preferred maintenance window. *
** Must be at least 30 minutes. *
** The port number on which the database accepts connections. *
** Type: Integer *
*
* Valid Values: 1150
-65535
*
* Default: 3306
*
* A value that indicates whether the DB instance is a Multi-AZ deployment. If the DB instance is a Multi-AZ
* deployment, you can't set the AvailabilityZone
parameter.
*
* The version number of the database engine to use. Choose the latest minor version of your database engine. For
* information about engine versions, see CreateDBInstance
, or call
* DescribeDBEngineVersions
.
*
* A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the * maintenance window. By default, minor engine upgrades are not applied automatically. *
*/ private Boolean autoMinorVersionUpgrade; /** *
* The license model for this DB instance. Use general-public-license
.
*
* The amount of Provisioned IOPS (input/output operations per second) to allocate initially for the DB instance. * For information about valid IOPS values, see Amazon RDS Provisioned * IOPS storage in the Amazon RDS User Guide. *
*/ private Integer iops; /** ** The name of the option group to associate with this DB instance. If this argument is omitted, the default option * group for the specified engine is used. *
*/ private String optionGroupName; /** ** A value that indicates whether the DB instance is publicly accessible. *
** When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP * address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from * outside of the DB instance's VPC. 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. *
** For more information, see CreateDBInstance. *
*/ private Boolean publiclyAccessible; /** ** A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS Resources * in the Amazon RDS User Guide. *
*/ private com.amazonaws.internal.SdkInternalList* Specifies the storage type to be associated with the DB instance. *
*
* Valid values: gp2 | gp3 | io1 | standard
*
* If you specify io1
or gp3
, you must also include a value for the Iops
* parameter.
*
* Default: io1
if the Iops
parameter is specified; otherwise gp2
*
* A value that indicates whether the new DB instance is encrypted or not. *
*/ 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. *
*
* If the StorageEncrypted
parameter is enabled, and you do not specify a value for the
* KmsKeyId
parameter, then Amazon RDS will use 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.
*
* A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default, * tags are not copied. *
*/ private Boolean copyTagsToSnapshot; /** ** The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To * disable collecting Enhanced Monitoring metrics, specify 0. *
*
* If MonitoringRoleArn
is specified, then you must also set MonitoringInterval
to a value
* other than 0.
*
* Valid Values: 0, 1, 5, 10, 15, 30, 60 *
*
* Default: 0
*
* 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.
*
* A value that indicates 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 about IAM database authentication, see IAM Database * Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide. *
*/ private Boolean enableIAMDatabaseAuthentication; /** ** The name of the engine of your source database. *
*
* Valid Values: mysql
*
* The version of the database that the backup files were created from. *
** MySQL versions 5.6 and 5.7 are supported. *
*
* Example: 5.6.40
*
* The name of your Amazon S3 bucket that contains your database backup file. *
*/ private String s3BucketName; /** ** The prefix of your Amazon S3 bucket. *
*/ private String s3Prefix; /** ** An Amazon Web Services Identity and Access Management (IAM) role to allow Amazon RDS to access your Amazon S3 * bucket. *
*/ private String s3IngestionRoleArn; /** ** A value that indicates whether to enable Performance Insights for the DB instance. *
** For more information, see Using Amazon Performance * Insights in the Amazon RDS User Guide. *
*/ 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 do not 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.
*
* The number of days to retain Performance Insights data. The default is 7 days. The following values are valid: *
** 7 *
** month * 31, where month is a number of months from 1-23 *
** 731 *
** For example, the following values are valid: *
** 93 (3 months * 31) *
** 341 (11 months * 31) *
** 589 (19 months * 31) *
** 731 *
** If you specify a retention period such as 94, which isn't a valid value, RDS issues an error. *
*/ private Integer performanceInsightsRetentionPeriod; /** ** The list of logs that the restored DB instance is to export to CloudWatch Logs. The values in the list depend on * the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. *
*/ private com.amazonaws.internal.SdkInternalList* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *
*/ private com.amazonaws.internal.SdkInternalList* A value that indicates whether the DB instance class of the DB instance uses its default processor features. *
*/ private Boolean useDefaultProcessorFeatures; /** ** A value that indicates 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. *
*/ 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. *
*/ private Integer maxAllocatedStorage; /** ** The network type of the DB instance. *
** Valid values: *
*
* IPV4
*
* DUAL
*
* 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. *
*/ private String networkType; /** ** Specifies the storage throughput value for the DB instance. *
** This setting doesn't apply to RDS Custom or Amazon Aurora. *
*/ private Integer storageThroughput; /** ** A value that indicates 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.
*
* 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 name of the database to create when the DB instance is created. Follow the naming rules specified in
* CreateDBInstance
.
*
CreateDBInstance
.
*/
public void setDBName(String dBName) {
this.dBName = dBName;
}
/**
*
* The name of the database to create when the DB instance is created. Follow the naming rules specified in
* CreateDBInstance
.
*
CreateDBInstance
.
*/
public String getDBName() {
return this.dBName;
}
/**
*
* The name of the database to create when the DB instance is created. Follow the naming rules specified in
* CreateDBInstance
.
*
CreateDBInstance
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withDBName(String dBName) {
setDBName(dBName);
return this;
}
/**
* * The DB instance identifier. This parameter is stored as a lowercase string. *
** Constraints: *
** Must contain from 1 to 63 letters, numbers, or hyphens. *
** First character must be a letter. *
** Can't end with a hyphen or contain two consecutive hyphens. *
*
* Example: mydbinstance
*
* 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 DB instance identifier. This parameter is stored as a lowercase string. *
** Constraints: *
** Must contain from 1 to 63 letters, numbers, or hyphens. *
** First character must be a letter. *
** Can't end with a hyphen or contain two consecutive hyphens. *
*
* Example: mydbinstance
*
* 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 DB instance identifier. This parameter is stored as a lowercase string. *
** Constraints: *
** Must contain from 1 to 63 letters, numbers, or hyphens. *
** First character must be a letter. *
** Can't end with a hyphen or contain two consecutive hyphens. *
*
* Example: mydbinstance
*
* 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 RestoreDBInstanceFromS3Request withDBInstanceIdentifier(String dBInstanceIdentifier) {
setDBInstanceIdentifier(dBInstanceIdentifier);
return this;
}
/**
*
* The amount of storage (in gibibytes) to allocate initially for the DB instance. Follow the allocation rules
* specified in CreateDBInstance
.
*
* Be sure to allocate enough storage for your new DB instance so that the restore operation can succeed. You can * also allocate additional storage for future growth. *
*CreateDBInstance
. * Be sure to allocate enough storage for your new DB instance so that the restore operation can succeed. You * can also allocate additional storage for future growth. *
*/ public void setAllocatedStorage(Integer allocatedStorage) { this.allocatedStorage = allocatedStorage; } /** *
* The amount of storage (in gibibytes) to allocate initially for the DB instance. Follow the allocation rules
* specified in CreateDBInstance
.
*
* Be sure to allocate enough storage for your new DB instance so that the restore operation can succeed. You can * also allocate additional storage for future growth. *
*CreateDBInstance
. * Be sure to allocate enough storage for your new DB instance so that the restore operation can succeed. * You can also allocate additional storage for future growth. *
*/ public Integer getAllocatedStorage() { return this.allocatedStorage; } /** *
* The amount of storage (in gibibytes) to allocate initially for the DB instance. Follow the allocation rules
* specified in CreateDBInstance
.
*
* Be sure to allocate enough storage for your new DB instance so that the restore operation can succeed. You can * also allocate additional storage for future growth. *
*CreateDBInstance
. * Be sure to allocate enough storage for your new DB instance so that the restore operation can succeed. You * can also allocate additional storage for future growth. *
* @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withAllocatedStorage(Integer allocatedStorage) { setAllocatedStorage(allocatedStorage); return this; } /** ** The compute and memory capacity of the DB instance, for example db.m4.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 Class * in the Amazon RDS User Guide. *
** Importing from Amazon S3 isn't supported on the db.t2.micro DB instance class. *
* * @param dBInstanceClass * The compute and memory capacity of the DB instance, for example db.m4.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 * Class in the Amazon RDS User Guide. ** Importing from Amazon S3 isn't supported on the db.t2.micro DB instance class. */ public void setDBInstanceClass(String dBInstanceClass) { this.dBInstanceClass = dBInstanceClass; } /** *
* The compute and memory capacity of the DB instance, for example db.m4.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 Class * in the Amazon RDS User Guide. *
** Importing from Amazon S3 isn't supported on the db.t2.micro DB instance class. *
* * @return The compute and memory capacity of the DB instance, for example db.m4.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 * Class in the Amazon RDS User Guide. ** Importing from Amazon S3 isn't supported on the db.t2.micro DB instance class. */ public String getDBInstanceClass() { return this.dBInstanceClass; } /** *
* The compute and memory capacity of the DB instance, for example db.m4.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 Class * in the Amazon RDS User Guide. *
** Importing from Amazon S3 isn't supported on the db.t2.micro DB instance class. *
* * @param dBInstanceClass * The compute and memory capacity of the DB instance, for example db.m4.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 * Class in the Amazon RDS User Guide. ** Importing from Amazon S3 isn't supported on the db.t2.micro DB instance class. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withDBInstanceClass(String dBInstanceClass) { setDBInstanceClass(dBInstanceClass); return this; } /** *
* The name of the database engine to be used for this instance. *
*
* Valid Values: mysql
*
* Valid Values: mysql
*/
public void setEngine(String engine) {
this.engine = engine;
}
/**
*
* The name of the database engine to be used for this instance. *
*
* Valid Values: mysql
*
* Valid Values: mysql
*/
public String getEngine() {
return this.engine;
}
/**
*
* The name of the database engine to be used for this instance. *
*
* Valid Values: mysql
*
* Valid Values: mysql
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withEngine(String engine) {
setEngine(engine);
return this;
}
/**
*
* The name for the master user. *
** Constraints: *
** Must be 1 to 16 letters or numbers. *
** First character must be a letter. *
** Can't be a reserved word for the chosen database engine. *
** Constraints: *
** Must be 1 to 16 letters or numbers. *
** First character must be a letter. *
** Can't be a reserved word for the chosen database engine. *
** The name for the master user. *
** Constraints: *
** Must be 1 to 16 letters or numbers. *
** First character must be a letter. *
** Can't be a reserved word for the chosen database engine. *
** Constraints: *
** Must be 1 to 16 letters or numbers. *
** First character must be a letter. *
** Can't be a reserved word for the chosen database engine. *
** The name for the master user. *
** Constraints: *
** Must be 1 to 16 letters or numbers. *
** First character must be a letter. *
** Can't be a reserved word for the chosen database engine. *
** Constraints: *
** Must be 1 to 16 letters or numbers. *
** First character must be a letter. *
** Can't be a reserved word for the chosen database engine. *
** The password for the master user. The password can include any printable ASCII character except "/", """, or "@". *
*
* Constraints: Can't be specified if ManageMasterUserPassword
is turned on.
*
* MariaDB *
** Constraints: Must contain from 8 to 41 characters. *
** Microsoft SQL Server *
** Constraints: Must contain from 8 to 128 characters. *
** MySQL *
** Constraints: Must contain from 8 to 41 characters. *
** Oracle *
** Constraints: Must contain from 8 to 30 characters. *
** PostgreSQL *
** Constraints: Must contain from 8 to 128 characters. *
* * @param masterUserPassword * The password for the master user. The password can include any printable ASCII character except "/", * """, or "@". *
* Constraints: Can't be specified if ManageMasterUserPassword
is turned on.
*
* MariaDB *
** Constraints: Must contain from 8 to 41 characters. *
** Microsoft SQL Server *
** Constraints: Must contain from 8 to 128 characters. *
** MySQL *
** Constraints: Must contain from 8 to 41 characters. *
** Oracle *
** Constraints: Must contain from 8 to 30 characters. *
** PostgreSQL *
** Constraints: Must contain from 8 to 128 characters. */ public void setMasterUserPassword(String masterUserPassword) { this.masterUserPassword = masterUserPassword; } /** *
* The password for the master user. The password can include any printable ASCII character except "/", """, or "@". *
*
* Constraints: Can't be specified if ManageMasterUserPassword
is turned on.
*
* MariaDB *
** Constraints: Must contain from 8 to 41 characters. *
** Microsoft SQL Server *
** Constraints: Must contain from 8 to 128 characters. *
** MySQL *
** Constraints: Must contain from 8 to 41 characters. *
** Oracle *
** Constraints: Must contain from 8 to 30 characters. *
** PostgreSQL *
** Constraints: Must contain from 8 to 128 characters. *
* * @return The password for the master user. The password can include any printable ASCII character except "/", * """, or "@". *
* Constraints: Can't be specified if ManageMasterUserPassword
is turned on.
*
* MariaDB *
** Constraints: Must contain from 8 to 41 characters. *
** Microsoft SQL Server *
** Constraints: Must contain from 8 to 128 characters. *
** MySQL *
** Constraints: Must contain from 8 to 41 characters. *
** Oracle *
** Constraints: Must contain from 8 to 30 characters. *
** PostgreSQL *
** Constraints: Must contain from 8 to 128 characters. */ public String getMasterUserPassword() { return this.masterUserPassword; } /** *
* The password for the master user. The password can include any printable ASCII character except "/", """, or "@". *
*
* Constraints: Can't be specified if ManageMasterUserPassword
is turned on.
*
* MariaDB *
** Constraints: Must contain from 8 to 41 characters. *
** Microsoft SQL Server *
** Constraints: Must contain from 8 to 128 characters. *
** MySQL *
** Constraints: Must contain from 8 to 41 characters. *
** Oracle *
** Constraints: Must contain from 8 to 30 characters. *
** PostgreSQL *
** Constraints: Must contain from 8 to 128 characters. *
* * @param masterUserPassword * The password for the master user. The password can include any printable ASCII character except "/", * """, or "@". *
* Constraints: Can't be specified if ManageMasterUserPassword
is turned on.
*
* MariaDB *
** Constraints: Must contain from 8 to 41 characters. *
** Microsoft SQL Server *
** Constraints: Must contain from 8 to 128 characters. *
** MySQL *
** Constraints: Must contain from 8 to 41 characters. *
** Oracle *
** Constraints: Must contain from 8 to 30 characters. *
** PostgreSQL *
** Constraints: Must contain from 8 to 128 characters. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withMasterUserPassword(String masterUserPassword) { setMasterUserPassword(masterUserPassword); return this; } /** *
* A list of DB security groups to associate with this DB instance. *
** Default: The default DB security group for the database engine. *
* * @return A list of DB security groups to associate with this DB instance. *
* Default: The default DB security group for the database engine.
*/
public java.util.List
* A list of DB security groups to associate with this DB instance.
*
* Default: The default DB security group for the database engine.
*
* Default: The default DB security group for the database engine.
*/
public void setDBSecurityGroups(java.util.Collection
* A list of DB security groups to associate with this DB instance.
*
* Default: The default DB security group for the database engine.
*
* 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.
*
* Default: The default DB security group for the database engine.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withDBSecurityGroups(String... dBSecurityGroups) {
if (this.dBSecurityGroups == null) {
setDBSecurityGroups(new com.amazonaws.internal.SdkInternalList
* A list of DB security groups to associate with this DB instance.
*
* Default: The default DB security group for the database engine.
*
* Default: The default DB security group for the database engine.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withDBSecurityGroups(java.util.Collection
* A list of VPC security groups to associate with this DB instance.
*
* A list of VPC security groups to associate with this DB instance.
*
* A list of VPC security groups to associate with this DB instance.
*
* 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.
*
* A list of VPC security groups to associate with this DB instance.
*
* The Availability Zone that the DB instance is created in. For information about Amazon Web Services Regions and
* Availability Zones, see Regions
* and Availability Zones in the Amazon RDS User Guide.
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
*
* Example:
* Constraint: The us-east-1d
* 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.
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region. *
*
* Example: us-east-1d
*
* Constraint: 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.
*/
public void setAvailabilityZone(String availabilityZone) {
this.availabilityZone = availabilityZone;
}
/**
*
* The Availability Zone that the DB instance is created in. For information about Amazon Web Services Regions and * Availability Zones, see Regions * and Availability Zones in the Amazon RDS User Guide. *
** Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region. *
*
* Example: us-east-1d
*
* Constraint: 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.
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region. *
*
* Example: us-east-1d
*
* Constraint: 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.
*/
public String getAvailabilityZone() {
return this.availabilityZone;
}
/**
*
* The Availability Zone that the DB instance is created in. For information about Amazon Web Services Regions and * Availability Zones, see Regions * and Availability Zones in the Amazon RDS User Guide. *
** Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region. *
*
* Example: us-east-1d
*
* Constraint: 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.
*
* Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region. *
*
* Example: us-east-1d
*
* Constraint: 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withAvailabilityZone(String availabilityZone) {
setAvailabilityZone(availabilityZone);
return this;
}
/**
*
* A DB subnet group to associate with this DB instance. *
** Constraints: If supplied, must match the name of an existing DBSubnetGroup. *
*
* Example: mydbsubnetgroup
*
* Constraints: If supplied, must match the name of an existing DBSubnetGroup. *
*
* Example: mydbsubnetgroup
*/
public void setDBSubnetGroupName(String dBSubnetGroupName) {
this.dBSubnetGroupName = dBSubnetGroupName;
}
/**
*
* A DB subnet group to associate with this DB instance. *
** Constraints: If supplied, must match the name of an existing DBSubnetGroup. *
*
* Example: mydbsubnetgroup
*
* Constraints: If supplied, must match the name of an existing DBSubnetGroup. *
*
* Example: mydbsubnetgroup
*/
public String getDBSubnetGroupName() {
return this.dBSubnetGroupName;
}
/**
*
* A DB subnet group to associate with this DB instance. *
** Constraints: If supplied, must match the name of an existing DBSubnetGroup. *
*
* Example: mydbsubnetgroup
*
* Constraints: If supplied, must match the name of an existing DBSubnetGroup. *
*
* Example: mydbsubnetgroup
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withDBSubnetGroupName(String dBSubnetGroupName) {
setDBSubnetGroupName(dBSubnetGroupName);
return this;
}
/**
*
* The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). For more * information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide. *
** Constraints: *
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
* Valid Days: 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. *
** Constraints: *
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
* Valid Days: 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. *
** The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). For more * information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide. *
** Constraints: *
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
* Valid Days: 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. *
** Constraints: *
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
* Valid Days: 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. *
** The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). For more * information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide. *
** Constraints: *
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
* Valid Days: 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. *
** Constraints: *
*
* Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
*
* Valid Days: 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. *
** The name of the DB parameter group to associate with this DB instance. *
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*/
public void setDBParameterGroupName(String dBParameterGroupName) {
this.dBParameterGroupName = dBParameterGroupName;
}
/**
*
* The name of the DB parameter group to associate with this DB instance. *
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*/
public String getDBParameterGroupName() {
return this.dBParameterGroupName;
}
/**
*
* The name of the DB parameter group to associate with this DB instance. *
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request 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. For more information, see CreateDBInstance
.
*
CreateDBInstance
.
*/
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. For more information, see CreateDBInstance
.
*
CreateDBInstance
.
*/
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. For more information, see CreateDBInstance
.
*
CreateDBInstance
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withBackupRetentionPeriod(Integer backupRetentionPeriod) {
setBackupRetentionPeriod(backupRetentionPeriod);
return this;
}
/**
* * The time range each day during which automated backups are created if automated backups are enabled. For more * information, see Backup window in the Amazon RDS User Guide. *
** Constraints: *
*
* Must be in the format hh24:mi-hh24:mi
.
*
* Must be in Universal Coordinated Time (UTC). *
** Must not conflict with the preferred maintenance window. *
** Must be at least 30 minutes. *
** 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. *
** The time range each day during which automated backups are created if automated backups are enabled. For more * information, see Backup window in the Amazon RDS User Guide. *
** Constraints: *
*
* Must be in the format hh24:mi-hh24:mi
.
*
* Must be in Universal Coordinated Time (UTC). *
** Must not conflict with the preferred maintenance window. *
** Must be at least 30 minutes. *
** 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. *
** The time range each day during which automated backups are created if automated backups are enabled. For more * information, see Backup window in the Amazon RDS User Guide. *
** Constraints: *
*
* Must be in the format hh24:mi-hh24:mi
.
*
* Must be in Universal Coordinated Time (UTC). *
** Must not conflict with the preferred maintenance window. *
** Must be at least 30 minutes. *
** 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. *
** The port number on which the database accepts connections. *
** Type: Integer *
*
* Valid Values: 1150
-65535
*
* Default: 3306
*
* Type: Integer *
*
* Valid Values: 1150
-65535
*
* Default: 3306
*/
public void setPort(Integer port) {
this.port = port;
}
/**
*
* The port number on which the database accepts connections. *
** Type: Integer *
*
* Valid Values: 1150
-65535
*
* Default: 3306
*
* Type: Integer *
*
* Valid Values: 1150
-65535
*
* Default: 3306
*/
public Integer getPort() {
return this.port;
}
/**
*
* The port number on which the database accepts connections. *
** Type: Integer *
*
* Valid Values: 1150
-65535
*
* Default: 3306
*
* Type: Integer *
*
* Valid Values: 1150
-65535
*
* Default: 3306
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withPort(Integer port) {
setPort(port);
return this;
}
/**
*
* A value that indicates whether the DB instance is a Multi-AZ deployment. If the DB instance is a Multi-AZ
* deployment, you can't set the AvailabilityZone
parameter.
*
AvailabilityZone
parameter.
*/
public void setMultiAZ(Boolean multiAZ) {
this.multiAZ = multiAZ;
}
/**
*
* A value that indicates whether the DB instance is a Multi-AZ deployment. If the DB instance is a Multi-AZ
* deployment, you can't set the AvailabilityZone
parameter.
*
AvailabilityZone
parameter.
*/
public Boolean getMultiAZ() {
return this.multiAZ;
}
/**
*
* A value that indicates whether the DB instance is a Multi-AZ deployment. If the DB instance is a Multi-AZ
* deployment, you can't set the AvailabilityZone
parameter.
*
AvailabilityZone
parameter.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withMultiAZ(Boolean multiAZ) {
setMultiAZ(multiAZ);
return this;
}
/**
*
* A value that indicates whether the DB instance is a Multi-AZ deployment. If the DB instance is a Multi-AZ
* deployment, you can't set the AvailabilityZone
parameter.
*
AvailabilityZone
parameter.
*/
public Boolean isMultiAZ() {
return this.multiAZ;
}
/**
*
* The version number of the database engine to use. Choose the latest minor version of your database engine. For
* information about engine versions, see CreateDBInstance
, or call
* DescribeDBEngineVersions
.
*
CreateDBInstance
, or call
* DescribeDBEngineVersions
.
*/
public void setEngineVersion(String engineVersion) {
this.engineVersion = engineVersion;
}
/**
*
* The version number of the database engine to use. Choose the latest minor version of your database engine. For
* information about engine versions, see CreateDBInstance
, or call
* DescribeDBEngineVersions
.
*
CreateDBInstance
, or call
* DescribeDBEngineVersions
.
*/
public String getEngineVersion() {
return this.engineVersion;
}
/**
*
* The version number of the database engine to use. Choose the latest minor version of your database engine. For
* information about engine versions, see CreateDBInstance
, or call
* DescribeDBEngineVersions
.
*
CreateDBInstance
, or call
* DescribeDBEngineVersions
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withEngineVersion(String engineVersion) {
setEngineVersion(engineVersion);
return this;
}
/**
* * A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the * maintenance window. By default, minor engine upgrades are not applied automatically. *
* * @param autoMinorVersionUpgrade * A value that indicates whether minor engine upgrades are applied automatically to the DB instance during * the maintenance window. By default, minor engine upgrades are not applied automatically. */ public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) { this.autoMinorVersionUpgrade = autoMinorVersionUpgrade; } /** ** A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the * maintenance window. By default, minor engine upgrades are not applied automatically. *
* * @return A value that indicates whether minor engine upgrades are applied automatically to the DB instance during * the maintenance window. By default, minor engine upgrades are not applied automatically. */ public Boolean getAutoMinorVersionUpgrade() { return this.autoMinorVersionUpgrade; } /** ** A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the * maintenance window. By default, minor engine upgrades are not applied automatically. *
* * @param autoMinorVersionUpgrade * A value that indicates whether minor engine upgrades are applied automatically to the DB instance during * the maintenance window. By default, minor engine upgrades are not applied automatically. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) { setAutoMinorVersionUpgrade(autoMinorVersionUpgrade); return this; } /** ** A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the * maintenance window. By default, minor engine upgrades are not applied automatically. *
* * @return A value that indicates whether minor engine upgrades are applied automatically to the DB instance during * the maintenance window. By default, minor engine upgrades are not applied automatically. */ public Boolean isAutoMinorVersionUpgrade() { return this.autoMinorVersionUpgrade; } /** *
* The license model for this DB instance. Use general-public-license
.
*
general-public-license
.
*/
public void setLicenseModel(String licenseModel) {
this.licenseModel = licenseModel;
}
/**
*
* The license model for this DB instance. Use general-public-license
.
*
general-public-license
.
*/
public String getLicenseModel() {
return this.licenseModel;
}
/**
*
* The license model for this DB instance. Use general-public-license
.
*
general-public-license
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withLicenseModel(String licenseModel) {
setLicenseModel(licenseModel);
return this;
}
/**
* * The amount of Provisioned IOPS (input/output operations per second) to allocate initially for the DB instance. * For information about valid IOPS values, see Amazon RDS Provisioned * IOPS storage in the Amazon RDS User Guide. *
* * @param iops * The amount of Provisioned IOPS (input/output operations per second) to allocate initially for the DB * instance. For information about valid IOPS values, see Amazon RDS * Provisioned IOPS storage in the Amazon RDS User Guide. */ public void setIops(Integer iops) { this.iops = iops; } /** ** The amount of Provisioned IOPS (input/output operations per second) to allocate initially for the DB instance. * For information about valid IOPS values, see Amazon RDS Provisioned * IOPS storage in the Amazon RDS User Guide. *
* * @return The amount of Provisioned IOPS (input/output operations per second) to allocate initially for the DB * instance. For information about valid IOPS values, see Amazon RDS * Provisioned IOPS storage in the Amazon RDS User Guide. */ public Integer getIops() { return this.iops; } /** ** The amount of Provisioned IOPS (input/output operations per second) to allocate initially for the DB instance. * For information about valid IOPS values, see Amazon RDS Provisioned * IOPS storage in the Amazon RDS User Guide. *
* * @param iops * The amount of Provisioned IOPS (input/output operations per second) to allocate initially for the DB * instance. For information about valid IOPS values, see Amazon RDS * Provisioned IOPS storage in the Amazon RDS User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withIops(Integer iops) { setIops(iops); return this; } /** ** The name of the option group to associate with this DB instance. If this argument is omitted, the default option * group for the specified engine is used. *
* * @param optionGroupName * The name of the option group to associate with this DB instance. If this argument is omitted, the default * option group for the specified engine is used. */ public void setOptionGroupName(String optionGroupName) { this.optionGroupName = optionGroupName; } /** ** The name of the option group to associate with this DB instance. If this argument is omitted, the default option * group for the specified engine is used. *
* * @return The name of the option group to associate with this DB instance. If this argument is omitted, the default * option group for the specified engine is used. */ public String getOptionGroupName() { return this.optionGroupName; } /** ** The name of the option group to associate with this DB instance. If this argument is omitted, the default option * group for the specified engine is used. *
* * @param optionGroupName * The name of the option group to associate with this DB instance. If this argument is omitted, the default * option group for the specified engine is used. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withOptionGroupName(String optionGroupName) { setOptionGroupName(optionGroupName); return this; } /** ** A value that indicates whether the DB instance is publicly accessible. *
** When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP * address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from * outside of the DB instance's VPC. 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. *
** For more information, see CreateDBInstance. *
* * @param publiclyAccessible * A value that indicates whether the DB instance is publicly accessible. ** When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private * IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address * from outside of the DB instance's VPC. 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. *
** For more information, see CreateDBInstance. */ public void setPubliclyAccessible(Boolean publiclyAccessible) { this.publiclyAccessible = publiclyAccessible; } /** *
* A value that indicates whether the DB instance is publicly accessible. *
** When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP * address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from * outside of the DB instance's VPC. 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. *
** For more information, see CreateDBInstance. *
* * @return A value that indicates whether the DB instance is publicly accessible. ** When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the * private IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public * IP address from outside of the DB instance's VPC. 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. *
** For more information, see CreateDBInstance. */ public Boolean getPubliclyAccessible() { return this.publiclyAccessible; } /** *
* A value that indicates whether the DB instance is publicly accessible. *
** When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP * address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from * outside of the DB instance's VPC. 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. *
** For more information, see CreateDBInstance. *
* * @param publiclyAccessible * A value that indicates whether the DB instance is publicly accessible. ** When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private * IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address * from outside of the DB instance's VPC. 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. *
** For more information, see CreateDBInstance. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withPubliclyAccessible(Boolean publiclyAccessible) { setPubliclyAccessible(publiclyAccessible); return this; } /** *
* A value that indicates whether the DB instance is publicly accessible. *
** When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP * address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from * outside of the DB instance's VPC. 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. *
** For more information, see CreateDBInstance. *
* * @return A value that indicates whether the DB instance is publicly accessible. ** When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the * private IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public * IP address from outside of the DB instance's VPC. 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. *
** For more information, see CreateDBInstance. */ public Boolean isPubliclyAccessible() { return this.publiclyAccessible; } /** *
* A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS Resources * in the Amazon RDS User Guide. *
* * @return A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS * Resources in the Amazon RDS User Guide. */ public java.util.List* A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS Resources * in the Amazon RDS User Guide. *
* * @param tags * A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS * Resources in the Amazon RDS User Guide. */ public void setTags(java.util.Collection* A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS Resources * in the Amazon RDS User Guide. *
** 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 * A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS * Resources in the Amazon RDS User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withTags(Tag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList* A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS Resources * in the Amazon RDS User Guide. *
* * @param tags * A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS * Resources in the Amazon RDS User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withTags(java.util.Collection* Specifies the storage type to be associated with the DB instance. *
*
* Valid values: gp2 | gp3 | io1 | standard
*
* If you specify io1
or gp3
, you must also include a value for the Iops
* parameter.
*
* Default: io1
if the Iops
parameter is specified; otherwise gp2
*
* Valid values: gp2 | gp3 | io1 | standard
*
* If you specify io1
or gp3
, you must also include a value for the
* Iops
parameter.
*
* Default: io1
if the Iops
parameter is specified; otherwise gp2
*/
public void setStorageType(String storageType) {
this.storageType = storageType;
}
/**
*
* Specifies the storage type to be associated with the DB instance. *
*
* Valid values: gp2 | gp3 | io1 | standard
*
* If you specify io1
or gp3
, you must also include a value for the Iops
* parameter.
*
* Default: io1
if the Iops
parameter is specified; otherwise gp2
*
* Valid values: gp2 | gp3 | io1 | standard
*
* If you specify io1
or gp3
, you must also include a value for the
* Iops
parameter.
*
* Default: io1
if the Iops
parameter is specified; otherwise gp2
*/
public String getStorageType() {
return this.storageType;
}
/**
*
* Specifies the storage type to be associated with the DB instance. *
*
* Valid values: gp2 | gp3 | io1 | standard
*
* If you specify io1
or gp3
, you must also include a value for the Iops
* parameter.
*
* Default: io1
if the Iops
parameter is specified; otherwise gp2
*
* Valid values: gp2 | gp3 | io1 | standard
*
* If you specify io1
or gp3
, you must also include a value for the
* Iops
parameter.
*
* 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 RestoreDBInstanceFromS3Request withStorageType(String storageType) {
setStorageType(storageType);
return this;
}
/**
*
* A value that indicates whether the new DB instance is encrypted or not. *
* * @param storageEncrypted * A value that indicates whether the new DB instance is encrypted or not. */ public void setStorageEncrypted(Boolean storageEncrypted) { this.storageEncrypted = storageEncrypted; } /** ** A value that indicates whether the new DB instance is encrypted or not. *
* * @return A value that indicates whether the new DB instance is encrypted or not. */ public Boolean getStorageEncrypted() { return this.storageEncrypted; } /** ** A value that indicates whether the new DB instance is encrypted or not. *
* * @param storageEncrypted * A value that indicates whether the new DB instance is encrypted or not. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withStorageEncrypted(Boolean storageEncrypted) { setStorageEncrypted(storageEncrypted); return this; } /** ** A value that indicates whether the new DB instance is encrypted or not. *
* * @return A value that indicates whether the new DB instance is encrypted or not. */ 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. *
*
* If the StorageEncrypted
parameter is enabled, and you do not specify a value for the
* KmsKeyId
parameter, then Amazon RDS will use 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.
*
* 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 the StorageEncrypted
parameter is enabled, and you do not specify a value for the
* KmsKeyId
parameter, then Amazon RDS will use 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.
*/
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. *
*
* If the StorageEncrypted
parameter is enabled, and you do not specify a value for the
* KmsKeyId
parameter, then Amazon RDS will use 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.
*
* 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 the StorageEncrypted
parameter is enabled, and you do not specify a value for the
* KmsKeyId
parameter, then Amazon RDS will use 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.
*/
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. *
*
* If the StorageEncrypted
parameter is enabled, and you do not specify a value for the
* KmsKeyId
parameter, then Amazon RDS will use 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.
*
* 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 the StorageEncrypted
parameter is enabled, and you do not specify a value for the
* KmsKeyId
parameter, then Amazon RDS will use 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withKmsKeyId(String kmsKeyId) {
setKmsKeyId(kmsKeyId);
return this;
}
/**
*
* A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default, * tags are not copied. *
* * @param copyTagsToSnapshot * A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By * default, tags are not copied. */ public void setCopyTagsToSnapshot(Boolean copyTagsToSnapshot) { this.copyTagsToSnapshot = copyTagsToSnapshot; } /** ** A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default, * tags are not copied. *
* * @return A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By * default, tags are not copied. */ public Boolean getCopyTagsToSnapshot() { return this.copyTagsToSnapshot; } /** ** A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default, * tags are not copied. *
* * @param copyTagsToSnapshot * A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By * default, tags are not copied. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withCopyTagsToSnapshot(Boolean copyTagsToSnapshot) { setCopyTagsToSnapshot(copyTagsToSnapshot); return this; } /** ** A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default, * tags are not copied. *
* * @return A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By * default, tags are not copied. */ public Boolean isCopyTagsToSnapshot() { return this.copyTagsToSnapshot; } /** ** The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To * disable collecting Enhanced Monitoring metrics, specify 0. *
*
* If MonitoringRoleArn
is specified, then you must also set MonitoringInterval
to a value
* other than 0.
*
* Valid Values: 0, 1, 5, 10, 15, 30, 60 *
*
* Default: 0
*
* If MonitoringRoleArn
is specified, then you must also set MonitoringInterval
to
* a value other than 0.
*
* 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 collecting Enhanced Monitoring metrics, specify 0. *
*
* If MonitoringRoleArn
is specified, then you must also set MonitoringInterval
to a value
* other than 0.
*
* Valid Values: 0, 1, 5, 10, 15, 30, 60 *
*
* Default: 0
*
* If MonitoringRoleArn
is specified, then you must also set MonitoringInterval
to
* a value other than 0.
*
* 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 collecting Enhanced Monitoring metrics, specify 0. *
*
* If MonitoringRoleArn
is specified, then you must also set MonitoringInterval
to a value
* other than 0.
*
* Valid Values: 0, 1, 5, 10, 15, 30, 60 *
*
* Default: 0
*
* If MonitoringRoleArn
is specified, then you must also set MonitoringInterval
to
* a value other than 0.
*
* 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 RestoreDBInstanceFromS3Request 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.
*
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.
*/
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.
*
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.
*/
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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withMonitoringRoleArn(String monitoringRoleArn) {
setMonitoringRoleArn(monitoringRoleArn);
return this;
}
/**
*
* A value that indicates 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 about IAM database authentication, see IAM Database * Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide. *
* * @param enableIAMDatabaseAuthentication * A value that indicates 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 about IAM database authentication, see IAM Database * Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide. */ public void setEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication) { this.enableIAMDatabaseAuthentication = enableIAMDatabaseAuthentication; } /** *
* A value that indicates 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 about IAM database authentication, see IAM Database * Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide. *
* * @return A value that indicates 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 about IAM database authentication, see IAM Database * Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide. */ public Boolean getEnableIAMDatabaseAuthentication() { return this.enableIAMDatabaseAuthentication; } /** *
* A value that indicates 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 about IAM database authentication, see IAM Database * Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide. *
* * @param enableIAMDatabaseAuthentication * A value that indicates 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 about IAM database authentication, see IAM Database * Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication) { setEnableIAMDatabaseAuthentication(enableIAMDatabaseAuthentication); return this; } /** *
* A value that indicates 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 about IAM database authentication, see IAM Database * Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide. *
* * @return A value that indicates 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 about IAM database authentication, see IAM Database * Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide. */ public Boolean isEnableIAMDatabaseAuthentication() { return this.enableIAMDatabaseAuthentication; } /** *
* The name of the engine of your source database. *
*
* Valid Values: mysql
*
* Valid Values: mysql
*/
public void setSourceEngine(String sourceEngine) {
this.sourceEngine = sourceEngine;
}
/**
*
* The name of the engine of your source database. *
*
* Valid Values: mysql
*
* Valid Values: mysql
*/
public String getSourceEngine() {
return this.sourceEngine;
}
/**
*
* The name of the engine of your source database. *
*
* Valid Values: mysql
*
* Valid Values: mysql
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withSourceEngine(String sourceEngine) {
setSourceEngine(sourceEngine);
return this;
}
/**
*
* The version of the database that the backup files were created from. *
** MySQL versions 5.6 and 5.7 are supported. *
*
* Example: 5.6.40
*
* MySQL versions 5.6 and 5.7 are supported. *
*
* Example: 5.6.40
*/
public void setSourceEngineVersion(String sourceEngineVersion) {
this.sourceEngineVersion = sourceEngineVersion;
}
/**
*
* The version of the database that the backup files were created from. *
** MySQL versions 5.6 and 5.7 are supported. *
*
* Example: 5.6.40
*
* MySQL versions 5.6 and 5.7 are supported. *
*
* Example: 5.6.40
*/
public String getSourceEngineVersion() {
return this.sourceEngineVersion;
}
/**
*
* The version of the database that the backup files were created from. *
** MySQL versions 5.6 and 5.7 are supported. *
*
* Example: 5.6.40
*
* MySQL versions 5.6 and 5.7 are supported. *
*
* Example: 5.6.40
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withSourceEngineVersion(String sourceEngineVersion) {
setSourceEngineVersion(sourceEngineVersion);
return this;
}
/**
*
* The name of your Amazon S3 bucket that contains your database backup file. *
* * @param s3BucketName * The name of your Amazon S3 bucket that contains your database backup file. */ public void setS3BucketName(String s3BucketName) { this.s3BucketName = s3BucketName; } /** ** The name of your Amazon S3 bucket that contains your database backup file. *
* * @return The name of your Amazon S3 bucket that contains your database backup file. */ public String getS3BucketName() { return this.s3BucketName; } /** ** The name of your Amazon S3 bucket that contains your database backup file. *
* * @param s3BucketName * The name of your Amazon S3 bucket that contains your database backup file. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withS3BucketName(String s3BucketName) { setS3BucketName(s3BucketName); return this; } /** ** The prefix of your Amazon S3 bucket. *
* * @param s3Prefix * The prefix of your Amazon S3 bucket. */ public void setS3Prefix(String s3Prefix) { this.s3Prefix = s3Prefix; } /** ** The prefix of your Amazon S3 bucket. *
* * @return The prefix of your Amazon S3 bucket. */ public String getS3Prefix() { return this.s3Prefix; } /** ** The prefix of your Amazon S3 bucket. *
* * @param s3Prefix * The prefix of your Amazon S3 bucket. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withS3Prefix(String s3Prefix) { setS3Prefix(s3Prefix); return this; } /** ** An Amazon Web Services Identity and Access Management (IAM) role to allow Amazon RDS to access your Amazon S3 * bucket. *
* * @param s3IngestionRoleArn * An Amazon Web Services Identity and Access Management (IAM) role to allow Amazon RDS to access your Amazon * S3 bucket. */ public void setS3IngestionRoleArn(String s3IngestionRoleArn) { this.s3IngestionRoleArn = s3IngestionRoleArn; } /** ** An Amazon Web Services Identity and Access Management (IAM) role to allow Amazon RDS to access your Amazon S3 * bucket. *
* * @return An Amazon Web Services Identity and Access Management (IAM) role to allow Amazon RDS to access your * Amazon S3 bucket. */ public String getS3IngestionRoleArn() { return this.s3IngestionRoleArn; } /** ** An Amazon Web Services Identity and Access Management (IAM) role to allow Amazon RDS to access your Amazon S3 * bucket. *
* * @param s3IngestionRoleArn * An Amazon Web Services Identity and Access Management (IAM) role to allow Amazon RDS to access your Amazon * S3 bucket. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withS3IngestionRoleArn(String s3IngestionRoleArn) { setS3IngestionRoleArn(s3IngestionRoleArn); return this; } /** ** A value that indicates whether to enable Performance Insights for the DB instance. *
** For more information, see Using Amazon Performance * Insights in the Amazon RDS User Guide. *
* * @param enablePerformanceInsights * A value that indicates whether to enable Performance Insights for the DB instance. ** For more information, see Using Amazon * Performance Insights in the Amazon RDS User Guide. */ public void setEnablePerformanceInsights(Boolean enablePerformanceInsights) { this.enablePerformanceInsights = enablePerformanceInsights; } /** *
* A value that indicates whether to enable Performance Insights for the DB instance. *
** For more information, see Using Amazon Performance * Insights in the Amazon RDS User Guide. *
* * @return A value that indicates whether to enable Performance Insights for the DB instance. ** For more information, see Using Amazon * Performance Insights in the Amazon RDS User Guide. */ public Boolean getEnablePerformanceInsights() { return this.enablePerformanceInsights; } /** *
* A value that indicates whether to enable Performance Insights for the DB instance. *
** For more information, see Using Amazon Performance * Insights in the Amazon RDS User Guide. *
* * @param enablePerformanceInsights * A value that indicates whether to enable Performance Insights for the DB instance. ** For more information, see Using Amazon * Performance Insights in the Amazon RDS User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withEnablePerformanceInsights(Boolean enablePerformanceInsights) { setEnablePerformanceInsights(enablePerformanceInsights); return this; } /** *
* A value that indicates whether to enable Performance Insights for the DB instance. *
** For more information, see Using Amazon Performance * Insights in the Amazon RDS User Guide. *
* * @return A value that indicates whether to enable Performance Insights for the DB instance. ** For more information, see Using Amazon * Performance Insights in the Amazon RDS User Guide. */ 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 do not 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.
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. *
*
* If you do not 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.
*/
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 do not 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.
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. *
*
* If you do not 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.
*/
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 do not 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.
*
* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. *
*
* If you do not 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceFromS3Request withPerformanceInsightsKMSKeyId(String performanceInsightsKMSKeyId) {
setPerformanceInsightsKMSKeyId(performanceInsightsKMSKeyId);
return this;
}
/**
*
* The number of days to retain Performance Insights data. The default is 7 days. The following values are valid: *
** 7 *
** month * 31, where month is a number of months from 1-23 *
** 731 *
** For example, the following values are valid: *
** 93 (3 months * 31) *
** 341 (11 months * 31) *
** 589 (19 months * 31) *
** 731 *
** If you specify a retention period such as 94, which isn't a valid value, RDS issues an error. *
* * @param performanceInsightsRetentionPeriod * The number of days to retain Performance Insights data. The default is 7 days. The following values are * valid: ** 7 *
** month * 31, where month is a number of months from 1-23 *
** 731 *
** For example, the following values are valid: *
** 93 (3 months * 31) *
** 341 (11 months * 31) *
** 589 (19 months * 31) *
** 731 *
** If you specify a retention period such as 94, which isn't a valid value, RDS issues an error. */ public void setPerformanceInsightsRetentionPeriod(Integer performanceInsightsRetentionPeriod) { this.performanceInsightsRetentionPeriod = performanceInsightsRetentionPeriod; } /** *
* The number of days to retain Performance Insights data. The default is 7 days. The following values are valid: *
** 7 *
** month * 31, where month is a number of months from 1-23 *
** 731 *
** For example, the following values are valid: *
** 93 (3 months * 31) *
** 341 (11 months * 31) *
** 589 (19 months * 31) *
** 731 *
** If you specify a retention period such as 94, which isn't a valid value, RDS issues an error. *
* * @return The number of days to retain Performance Insights data. The default is 7 days. The following values are * valid: ** 7 *
** month * 31, where month is a number of months from 1-23 *
** 731 *
** For example, the following values are valid: *
** 93 (3 months * 31) *
** 341 (11 months * 31) *
** 589 (19 months * 31) *
** 731 *
** If you specify a retention period such as 94, which isn't a valid value, RDS issues an error. */ public Integer getPerformanceInsightsRetentionPeriod() { return this.performanceInsightsRetentionPeriod; } /** *
* The number of days to retain Performance Insights data. The default is 7 days. The following values are valid: *
** 7 *
** month * 31, where month is a number of months from 1-23 *
** 731 *
** For example, the following values are valid: *
** 93 (3 months * 31) *
** 341 (11 months * 31) *
** 589 (19 months * 31) *
** 731 *
** If you specify a retention period such as 94, which isn't a valid value, RDS issues an error. *
* * @param performanceInsightsRetentionPeriod * The number of days to retain Performance Insights data. The default is 7 days. The following values are * valid: ** 7 *
** month * 31, where month is a number of months from 1-23 *
** 731 *
** For example, the following values are valid: *
** 93 (3 months * 31) *
** 341 (11 months * 31) *
** 589 (19 months * 31) *
** 731 *
** If you specify a retention period such as 94, which isn't a valid value, RDS issues an error. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withPerformanceInsightsRetentionPeriod(Integer performanceInsightsRetentionPeriod) { setPerformanceInsightsRetentionPeriod(performanceInsightsRetentionPeriod); return this; } /** *
* The list of logs that the restored DB instance is to export to CloudWatch Logs. The values in the list depend on * the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. *
* * @return The list of logs that the restored DB instance is to export to CloudWatch Logs. The values in the list * depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. */ public java.util.List* The list of logs that the restored DB instance is to export to CloudWatch Logs. The values in the list depend on * the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. *
* * @param enableCloudwatchLogsExports * The list of logs that the restored DB instance is to export to CloudWatch Logs. The values in the list * depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. */ public void setEnableCloudwatchLogsExports(java.util.Collection* The list of logs that the restored DB instance is to export to CloudWatch Logs. The values in the list depend on * the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. *
** 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 logs that the restored DB instance is to export to CloudWatch Logs. The values in the list * depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withEnableCloudwatchLogsExports(String... enableCloudwatchLogsExports) { if (this.enableCloudwatchLogsExports == null) { setEnableCloudwatchLogsExports(new com.amazonaws.internal.SdkInternalList* The list of logs that the restored DB instance is to export to CloudWatch Logs. The values in the list depend on * the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. *
* * @param enableCloudwatchLogsExports * The list of logs that the restored DB instance is to export to CloudWatch Logs. The values in the list * depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withEnableCloudwatchLogsExports(java.util.Collection* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *
* * @return The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. */ public java.util.List* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *
* * @param processorFeatures * The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. */ public void setProcessorFeatures(java.util.Collection* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *
** 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. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withProcessorFeatures(ProcessorFeature... processorFeatures) { if (this.processorFeatures == null) { setProcessorFeatures(new com.amazonaws.internal.SdkInternalList* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *
* * @param processorFeatures * The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withProcessorFeatures(java.util.Collection* A value that indicates whether the DB instance class of the DB instance uses its default processor features. *
* * @param useDefaultProcessorFeatures * A value that indicates whether the DB instance class of the DB instance uses its default processor * features. */ public void setUseDefaultProcessorFeatures(Boolean useDefaultProcessorFeatures) { this.useDefaultProcessorFeatures = useDefaultProcessorFeatures; } /** ** A value that indicates whether the DB instance class of the DB instance uses its default processor features. *
* * @return A value that indicates whether the DB instance class of the DB instance uses its default processor * features. */ public Boolean getUseDefaultProcessorFeatures() { return this.useDefaultProcessorFeatures; } /** ** A value that indicates whether the DB instance class of the DB instance uses its default processor features. *
* * @param useDefaultProcessorFeatures * A value that indicates whether the DB instance class of the DB instance uses its default processor * features. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withUseDefaultProcessorFeatures(Boolean useDefaultProcessorFeatures) { setUseDefaultProcessorFeatures(useDefaultProcessorFeatures); return this; } /** ** A value that indicates whether the DB instance class of the DB instance uses its default processor features. *
* * @return A value that indicates whether the DB instance class of the DB instance uses its default processor * features. */ public Boolean isUseDefaultProcessorFeatures() { return this.useDefaultProcessorFeatures; } /** ** A value that indicates 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. *
* * @param deletionProtection * A value that indicates 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. */ public void setDeletionProtection(Boolean deletionProtection) { this.deletionProtection = deletionProtection; } /** ** A value that indicates 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. *
* * @return A value that indicates 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. */ public Boolean getDeletionProtection() { return this.deletionProtection; } /** ** A value that indicates 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. *
* * @param deletionProtection * A value that indicates 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. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withDeletionProtection(Boolean deletionProtection) { setDeletionProtection(deletionProtection); return this; } /** ** A value that indicates 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. *
* * @return A value that indicates 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. */ 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. *
* * @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. */ 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. *
* * @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. */ 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. *
* * @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. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withMaxAllocatedStorage(Integer maxAllocatedStorage) { setMaxAllocatedStorage(maxAllocatedStorage); return this; } /** *
* The network type of the DB instance. *
** Valid values: *
*
* IPV4
*
* DUAL
*
* 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. *
* * @param networkType * The network type of the DB instance. ** Valid values: *
*
* IPV4
*
* DUAL
*
* 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. */ public void setNetworkType(String networkType) { this.networkType = networkType; } /** *
* The network type of the DB instance. *
** Valid values: *
*
* IPV4
*
* DUAL
*
* 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. *
* * @return The network type of the DB instance. ** Valid values: *
*
* IPV4
*
* DUAL
*
* 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. */ public String getNetworkType() { return this.networkType; } /** *
* The network type of the DB instance. *
** Valid values: *
*
* IPV4
*
* DUAL
*
* 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. *
* * @param networkType * The network type of the DB instance. ** Valid values: *
*
* IPV4
*
* DUAL
*
* 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. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withNetworkType(String networkType) { setNetworkType(networkType); return this; } /** *
* Specifies the storage throughput value for the DB instance. *
** This setting doesn't apply to RDS Custom or Amazon Aurora. *
* * @param storageThroughput * Specifies the storage throughput value for the DB instance. ** This setting doesn't apply to RDS Custom or Amazon Aurora. */ public void setStorageThroughput(Integer storageThroughput) { this.storageThroughput = storageThroughput; } /** *
* Specifies the storage throughput value for the DB instance. *
** This setting doesn't apply to RDS Custom or Amazon Aurora. *
* * @return Specifies the storage throughput value for the DB instance. ** This setting doesn't apply to RDS Custom or Amazon Aurora. */ public Integer getStorageThroughput() { return this.storageThroughput; } /** *
* Specifies the storage throughput value for the DB instance. *
** This setting doesn't apply to RDS Custom or Amazon Aurora. *
* * @param storageThroughput * Specifies the storage throughput value for the DB instance. ** This setting doesn't apply to RDS Custom or Amazon Aurora. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreDBInstanceFromS3Request withStorageThroughput(Integer storageThroughput) { setStorageThroughput(storageThroughput); return this; } /** *
* A value that indicates 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.
*
* 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.
*
* A value that indicates 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.
*
* 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.
*
* A value that indicates 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.
*
* 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.
*
* A value that indicates 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.
*
* 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.
*
* 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 RestoreDBInstanceFromS3Request withMasterUserSecretKmsKeyId(String masterUserSecretKmsKeyId) { setMasterUserSecretKmsKeyId(masterUserSecretKmsKeyId); 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 (getPubliclyAccessible() != null) sb.append("PubliclyAccessible: ").append(getPubliclyAccessible()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getStorageType() != null) sb.append("StorageType: ").append(getStorageType()).append(","); if (getStorageEncrypted() != null) sb.append("StorageEncrypted: ").append(getStorageEncrypted()).append(","); if (getKmsKeyId() != null) sb.append("KmsKeyId: ").append(getKmsKeyId()).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 (getEnableIAMDatabaseAuthentication() != null) sb.append("EnableIAMDatabaseAuthentication: ").append(getEnableIAMDatabaseAuthentication()).append(","); if (getSourceEngine() != null) sb.append("SourceEngine: ").append(getSourceEngine()).append(","); if (getSourceEngineVersion() != null) sb.append("SourceEngineVersion: ").append(getSourceEngineVersion()).append(","); if (getS3BucketName() != null) sb.append("S3BucketName: ").append(getS3BucketName()).append(","); if (getS3Prefix() != null) sb.append("S3Prefix: ").append(getS3Prefix()).append(","); if (getS3IngestionRoleArn() != null) sb.append("S3IngestionRoleArn: ").append(getS3IngestionRoleArn()).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 (getUseDefaultProcessorFeatures() != null) sb.append("UseDefaultProcessorFeatures: ").append(getUseDefaultProcessorFeatures()).append(","); if (getDeletionProtection() != null) sb.append("DeletionProtection: ").append(getDeletionProtection()).append(","); if (getMaxAllocatedStorage() != null) sb.append("MaxAllocatedStorage: ").append(getMaxAllocatedStorage()).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()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof RestoreDBInstanceFromS3Request == false) return false; RestoreDBInstanceFromS3Request other = (RestoreDBInstanceFromS3Request) 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.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.getStorageType() == null ^ this.getStorageType() == null) return false; if (other.getStorageType() != null && other.getStorageType().equals(this.getStorageType()) == 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.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.getEnableIAMDatabaseAuthentication() == null ^ this.getEnableIAMDatabaseAuthentication() == null) return false; if (other.getEnableIAMDatabaseAuthentication() != null && other.getEnableIAMDatabaseAuthentication().equals(this.getEnableIAMDatabaseAuthentication()) == false) return false; if (other.getSourceEngine() == null ^ this.getSourceEngine() == null) return false; if (other.getSourceEngine() != null && other.getSourceEngine().equals(this.getSourceEngine()) == false) return false; if (other.getSourceEngineVersion() == null ^ this.getSourceEngineVersion() == null) return false; if (other.getSourceEngineVersion() != null && other.getSourceEngineVersion().equals(this.getSourceEngineVersion()) == false) return false; if (other.getS3BucketName() == null ^ this.getS3BucketName() == null) return false; if (other.getS3BucketName() != null && other.getS3BucketName().equals(this.getS3BucketName()) == false) return false; if (other.getS3Prefix() == null ^ this.getS3Prefix() == null) return false; if (other.getS3Prefix() != null && other.getS3Prefix().equals(this.getS3Prefix()) == false) return false; if (other.getS3IngestionRoleArn() == null ^ this.getS3IngestionRoleArn() == null) return false; if (other.getS3IngestionRoleArn() != null && other.getS3IngestionRoleArn().equals(this.getS3IngestionRoleArn()) == 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.getUseDefaultProcessorFeatures() == null ^ this.getUseDefaultProcessorFeatures() == null) return false; if (other.getUseDefaultProcessorFeatures() != null && other.getUseDefaultProcessorFeatures().equals(this.getUseDefaultProcessorFeatures()) == 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.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; 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 + ((getPubliclyAccessible() == null) ? 0 : getPubliclyAccessible().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getStorageType() == null) ? 0 : getStorageType().hashCode()); hashCode = prime * hashCode + ((getStorageEncrypted() == null) ? 0 : getStorageEncrypted().hashCode()); hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().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 + ((getEnableIAMDatabaseAuthentication() == null) ? 0 : getEnableIAMDatabaseAuthentication().hashCode()); hashCode = prime * hashCode + ((getSourceEngine() == null) ? 0 : getSourceEngine().hashCode()); hashCode = prime * hashCode + ((getSourceEngineVersion() == null) ? 0 : getSourceEngineVersion().hashCode()); hashCode = prime * hashCode + ((getS3BucketName() == null) ? 0 : getS3BucketName().hashCode()); hashCode = prime * hashCode + ((getS3Prefix() == null) ? 0 : getS3Prefix().hashCode()); hashCode = prime * hashCode + ((getS3IngestionRoleArn() == null) ? 0 : getS3IngestionRoleArn().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 + ((getUseDefaultProcessorFeatures() == null) ? 0 : getUseDefaultProcessorFeatures().hashCode()); hashCode = prime * hashCode + ((getDeletionProtection() == null) ? 0 : getDeletionProtection().hashCode()); hashCode = prime * hashCode + ((getMaxAllocatedStorage() == null) ? 0 : getMaxAllocatedStorage().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()); return hashCode; } @Override public RestoreDBInstanceFromS3Request clone() { return (RestoreDBInstanceFromS3Request) super.clone(); } }