com.amazonaws.services.rds.model.RestoreDBInstanceToPointInTimeRequest Maven / Gradle / Ivy
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.rds.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
*
* @see AWS
* API Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class RestoreDBInstanceToPointInTimeRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
/**
*
* The identifier of the source DB instance from which to restore.
*
*
* Constraints:
*
*
* -
*
* Must match the identifier of an existing DB instance.
*
*
*
*/
private String sourceDBInstanceIdentifier;
/**
*
* The name of the new DB instance to create.
*
*
* 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.
*
*
*
*/
private String targetDBInstanceIdentifier;
/**
*
* The date and time to restore from.
*
*
* Constraints:
*
*
* -
*
* Must be a time in Universal Coordinated Time (UTC) format.
*
*
* -
*
* Must be before the latest restorable time for the DB instance.
*
*
* -
*
* Can't be specified if the UseLatestRestorableTime
parameter is enabled.
*
*
*
*
* Example: 2009-09-07T23:45:00Z
*
*/
private java.util.Date restoreTime;
/**
*
* Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't
* restored from the latest backup time.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if the RestoreTime
parameter is provided.
*
*
*
*/
private Boolean useLatestRestorableTime;
/**
*
* The compute and memory capacity of the Amazon RDS 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.
*
*
* Default: The same DB instance class as the original DB instance.
*
*/
private String dBInstanceClass;
/**
*
* The port number on which the database accepts connections.
*
*
* Default: The same port as the original DB instance.
*
*
* Constraints:
*
*
* -
*
* The value must be 1150-65535
.
*
*
*
*/
private Integer port;
/**
*
* The Availability Zone (AZ) where the DB instance will be created.
*
*
* Default: A random, system-chosen Availability Zone.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*
* Example: us-east-1a
*
*/
private String availabilityZone;
/**
*
* The DB subnet group name to use for the new instance.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB subnet group.
*
*
*
*
* Example: mydbsubnetgroup
*
*/
private String dBSubnetGroupName;
/**
*
* Secifies whether the DB instance is a Multi-AZ deployment.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*/
private Boolean multiAZ;
/**
*
* Specifies whether the DB instance is publicly accessible.
*
*
* When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP
* address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from
* outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses.
* That public access isn't permitted if the security group assigned to the DB cluster 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;
/**
*
* Specifies whether minor version upgrades are applied automatically to the DB instance during the maintenance
* window.
*
*
* This setting doesn't apply to RDS Custom.
*
*/
private Boolean autoMinorVersionUpgrade;
/**
*
* The license model information for the restored DB instance.
*
*
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires
* a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web
* Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*
* Default: Same as the source.
*
*/
private String licenseModel;
/**
*
* The database name for the restored DB instance.
*
*
* This parameter doesn't apply to the following DB instances:
*
*
* -
*
* RDS Custom
*
*
* -
*
* RDS for Db2
*
*
* -
*
* RDS for MariaDB
*
*
* -
*
* RDS for MySQL
*
*
*
*/
private String dBName;
/**
*
* The database engine to use for the new instance.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Valid Values:
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*
* Default: The same as source
*
*
* Constraints:
*
*
* -
*
* Must be compatible with the engine of the source.
*
*
*
*/
private String engine;
/**
*
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance.
*
*
* This setting doesn't apply to SQL Server.
*
*
* Constraints:
*
*
* -
*
* Must be an integer greater than 1000.
*
*
*
*/
private Integer iops;
/**
*
* The name of the option group to use for the restored DB instance.
*
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option
* group, and that option group can't be removed from a DB instance after it is associated with a DB instance
*
*
* This setting doesn't apply to RDS Custom.
*
*/
private String optionGroupName;
/**
*
* Specifies whether to copy all tags from the restored DB instance to snapshots of the DB instance. By default,
* tags are not copied.
*
*/
private Boolean copyTagsToSnapshot;
private com.amazonaws.internal.SdkInternalList tags;
/**
*
* The storage type to associate with the DB instance.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*
* Constraints:
*
*
* -
*
* If you specify io1
, io2
, or gp3
, you must also include a value for the
* Iops
parameter.
*
*
*
*/
private String storageType;
/**
*
* The ARN from the key store with which to associate the instance for TDE encryption.
*
*
* This setting doesn't apply to RDS Custom.
*
*/
private String tdeCredentialArn;
/**
*
* The password for the given ARN from the key store in order to access the device.
*
*
* This setting doesn't apply to RDS Custom.
*
*/
private String tdeCredentialPassword;
/**
*
* A list of EC2 VPC security groups to associate with this DB instance.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*
*/
private com.amazonaws.internal.SdkInternalList vpcSecurityGroupIds;
/**
*
* The Active Directory directory ID to restore the DB instance in. Create the domain before running this command.
* Currently, you can create only the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active
* Directory Domain.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*/
private String domain;
/**
*
* The name of the IAM role to use when making API calls to the Directory Service.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*/
private String domainIAMRoleName;
/**
*
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*
*/
private String domainFqdn;
/**
*
* The Active Directory organizational unit for your DB instance to join.
*
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*
*/
private String domainOu;
/**
*
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*
*/
private String domainAuthSecretArn;
/**
*
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*
*/
private com.amazonaws.internal.SdkInternalList domainDnsIps;
/**
*
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to
* database accounts. By default, mapping isn't enabled.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* 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 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.
*
*
* This setting doesn't apply to RDS Custom.
*
*/
private com.amazonaws.internal.SdkInternalList enableCloudwatchLogsExports;
/**
*
* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
*
*
* This setting doesn't apply to RDS Custom.
*
*/
private com.amazonaws.internal.SdkInternalList processorFeatures;
/**
*
* Specifies whether the DB instance class of the DB instance uses its default processor features.
*
*
* This setting doesn't apply to RDS Custom.
*
*/
private Boolean useDefaultProcessorFeatures;
/**
*
* 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.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB parameter group.
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*/
private String dBParameterGroupName;
/**
*
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
* protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB
* Instance.
*
*/
private Boolean deletionProtection;
/**
*
* The resource ID of the source DB instance from which to restore.
*
*/
private String sourceDbiResourceId;
/**
*
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.
*
*
* For more information about this setting, including limitations that apply to it, see
* Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to RDS Custom.
*
*/
private Integer maxAllocatedStorage;
/**
*
* The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example,
* arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE
.
*
*
* This setting doesn't apply to RDS Custom.
*
*/
private String sourceDBInstanceAutomatedBackupsArn;
/**
*
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from
* outside of its virtual private cloud (VPC) on your local network.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*
*/
private Boolean enableCustomerOwnedIp;
/**
*
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The
* instance profile must meet the following requirements:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*
*
* This setting is required for RDS Custom.
*
*/
private String customIamInstanceProfile;
/**
*
* The location for storing automated backups and manual snapshots for the restored DB instance.
*
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*/
private String backupTarget;
/**
*
* The network type of the DB instance.
*
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see Working
* with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values:
*
*
* -
*
* IPV4
*
*
* -
*
* DUAL
*
*
*
*/
private String networkType;
/**
*
* The storage throughput value for the DB instance.
*
*
* This setting doesn't apply to RDS Custom or Amazon Aurora.
*
*/
private Integer storageThroughput;
/**
*
* 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.
*
*
*/
private Integer allocatedStorage;
/**
*
* Specifies whether to enable a dedicated log volume (DLV) for the DB instance.
*
*/
private Boolean dedicatedLogVolume;
/**
*
* The CA certificate identifier to use for the DB instance's server certificate.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to encrypt a
* connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to
* encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*
*/
private String cACertificateIdentifier;
/**
*
* The life cycle type for this DB instance.
*
*
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB instance
* into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by
* setting the value to open-source-rds-extended-support-disabled
. In this case, RDS automatically
* upgrades your restored DB instance to a higher engine version, if the major engine version is past its end of
* standard support date.
*
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support,
* you can run the selected major engine version on your DB instance past the end of standard support for that
* engine version. For more information, see Using Amazon RDS Extended
* Support in the Amazon RDS User Guide.
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle
* type is managed by the DB cluster.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*
*/
private String engineLifecycleSupport;
/**
* Default constructor for RestoreDBInstanceToPointInTimeRequest object. Callers should use the setter or fluent
* setter (with...) methods to initialize the object after creating it.
*/
public RestoreDBInstanceToPointInTimeRequest() {
}
/**
* Constructs a new RestoreDBInstanceToPointInTimeRequest object. Callers should use the setter or fluent setter
* (with...) methods to initialize any additional object members.
*
* @param sourceDBInstanceIdentifier
* The identifier of the source DB instance from which to restore.
*
* Constraints:
*
*
* -
*
* Must match the identifier of an existing DB instance.
*
*
* @param targetDBInstanceIdentifier
* The name of the new DB instance to create.
*
* 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.
*
*
*/
public RestoreDBInstanceToPointInTimeRequest(String sourceDBInstanceIdentifier, String targetDBInstanceIdentifier) {
setSourceDBInstanceIdentifier(sourceDBInstanceIdentifier);
setTargetDBInstanceIdentifier(targetDBInstanceIdentifier);
}
/**
*
* The identifier of the source DB instance from which to restore.
*
*
* Constraints:
*
*
* -
*
* Must match the identifier of an existing DB instance.
*
*
*
*
* @param sourceDBInstanceIdentifier
* The identifier of the source DB instance from which to restore.
*
* Constraints:
*
*
* -
*
* Must match the identifier of an existing DB instance.
*
*
*/
public void setSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier) {
this.sourceDBInstanceIdentifier = sourceDBInstanceIdentifier;
}
/**
*
* The identifier of the source DB instance from which to restore.
*
*
* Constraints:
*
*
* -
*
* Must match the identifier of an existing DB instance.
*
*
*
*
* @return The identifier of the source DB instance from which to restore.
*
* Constraints:
*
*
* -
*
* Must match the identifier of an existing DB instance.
*
*
*/
public String getSourceDBInstanceIdentifier() {
return this.sourceDBInstanceIdentifier;
}
/**
*
* The identifier of the source DB instance from which to restore.
*
*
* Constraints:
*
*
* -
*
* Must match the identifier of an existing DB instance.
*
*
*
*
* @param sourceDBInstanceIdentifier
* The identifier of the source DB instance from which to restore.
*
* Constraints:
*
*
* -
*
* Must match the identifier of an existing DB instance.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier) {
setSourceDBInstanceIdentifier(sourceDBInstanceIdentifier);
return this;
}
/**
*
* The name of the new DB instance to create.
*
*
* 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.
*
*
*
*
* @param targetDBInstanceIdentifier
* The name of the new DB instance to create.
*
* 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.
*
*
*/
public void setTargetDBInstanceIdentifier(String targetDBInstanceIdentifier) {
this.targetDBInstanceIdentifier = targetDBInstanceIdentifier;
}
/**
*
* The name of the new DB instance to create.
*
*
* 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.
*
*
*
*
* @return The name of the new DB instance to create.
*
* 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.
*
*
*/
public String getTargetDBInstanceIdentifier() {
return this.targetDBInstanceIdentifier;
}
/**
*
* The name of the new DB instance to create.
*
*
* 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.
*
*
*
*
* @param targetDBInstanceIdentifier
* The name of the new DB instance to create.
*
* 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.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withTargetDBInstanceIdentifier(String targetDBInstanceIdentifier) {
setTargetDBInstanceIdentifier(targetDBInstanceIdentifier);
return this;
}
/**
*
* The date and time to restore from.
*
*
* Constraints:
*
*
* -
*
* Must be a time in Universal Coordinated Time (UTC) format.
*
*
* -
*
* Must be before the latest restorable time for the DB instance.
*
*
* -
*
* Can't be specified if the UseLatestRestorableTime
parameter is enabled.
*
*
*
*
* Example: 2009-09-07T23:45:00Z
*
*
* @param restoreTime
* The date and time to restore from.
*
* Constraints:
*
*
* -
*
* Must be a time in Universal Coordinated Time (UTC) format.
*
*
* -
*
* Must be before the latest restorable time for the DB instance.
*
*
* -
*
* Can't be specified if the UseLatestRestorableTime
parameter is enabled.
*
*
*
*
* Example: 2009-09-07T23:45:00Z
*/
public void setRestoreTime(java.util.Date restoreTime) {
this.restoreTime = restoreTime;
}
/**
*
* The date and time to restore from.
*
*
* Constraints:
*
*
* -
*
* Must be a time in Universal Coordinated Time (UTC) format.
*
*
* -
*
* Must be before the latest restorable time for the DB instance.
*
*
* -
*
* Can't be specified if the UseLatestRestorableTime
parameter is enabled.
*
*
*
*
* Example: 2009-09-07T23:45:00Z
*
*
* @return The date and time to restore from.
*
* Constraints:
*
*
* -
*
* Must be a time in Universal Coordinated Time (UTC) format.
*
*
* -
*
* Must be before the latest restorable time for the DB instance.
*
*
* -
*
* Can't be specified if the UseLatestRestorableTime
parameter is enabled.
*
*
*
*
* Example: 2009-09-07T23:45:00Z
*/
public java.util.Date getRestoreTime() {
return this.restoreTime;
}
/**
*
* The date and time to restore from.
*
*
* Constraints:
*
*
* -
*
* Must be a time in Universal Coordinated Time (UTC) format.
*
*
* -
*
* Must be before the latest restorable time for the DB instance.
*
*
* -
*
* Can't be specified if the UseLatestRestorableTime
parameter is enabled.
*
*
*
*
* Example: 2009-09-07T23:45:00Z
*
*
* @param restoreTime
* The date and time to restore from.
*
* Constraints:
*
*
* -
*
* Must be a time in Universal Coordinated Time (UTC) format.
*
*
* -
*
* Must be before the latest restorable time for the DB instance.
*
*
* -
*
* Can't be specified if the UseLatestRestorableTime
parameter is enabled.
*
*
*
*
* Example: 2009-09-07T23:45:00Z
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withRestoreTime(java.util.Date restoreTime) {
setRestoreTime(restoreTime);
return this;
}
/**
*
* Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't
* restored from the latest backup time.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if the RestoreTime
parameter is provided.
*
*
*
*
* @param useLatestRestorableTime
* Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance
* isn't restored from the latest backup time.
*
* Constraints:
*
*
* -
*
* Can't be specified if the RestoreTime
parameter is provided.
*
*
*/
public void setUseLatestRestorableTime(Boolean useLatestRestorableTime) {
this.useLatestRestorableTime = useLatestRestorableTime;
}
/**
*
* Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't
* restored from the latest backup time.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if the RestoreTime
parameter is provided.
*
*
*
*
* @return Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance
* isn't restored from the latest backup time.
*
* Constraints:
*
*
* -
*
* Can't be specified if the RestoreTime
parameter is provided.
*
*
*/
public Boolean getUseLatestRestorableTime() {
return this.useLatestRestorableTime;
}
/**
*
* Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't
* restored from the latest backup time.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if the RestoreTime
parameter is provided.
*
*
*
*
* @param useLatestRestorableTime
* Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance
* isn't restored from the latest backup time.
*
* Constraints:
*
*
* -
*
* Can't be specified if the RestoreTime
parameter is provided.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withUseLatestRestorableTime(Boolean useLatestRestorableTime) {
setUseLatestRestorableTime(useLatestRestorableTime);
return this;
}
/**
*
* Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't
* restored from the latest backup time.
*
*
* Constraints:
*
*
* -
*
* Can't be specified if the RestoreTime
parameter is provided.
*
*
*
*
* @return Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance
* isn't restored from the latest backup time.
*
* Constraints:
*
*
* -
*
* Can't be specified if the RestoreTime
parameter is provided.
*
*
*/
public Boolean isUseLatestRestorableTime() {
return this.useLatestRestorableTime;
}
/**
*
* The compute and memory capacity of the Amazon RDS 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.
*
*
* Default: The same DB instance class as the original DB instance.
*
*
* @param dBInstanceClass
* The compute and memory capacity of the Amazon RDS 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.
*
* Default: The same DB instance class as the original DB instance.
*/
public void setDBInstanceClass(String dBInstanceClass) {
this.dBInstanceClass = dBInstanceClass;
}
/**
*
* The compute and memory capacity of the Amazon RDS 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.
*
*
* Default: The same DB instance class as the original DB instance.
*
*
* @return The compute and memory capacity of the Amazon RDS 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.
*
* Default: The same DB instance class as the original DB instance.
*/
public String getDBInstanceClass() {
return this.dBInstanceClass;
}
/**
*
* The compute and memory capacity of the Amazon RDS 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.
*
*
* Default: The same DB instance class as the original DB instance.
*
*
* @param dBInstanceClass
* The compute and memory capacity of the Amazon RDS 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.
*
* Default: The same DB instance class as the original DB instance.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDBInstanceClass(String dBInstanceClass) {
setDBInstanceClass(dBInstanceClass);
return this;
}
/**
*
* The port number on which the database accepts connections.
*
*
* Default: The same port as the original DB instance.
*
*
* Constraints:
*
*
* -
*
* The value must be 1150-65535
.
*
*
*
*
* @param port
* The port number on which the database accepts connections.
*
* Default: The same port as the original DB instance.
*
*
* Constraints:
*
*
* -
*
* The value must be 1150-65535
.
*
*
*/
public void setPort(Integer port) {
this.port = port;
}
/**
*
* The port number on which the database accepts connections.
*
*
* Default: The same port as the original DB instance.
*
*
* Constraints:
*
*
* -
*
* The value must be 1150-65535
.
*
*
*
*
* @return The port number on which the database accepts connections.
*
* Default: The same port as the original DB instance.
*
*
* Constraints:
*
*
* -
*
* The value must be 1150-65535
.
*
*
*/
public Integer getPort() {
return this.port;
}
/**
*
* The port number on which the database accepts connections.
*
*
* Default: The same port as the original DB instance.
*
*
* Constraints:
*
*
* -
*
* The value must be 1150-65535
.
*
*
*
*
* @param port
* The port number on which the database accepts connections.
*
* Default: The same port as the original DB instance.
*
*
* Constraints:
*
*
* -
*
* The value must be 1150-65535
.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withPort(Integer port) {
setPort(port);
return this;
}
/**
*
* The Availability Zone (AZ) where the DB instance will be created.
*
*
* Default: A random, system-chosen Availability Zone.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*
* Example: us-east-1a
*
*
* @param availabilityZone
* The Availability Zone (AZ) where the DB instance will be created.
*
* Default: A random, system-chosen Availability Zone.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*
* Example: us-east-1a
*/
public void setAvailabilityZone(String availabilityZone) {
this.availabilityZone = availabilityZone;
}
/**
*
* The Availability Zone (AZ) where the DB instance will be created.
*
*
* Default: A random, system-chosen Availability Zone.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*
* Example: us-east-1a
*
*
* @return The Availability Zone (AZ) where the DB instance will be created.
*
* Default: A random, system-chosen Availability Zone.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ
* deployment.
*
*
*
*
* Example: us-east-1a
*/
public String getAvailabilityZone() {
return this.availabilityZone;
}
/**
*
* The Availability Zone (AZ) where the DB instance will be created.
*
*
* Default: A random, system-chosen Availability Zone.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*
* Example: us-east-1a
*
*
* @param availabilityZone
* The Availability Zone (AZ) where the DB instance will be created.
*
* Default: A random, system-chosen Availability Zone.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*
* Example: us-east-1a
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withAvailabilityZone(String availabilityZone) {
setAvailabilityZone(availabilityZone);
return this;
}
/**
*
* The DB subnet group name to use for the new instance.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB subnet group.
*
*
*
*
* Example: mydbsubnetgroup
*
*
* @param dBSubnetGroupName
* The DB subnet group name to use for the new instance.
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB subnet group.
*
*
*
*
* Example: mydbsubnetgroup
*/
public void setDBSubnetGroupName(String dBSubnetGroupName) {
this.dBSubnetGroupName = dBSubnetGroupName;
}
/**
*
* The DB subnet group name to use for the new instance.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB subnet group.
*
*
*
*
* Example: mydbsubnetgroup
*
*
* @return The DB subnet group name to use for the new instance.
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB subnet group.
*
*
*
*
* Example: mydbsubnetgroup
*/
public String getDBSubnetGroupName() {
return this.dBSubnetGroupName;
}
/**
*
* The DB subnet group name to use for the new instance.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB subnet group.
*
*
*
*
* Example: mydbsubnetgroup
*
*
* @param dBSubnetGroupName
* The DB subnet group name to use for the new instance.
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB subnet group.
*
*
*
*
* Example: mydbsubnetgroup
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDBSubnetGroupName(String dBSubnetGroupName) {
setDBSubnetGroupName(dBSubnetGroupName);
return this;
}
/**
*
* Secifies whether the DB instance is a Multi-AZ deployment.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*
* @param multiAZ
* Secifies whether the DB instance is a Multi-AZ deployment.
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*/
public void setMultiAZ(Boolean multiAZ) {
this.multiAZ = multiAZ;
}
/**
*
* Secifies whether the DB instance is a Multi-AZ deployment.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*
* @return Secifies whether the DB instance is a Multi-AZ deployment.
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ
* deployment.
*
*
*/
public Boolean getMultiAZ() {
return this.multiAZ;
}
/**
*
* Secifies whether the DB instance is a Multi-AZ deployment.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*
* @param multiAZ
* Secifies whether the DB instance is a Multi-AZ deployment.
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withMultiAZ(Boolean multiAZ) {
setMultiAZ(multiAZ);
return this;
}
/**
*
* Secifies whether the DB instance is a Multi-AZ deployment.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
*
*
*
*
* @return Secifies whether the DB instance is a Multi-AZ deployment.
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ
* deployment.
*
*
*/
public Boolean isMultiAZ() {
return this.multiAZ;
}
/**
*
* Specifies whether the DB instance is publicly accessible.
*
*
* When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP
* address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from
* outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses.
* That public access isn't permitted if the security group assigned to the DB cluster 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
* Specifies whether the DB instance is publicly accessible.
*
* When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private
* IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address
* from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security
* group it uses. That public access isn't permitted if the security group assigned to the DB cluster 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;
}
/**
*
* Specifies whether the DB instance is publicly accessible.
*
*
* When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP
* address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from
* outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses.
* That public access isn't permitted if the security group assigned to the DB cluster 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 Specifies whether the DB instance is publicly accessible.
*
* When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private
* IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address
* from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security
* group it uses. That public access isn't permitted if the security group assigned to the DB cluster
* 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;
}
/**
*
* Specifies whether the DB instance is publicly accessible.
*
*
* When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP
* address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from
* outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses.
* That public access isn't permitted if the security group assigned to the DB cluster 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
* Specifies whether the DB instance is publicly accessible.
*
* When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private
* IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address
* from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security
* group it uses. That public access isn't permitted if the security group assigned to the DB cluster 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 RestoreDBInstanceToPointInTimeRequest withPubliclyAccessible(Boolean publiclyAccessible) {
setPubliclyAccessible(publiclyAccessible);
return this;
}
/**
*
* Specifies whether the DB instance is publicly accessible.
*
*
* When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP
* address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from
* outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses.
* That public access isn't permitted if the security group assigned to the DB cluster 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 Specifies whether the DB instance is publicly accessible.
*
* When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private
* IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address
* from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security
* group it uses. That public access isn't permitted if the security group assigned to the DB cluster
* 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;
}
/**
*
* Specifies whether minor version upgrades are applied automatically to the DB instance during the maintenance
* window.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param autoMinorVersionUpgrade
* Specifies whether minor version upgrades are applied automatically to the DB instance during the
* maintenance window.
*
* This setting doesn't apply to RDS Custom.
*/
public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) {
this.autoMinorVersionUpgrade = autoMinorVersionUpgrade;
}
/**
*
* Specifies whether minor version upgrades are applied automatically to the DB instance during the maintenance
* window.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @return Specifies whether minor version upgrades are applied automatically to the DB instance during the
* maintenance window.
*
* This setting doesn't apply to RDS Custom.
*/
public Boolean getAutoMinorVersionUpgrade() {
return this.autoMinorVersionUpgrade;
}
/**
*
* Specifies whether minor version upgrades are applied automatically to the DB instance during the maintenance
* window.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param autoMinorVersionUpgrade
* Specifies whether minor version upgrades are applied automatically to the DB instance during the
* maintenance window.
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) {
setAutoMinorVersionUpgrade(autoMinorVersionUpgrade);
return this;
}
/**
*
* Specifies whether minor version upgrades are applied automatically to the DB instance during the maintenance
* window.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @return Specifies whether minor version upgrades are applied automatically to the DB instance during the
* maintenance window.
*
* This setting doesn't apply to RDS Custom.
*/
public Boolean isAutoMinorVersionUpgrade() {
return this.autoMinorVersionUpgrade;
}
/**
*
* The license model information for the restored DB instance.
*
*
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires
* a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web
* Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*
* Default: Same as the source.
*
*
* @param licenseModel
* The license model information for the restored DB instance.
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model
* requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires
* an Amazon Web Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*
* Default: Same as the source.
*/
public void setLicenseModel(String licenseModel) {
this.licenseModel = licenseModel;
}
/**
*
* The license model information for the restored DB instance.
*
*
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires
* a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web
* Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*
* Default: Same as the source.
*
*
* @return The license model information for the restored DB instance.
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model
* requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires
* an Amazon Web Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*
* Default: Same as the source.
*/
public String getLicenseModel() {
return this.licenseModel;
}
/**
*
* The license model information for the restored DB instance.
*
*
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires
* a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web
* Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*
* Default: Same as the source.
*
*
* @param licenseModel
* The license model information for the restored DB instance.
*
* License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model
* requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires
* an Amazon Web Services Marketplace subscription. For more information, see RDS for Db2 licensing
* options in the Amazon RDS User Guide.
*
*
*
* This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
*
*
* Valid Values:
*
*
* -
*
* RDS for Db2 - bring-your-own-license | marketplace-license
*
*
* -
*
* RDS for MariaDB - general-public-license
*
*
* -
*
* RDS for Microsoft SQL Server - license-included
*
*
* -
*
* RDS for MySQL - general-public-license
*
*
* -
*
* RDS for Oracle - bring-your-own-license | license-included
*
*
* -
*
* RDS for PostgreSQL - postgresql-license
*
*
*
*
* Default: Same as the source.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withLicenseModel(String licenseModel) {
setLicenseModel(licenseModel);
return this;
}
/**
*
* The database name for the restored DB instance.
*
*
* This parameter doesn't apply to the following DB instances:
*
*
* -
*
* RDS Custom
*
*
* -
*
* RDS for Db2
*
*
* -
*
* RDS for MariaDB
*
*
* -
*
* RDS for MySQL
*
*
*
*
* @param dBName
* The database name for the restored DB instance.
*
* This parameter doesn't apply to the following DB instances:
*
*
* -
*
* RDS Custom
*
*
* -
*
* RDS for Db2
*
*
* -
*
* RDS for MariaDB
*
*
* -
*
* RDS for MySQL
*
*
*/
public void setDBName(String dBName) {
this.dBName = dBName;
}
/**
*
* The database name for the restored DB instance.
*
*
* This parameter doesn't apply to the following DB instances:
*
*
* -
*
* RDS Custom
*
*
* -
*
* RDS for Db2
*
*
* -
*
* RDS for MariaDB
*
*
* -
*
* RDS for MySQL
*
*
*
*
* @return The database name for the restored DB instance.
*
* This parameter doesn't apply to the following DB instances:
*
*
* -
*
* RDS Custom
*
*
* -
*
* RDS for Db2
*
*
* -
*
* RDS for MariaDB
*
*
* -
*
* RDS for MySQL
*
*
*/
public String getDBName() {
return this.dBName;
}
/**
*
* The database name for the restored DB instance.
*
*
* This parameter doesn't apply to the following DB instances:
*
*
* -
*
* RDS Custom
*
*
* -
*
* RDS for Db2
*
*
* -
*
* RDS for MariaDB
*
*
* -
*
* RDS for MySQL
*
*
*
*
* @param dBName
* The database name for the restored DB instance.
*
* This parameter doesn't apply to the following DB instances:
*
*
* -
*
* RDS Custom
*
*
* -
*
* RDS for Db2
*
*
* -
*
* RDS for MariaDB
*
*
* -
*
* RDS for MySQL
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDBName(String dBName) {
setDBName(dBName);
return this;
}
/**
*
* The database engine to use for the new instance.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Valid Values:
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*
* Default: The same as source
*
*
* Constraints:
*
*
* -
*
* Must be compatible with the engine of the source.
*
*
*
*
* @param engine
* The database engine to use for the new instance.
*
* This setting doesn't apply to RDS Custom.
*
*
* Valid Values:
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*
* Default: The same as source
*
*
* Constraints:
*
*
* -
*
* Must be compatible with the engine of the source.
*
*
*/
public void setEngine(String engine) {
this.engine = engine;
}
/**
*
* The database engine to use for the new instance.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Valid Values:
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*
* Default: The same as source
*
*
* Constraints:
*
*
* -
*
* Must be compatible with the engine of the source.
*
*
*
*
* @return The database engine to use for the new instance.
*
* This setting doesn't apply to RDS Custom.
*
*
* Valid Values:
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*
* Default: The same as source
*
*
* Constraints:
*
*
* -
*
* Must be compatible with the engine of the source.
*
*
*/
public String getEngine() {
return this.engine;
}
/**
*
* The database engine to use for the new instance.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Valid Values:
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*
* Default: The same as source
*
*
* Constraints:
*
*
* -
*
* Must be compatible with the engine of the source.
*
*
*
*
* @param engine
* The database engine to use for the new instance.
*
* This setting doesn't apply to RDS Custom.
*
*
* Valid Values:
*
*
* -
*
* db2-ae
*
*
* -
*
* db2-se
*
*
* -
*
* mariadb
*
*
* -
*
* mysql
*
*
* -
*
* oracle-ee
*
*
* -
*
* oracle-ee-cdb
*
*
* -
*
* oracle-se2
*
*
* -
*
* oracle-se2-cdb
*
*
* -
*
* postgres
*
*
* -
*
* sqlserver-ee
*
*
* -
*
* sqlserver-se
*
*
* -
*
* sqlserver-ex
*
*
* -
*
* sqlserver-web
*
*
*
*
* Default: The same as source
*
*
* Constraints:
*
*
* -
*
* Must be compatible with the engine of the source.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withEngine(String engine) {
setEngine(engine);
return this;
}
/**
*
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance.
*
*
* This setting doesn't apply to SQL Server.
*
*
* Constraints:
*
*
* -
*
* Must be an integer greater than 1000.
*
*
*
*
* @param iops
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB
* instance.
*
* This setting doesn't apply to SQL Server.
*
*
* Constraints:
*
*
* -
*
* Must be an integer greater than 1000.
*
*
*/
public void setIops(Integer iops) {
this.iops = iops;
}
/**
*
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance.
*
*
* This setting doesn't apply to SQL Server.
*
*
* Constraints:
*
*
* -
*
* Must be an integer greater than 1000.
*
*
*
*
* @return The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB
* instance.
*
* This setting doesn't apply to SQL Server.
*
*
* Constraints:
*
*
* -
*
* Must be an integer greater than 1000.
*
*
*/
public Integer getIops() {
return this.iops;
}
/**
*
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance.
*
*
* This setting doesn't apply to SQL Server.
*
*
* Constraints:
*
*
* -
*
* Must be an integer greater than 1000.
*
*
*
*
* @param iops
* The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB
* instance.
*
* This setting doesn't apply to SQL Server.
*
*
* Constraints:
*
*
* -
*
* Must be an integer greater than 1000.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withIops(Integer iops) {
setIops(iops);
return this;
}
/**
*
* The name of the option group to use for the restored DB instance.
*
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option
* group, and that option group can't be removed from a DB instance after it is associated with a DB instance
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param optionGroupName
* The name of the option group to use for the restored DB instance.
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an
* option group, and that option group can't be removed from a DB instance after it is associated with a DB
* instance
*
*
* This setting doesn't apply to RDS Custom.
*/
public void setOptionGroupName(String optionGroupName) {
this.optionGroupName = optionGroupName;
}
/**
*
* The name of the option group to use for the restored DB instance.
*
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option
* group, and that option group can't be removed from a DB instance after it is associated with a DB instance
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @return The name of the option group to use for the restored DB instance.
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an
* option group, and that option group can't be removed from a DB instance after it is associated with a DB
* instance
*
*
* This setting doesn't apply to RDS Custom.
*/
public String getOptionGroupName() {
return this.optionGroupName;
}
/**
*
* The name of the option group to use for the restored DB instance.
*
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option
* group, and that option group can't be removed from a DB instance after it is associated with a DB instance
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param optionGroupName
* The name of the option group to use for the restored DB instance.
*
* Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an
* option group, and that option group can't be removed from a DB instance after it is associated with a DB
* instance
*
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withOptionGroupName(String optionGroupName) {
setOptionGroupName(optionGroupName);
return this;
}
/**
*
* Specifies whether to copy all tags from the restored DB instance to snapshots of the DB instance. By default,
* tags are not copied.
*
*
* @param copyTagsToSnapshot
* Specifies whether to copy all tags from the restored DB instance to snapshots of the DB instance. By
* default, tags are not copied.
*/
public void setCopyTagsToSnapshot(Boolean copyTagsToSnapshot) {
this.copyTagsToSnapshot = copyTagsToSnapshot;
}
/**
*
* Specifies whether to copy all tags from the restored DB instance to snapshots of the DB instance. By default,
* tags are not copied.
*
*
* @return Specifies whether to copy all tags from the restored DB instance to snapshots of the DB instance. By
* default, tags are not copied.
*/
public Boolean getCopyTagsToSnapshot() {
return this.copyTagsToSnapshot;
}
/**
*
* Specifies whether to copy all tags from the restored DB instance to snapshots of the DB instance. By default,
* tags are not copied.
*
*
* @param copyTagsToSnapshot
* Specifies whether to copy all tags from the restored 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 RestoreDBInstanceToPointInTimeRequest withCopyTagsToSnapshot(Boolean copyTagsToSnapshot) {
setCopyTagsToSnapshot(copyTagsToSnapshot);
return this;
}
/**
*
* Specifies whether to copy all tags from the restored DB instance to snapshots of the DB instance. By default,
* tags are not copied.
*
*
* @return Specifies whether to copy all tags from the restored DB instance to snapshots of the DB instance. By
* default, tags are not copied.
*/
public Boolean isCopyTagsToSnapshot() {
return this.copyTagsToSnapshot;
}
/**
* @return
*/
public java.util.List getTags() {
if (tags == null) {
tags = new com.amazonaws.internal.SdkInternalList();
}
return tags;
}
/**
* @param tags
*/
public void setTags(java.util.Collection tags) {
if (tags == null) {
this.tags = null;
return;
}
this.tags = new com.amazonaws.internal.SdkInternalList(tags);
}
/**
*
* 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
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withTags(Tag... tags) {
if (this.tags == null) {
setTags(new com.amazonaws.internal.SdkInternalList(tags.length));
}
for (Tag ele : tags) {
this.tags.add(ele);
}
return this;
}
/**
* @param tags
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withTags(java.util.Collection tags) {
setTags(tags);
return this;
}
/**
*
* The storage type to associate with the DB instance.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*
* Constraints:
*
*
* -
*
* If you specify io1
, io2
, or gp3
, you must also include a value for the
* Iops
parameter.
*
*
*
*
* @param storageType
* The storage type to associate with the DB instance.
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*
* Constraints:
*
*
* -
*
* If you specify io1
, io2
, or gp3
, you must also include a value for
* the Iops
parameter.
*
*
*/
public void setStorageType(String storageType) {
this.storageType = storageType;
}
/**
*
* The storage type to associate with the DB instance.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*
* Constraints:
*
*
* -
*
* If you specify io1
, io2
, or gp3
, you must also include a value for the
* Iops
parameter.
*
*
*
*
* @return The storage type to associate with the DB instance.
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*
* Constraints:
*
*
* -
*
* If you specify io1
, io2
, or gp3
, you must also include a value for
* the Iops
parameter.
*
*
*/
public String getStorageType() {
return this.storageType;
}
/**
*
* The storage type to associate with the DB instance.
*
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*
* Constraints:
*
*
* -
*
* If you specify io1
, io2
, or gp3
, you must also include a value for the
* Iops
parameter.
*
*
*
*
* @param storageType
* The storage type to associate with the DB instance.
*
* Valid Values: gp2 | gp3 | io1 | io2 | standard
*
*
* Default: io1
, if the Iops
parameter is specified. Otherwise, gp2
.
*
*
* Constraints:
*
*
* -
*
* If you specify io1
, io2
, or gp3
, you must also include a value for
* the Iops
parameter.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withStorageType(String storageType) {
setStorageType(storageType);
return this;
}
/**
*
* The ARN from the key store with which to associate the instance for TDE encryption.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param tdeCredentialArn
* The ARN from the key store with which to associate the instance for TDE encryption.
*
* This setting doesn't apply to RDS Custom.
*/
public void setTdeCredentialArn(String tdeCredentialArn) {
this.tdeCredentialArn = tdeCredentialArn;
}
/**
*
* The ARN from the key store with which to associate the instance for TDE encryption.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @return The ARN from the key store with which to associate the instance for TDE encryption.
*
* This setting doesn't apply to RDS Custom.
*/
public String getTdeCredentialArn() {
return this.tdeCredentialArn;
}
/**
*
* The ARN from the key store with which to associate the instance for TDE encryption.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param tdeCredentialArn
* The ARN from the key store with which to associate the instance for TDE encryption.
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withTdeCredentialArn(String tdeCredentialArn) {
setTdeCredentialArn(tdeCredentialArn);
return this;
}
/**
*
* The password for the given ARN from the key store in order to access the device.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param tdeCredentialPassword
* The password for the given ARN from the key store in order to access the device.
*
* This setting doesn't apply to RDS Custom.
*/
public void setTdeCredentialPassword(String tdeCredentialPassword) {
this.tdeCredentialPassword = tdeCredentialPassword;
}
/**
*
* The password for the given ARN from the key store in order to access the device.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @return The password for the given ARN from the key store in order to access the device.
*
* This setting doesn't apply to RDS Custom.
*/
public String getTdeCredentialPassword() {
return this.tdeCredentialPassword;
}
/**
*
* The password for the given ARN from the key store in order to access the device.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param tdeCredentialPassword
* The password for the given ARN from the key store in order to access the device.
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withTdeCredentialPassword(String tdeCredentialPassword) {
setTdeCredentialPassword(tdeCredentialPassword);
return this;
}
/**
*
* A list of EC2 VPC security groups to associate with this DB instance.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*
*
* @return A list of EC2 VPC security groups to associate with this DB instance.
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*/
public java.util.List getVpcSecurityGroupIds() {
if (vpcSecurityGroupIds == null) {
vpcSecurityGroupIds = new com.amazonaws.internal.SdkInternalList();
}
return vpcSecurityGroupIds;
}
/**
*
* A list of EC2 VPC security groups to associate with this DB instance.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*
*
* @param vpcSecurityGroupIds
* A list of EC2 VPC security groups to associate with this DB instance.
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*/
public void setVpcSecurityGroupIds(java.util.Collection vpcSecurityGroupIds) {
if (vpcSecurityGroupIds == null) {
this.vpcSecurityGroupIds = null;
return;
}
this.vpcSecurityGroupIds = new com.amazonaws.internal.SdkInternalList(vpcSecurityGroupIds);
}
/**
*
* A list of EC2 VPC security groups to associate with this DB instance.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setVpcSecurityGroupIds(java.util.Collection)} or {@link #withVpcSecurityGroupIds(java.util.Collection)}
* if you want to override the existing values.
*
*
* @param vpcSecurityGroupIds
* A list of EC2 VPC security groups to associate with this DB instance.
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds) {
if (this.vpcSecurityGroupIds == null) {
setVpcSecurityGroupIds(new com.amazonaws.internal.SdkInternalList(vpcSecurityGroupIds.length));
}
for (String ele : vpcSecurityGroupIds) {
this.vpcSecurityGroupIds.add(ele);
}
return this;
}
/**
*
* A list of EC2 VPC security groups to associate with this DB instance.
*
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
*
*
* @param vpcSecurityGroupIds
* A list of EC2 VPC security groups to associate with this DB instance.
*
* Default: The default EC2 VPC security group for the DB subnet group's VPC.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withVpcSecurityGroupIds(java.util.Collection vpcSecurityGroupIds) {
setVpcSecurityGroupIds(vpcSecurityGroupIds);
return this;
}
/**
*
* The Active Directory directory ID to restore the DB instance in. Create the domain before running this command.
* Currently, you can create only the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active
* Directory Domain.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*
* @param domain
* The Active Directory directory ID to restore the DB instance in. Create the domain before running this
* command. Currently, you can create only the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB
* instances in an Active Directory Domain.
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*/
public void setDomain(String domain) {
this.domain = domain;
}
/**
*
* The Active Directory directory ID to restore the DB instance in. Create the domain before running this command.
* Currently, you can create only the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active
* Directory Domain.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*
* @return The Active Directory directory ID to restore the DB instance in. Create the domain before running this
* command. Currently, you can create only the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB
* instances in an Active Directory Domain.
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*/
public String getDomain() {
return this.domain;
}
/**
*
* The Active Directory directory ID to restore the DB instance in. Create the domain before running this command.
* Currently, you can create only the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an Active
* Directory Domain.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
*
*
* @param domain
* The Active Directory directory ID to restore the DB instance in. Create the domain before running this
* command. Currently, you can create only the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB
* instances in an Active Directory Domain.
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information, see Kerberos
* Authentication in the Amazon RDS User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDomain(String domain) {
setDomain(domain);
return this;
}
/**
*
* The name of the IAM role to use when making API calls to the Directory Service.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param domainIAMRoleName
* The name of the IAM role to use when making API calls to the Directory Service.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public void setDomainIAMRoleName(String domainIAMRoleName) {
this.domainIAMRoleName = domainIAMRoleName;
}
/**
*
* The name of the IAM role to use when making API calls to the Directory Service.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @return The name of the IAM role to use when making API calls to the Directory Service.
*
* This setting doesn't apply to RDS Custom DB instances.
*/
public String getDomainIAMRoleName() {
return this.domainIAMRoleName;
}
/**
*
* The name of the IAM role to use when making API calls to the Directory Service.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* @param domainIAMRoleName
* The name of the IAM role to use when making API calls to the Directory Service.
*
* This setting doesn't apply to RDS Custom DB instances.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDomainIAMRoleName(String domainIAMRoleName) {
setDomainIAMRoleName(domainIAMRoleName);
return this;
}
/**
*
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*
*
* @param domainFqdn
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*/
public void setDomainFqdn(String domainFqdn) {
this.domainFqdn = domainFqdn;
}
/**
*
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*
*
* @return The fully qualified domain name (FQDN) of an Active Directory domain.
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*/
public String getDomainFqdn() {
return this.domainFqdn;
}
/**
*
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
*
*
* @param domainFqdn
* The fully qualified domain name (FQDN) of an Active Directory domain.
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: mymanagedADtest.mymanagedAD.mydomain
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDomainFqdn(String domainFqdn) {
setDomainFqdn(domainFqdn);
return this;
}
/**
*
* The Active Directory organizational unit for your DB instance to join.
*
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*
*
* @param domainOu
* The Active Directory organizational unit for your DB instance to join.
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*/
public void setDomainOu(String domainOu) {
this.domainOu = domainOu;
}
/**
*
* The Active Directory organizational unit for your DB instance to join.
*
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*
*
* @return The Active Directory organizational unit for your DB instance to join.
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*/
public String getDomainOu() {
return this.domainOu;
}
/**
*
* The Active Directory organizational unit for your DB instance to join.
*
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
*
*
* @param domainOu
* The Active Directory organizational unit for your DB instance to join.
*
* Constraints:
*
*
* -
*
* Must be in the distinguished name format.
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDomainOu(String domainOu) {
setDomainOu(domainOu);
return this;
}
/**
*
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*
*
* @param domainAuthSecretArn
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*/
public void setDomainAuthSecretArn(String domainAuthSecretArn) {
this.domainAuthSecretArn = domainAuthSecretArn;
}
/**
*
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*
*
* @return The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example:
* arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*/
public String getDomainAuthSecretArn() {
return this.domainAuthSecretArn;
}
/**
*
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
*
*
* @param domainAuthSecretArn
* The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
*
* Constraints:
*
*
* -
*
* Can't be longer than 64 characters.
*
*
*
*
* Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDomainAuthSecretArn(String domainAuthSecretArn) {
setDomainAuthSecretArn(domainAuthSecretArn);
return this;
}
/**
*
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*
*
* @return The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of
* the primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*/
public java.util.List getDomainDnsIps() {
if (domainDnsIps == null) {
domainDnsIps = new com.amazonaws.internal.SdkInternalList();
}
return domainDnsIps;
}
/**
*
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*
*
* @param domainDnsIps
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*/
public void setDomainDnsIps(java.util.Collection domainDnsIps) {
if (domainDnsIps == null) {
this.domainDnsIps = null;
return;
}
this.domainDnsIps = new com.amazonaws.internal.SdkInternalList(domainDnsIps);
}
/**
*
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setDomainDnsIps(java.util.Collection)} or {@link #withDomainDnsIps(java.util.Collection)} if you want to
* override the existing values.
*
*
* @param domainDnsIps
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDomainDnsIps(String... domainDnsIps) {
if (this.domainDnsIps == null) {
setDomainDnsIps(new com.amazonaws.internal.SdkInternalList(domainDnsIps.length));
}
for (String ele : domainDnsIps) {
this.domainDnsIps.add(ele);
}
return this;
}
/**
*
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
*
*
* @param domainDnsIps
* The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
*
* Constraints:
*
*
* -
*
* Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the
* primary domain controller for both entries in the list.
*
*
*
*
* Example: 123.124.125.126,234.235.236.237
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDomainDnsIps(java.util.Collection domainDnsIps) {
setDomainDnsIps(domainDnsIps);
return this;
}
/**
*
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to
* database accounts. By default, mapping isn't enabled.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about IAM database authentication, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* @param enableIAMDatabaseAuthentication
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts
* to database accounts. By default, mapping isn't enabled.
*
* This setting doesn't apply to RDS Custom.
*
*
* 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;
}
/**
*
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to
* database accounts. By default, mapping isn't enabled.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about IAM database authentication, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* @return Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts
* to database accounts. By default, mapping isn't enabled.
*
* This setting doesn't apply to RDS Custom.
*
*
* 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;
}
/**
*
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to
* database accounts. By default, mapping isn't enabled.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about IAM database authentication, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* @param enableIAMDatabaseAuthentication
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts
* to database accounts. By default, mapping isn't enabled.
*
* This setting doesn't apply to RDS Custom.
*
*
* 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 RestoreDBInstanceToPointInTimeRequest withEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication) {
setEnableIAMDatabaseAuthentication(enableIAMDatabaseAuthentication);
return this;
}
/**
*
* Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to
* database accounts. By default, mapping isn't enabled.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about IAM database authentication, see IAM Database
* Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.
*
*
* @return Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts
* to database accounts. By default, mapping isn't enabled.
*
* This setting doesn't apply to RDS Custom.
*
*
* 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 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.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @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.
*
* This setting doesn't apply to RDS Custom.
*/
public java.util.List getEnableCloudwatchLogsExports() {
if (enableCloudwatchLogsExports == null) {
enableCloudwatchLogsExports = new com.amazonaws.internal.SdkInternalList();
}
return 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.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @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.
*
* This setting doesn't apply to RDS Custom.
*/
public void setEnableCloudwatchLogsExports(java.util.Collection enableCloudwatchLogsExports) {
if (enableCloudwatchLogsExports == null) {
this.enableCloudwatchLogsExports = null;
return;
}
this.enableCloudwatchLogsExports = new com.amazonaws.internal.SdkInternalList(enableCloudwatchLogsExports);
}
/**
*
* The list of 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.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* 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.
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withEnableCloudwatchLogsExports(String... enableCloudwatchLogsExports) {
if (this.enableCloudwatchLogsExports == null) {
setEnableCloudwatchLogsExports(new com.amazonaws.internal.SdkInternalList(enableCloudwatchLogsExports.length));
}
for (String ele : enableCloudwatchLogsExports) {
this.enableCloudwatchLogsExports.add(ele);
}
return this;
}
/**
*
* The list of 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.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @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.
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withEnableCloudwatchLogsExports(java.util.Collection enableCloudwatchLogsExports) {
setEnableCloudwatchLogsExports(enableCloudwatchLogsExports);
return this;
}
/**
*
* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @return The number of CPU cores and the number of threads per core for the DB instance class of the DB
* instance.
*
* This setting doesn't apply to RDS Custom.
*/
public java.util.List getProcessorFeatures() {
if (processorFeatures == null) {
processorFeatures = new com.amazonaws.internal.SdkInternalList();
}
return processorFeatures;
}
/**
*
* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param processorFeatures
* The number of CPU cores and the number of threads per core for the DB instance class of the DB
* instance.
*
* This setting doesn't apply to RDS Custom.
*/
public void setProcessorFeatures(java.util.Collection processorFeatures) {
if (processorFeatures == null) {
this.processorFeatures = null;
return;
}
this.processorFeatures = new com.amazonaws.internal.SdkInternalList(processorFeatures);
}
/**
*
* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setProcessorFeatures(java.util.Collection)} or {@link #withProcessorFeatures(java.util.Collection)} if
* you want to override the existing values.
*
*
* @param processorFeatures
* The number of CPU cores and the number of threads per core for the DB instance class of the DB
* instance.
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withProcessorFeatures(ProcessorFeature... processorFeatures) {
if (this.processorFeatures == null) {
setProcessorFeatures(new com.amazonaws.internal.SdkInternalList(processorFeatures.length));
}
for (ProcessorFeature ele : processorFeatures) {
this.processorFeatures.add(ele);
}
return this;
}
/**
*
* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param processorFeatures
* The number of CPU cores and the number of threads per core for the DB instance class of the DB
* instance.
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withProcessorFeatures(java.util.Collection processorFeatures) {
setProcessorFeatures(processorFeatures);
return this;
}
/**
*
* Specifies whether the DB instance class of the DB instance uses its default processor features.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param useDefaultProcessorFeatures
* Specifies whether the DB instance class of the DB instance uses its default processor features.
*
* This setting doesn't apply to RDS Custom.
*/
public void setUseDefaultProcessorFeatures(Boolean useDefaultProcessorFeatures) {
this.useDefaultProcessorFeatures = useDefaultProcessorFeatures;
}
/**
*
* Specifies whether the DB instance class of the DB instance uses its default processor features.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @return Specifies whether the DB instance class of the DB instance uses its default processor features.
*
* This setting doesn't apply to RDS Custom.
*/
public Boolean getUseDefaultProcessorFeatures() {
return this.useDefaultProcessorFeatures;
}
/**
*
* Specifies whether the DB instance class of the DB instance uses its default processor features.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param useDefaultProcessorFeatures
* Specifies whether the DB instance class of the DB instance uses its default processor features.
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withUseDefaultProcessorFeatures(Boolean useDefaultProcessorFeatures) {
setUseDefaultProcessorFeatures(useDefaultProcessorFeatures);
return this;
}
/**
*
* Specifies whether the DB instance class of the DB instance uses its default processor features.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @return Specifies whether the DB instance class of the DB instance uses its default processor features.
*
* This setting doesn't apply to RDS Custom.
*/
public Boolean isUseDefaultProcessorFeatures() {
return this.useDefaultProcessorFeatures;
}
/**
*
* 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.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB parameter group.
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* @param dBParameterGroupName
* The name of the DB parameter group to associate with this DB instance.
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB parameter group.
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*/
public void setDBParameterGroupName(String dBParameterGroupName) {
this.dBParameterGroupName = dBParameterGroupName;
}
/**
*
* The name of the DB parameter group to associate with this DB instance.
*
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB parameter group.
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* @return The name of the DB parameter group to associate with this DB instance.
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB parameter group.
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*/
public String getDBParameterGroupName() {
return this.dBParameterGroupName;
}
/**
*
* The name of the DB parameter group to associate with this DB instance.
*
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB parameter group.
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
*
*
* @param dBParameterGroupName
* The name of the DB parameter group to associate with this DB instance.
*
* If you do not specify a value for DBParameterGroupName
, then the default
* DBParameterGroup
for the specified DB engine is used.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* Constraints:
*
*
* -
*
* If supplied, must match the name of an existing DB parameter group.
*
*
* -
*
* Must be 1 to 255 letters, numbers, or hyphens.
*
*
* -
*
* First character must be a letter.
*
*
* -
*
* Can't end with a hyphen or contain two consecutive hyphens.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDBParameterGroupName(String dBParameterGroupName) {
setDBParameterGroupName(dBParameterGroupName);
return this;
}
/**
*
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
* protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB
* Instance.
*
*
* @param deletionProtection
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when
* deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see
* Deleting a DB
* Instance.
*/
public void setDeletionProtection(Boolean deletionProtection) {
this.deletionProtection = deletionProtection;
}
/**
*
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
* protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB
* Instance.
*
*
* @return Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when
* deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see
* Deleting a DB
* Instance.
*/
public Boolean getDeletionProtection() {
return this.deletionProtection;
}
/**
*
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
* protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB
* Instance.
*
*
* @param deletionProtection
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when
* deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see
* Deleting a DB
* Instance.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDeletionProtection(Boolean deletionProtection) {
setDeletionProtection(deletionProtection);
return this;
}
/**
*
* Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
* protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB
* Instance.
*
*
* @return Specifies whether the DB instance has deletion protection enabled. The database can't be deleted when
* deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see
* Deleting a DB
* Instance.
*/
public Boolean isDeletionProtection() {
return this.deletionProtection;
}
/**
*
* The resource ID of the source DB instance from which to restore.
*
*
* @param sourceDbiResourceId
* The resource ID of the source DB instance from which to restore.
*/
public void setSourceDbiResourceId(String sourceDbiResourceId) {
this.sourceDbiResourceId = sourceDbiResourceId;
}
/**
*
* The resource ID of the source DB instance from which to restore.
*
*
* @return The resource ID of the source DB instance from which to restore.
*/
public String getSourceDbiResourceId() {
return this.sourceDbiResourceId;
}
/**
*
* The resource ID of the source DB instance from which to restore.
*
*
* @param sourceDbiResourceId
* The resource ID of the source DB instance from which to restore.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withSourceDbiResourceId(String sourceDbiResourceId) {
setSourceDbiResourceId(sourceDbiResourceId);
return this;
}
/**
*
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.
*
*
* For more information about this setting, including limitations that apply to it, see
* Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param maxAllocatedStorage
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB
* instance.
*
* For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User
* Guide.
*
*
* This setting doesn't apply to RDS Custom.
*/
public void setMaxAllocatedStorage(Integer maxAllocatedStorage) {
this.maxAllocatedStorage = maxAllocatedStorage;
}
/**
*
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.
*
*
* For more information about this setting, including limitations that apply to it, see
* Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @return The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB
* instance.
*
* For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User
* Guide.
*
*
* This setting doesn't apply to RDS Custom.
*/
public Integer getMaxAllocatedStorage() {
return this.maxAllocatedStorage;
}
/**
*
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.
*
*
* For more information about this setting, including limitations that apply to it, see
* Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param maxAllocatedStorage
* The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB
* instance.
*
* For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User
* Guide.
*
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withMaxAllocatedStorage(Integer maxAllocatedStorage) {
setMaxAllocatedStorage(maxAllocatedStorage);
return this;
}
/**
*
* The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example,
* arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE
.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param sourceDBInstanceAutomatedBackupsArn
* The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example,
* arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE
.
*
* This setting doesn't apply to RDS Custom.
*/
public void setSourceDBInstanceAutomatedBackupsArn(String sourceDBInstanceAutomatedBackupsArn) {
this.sourceDBInstanceAutomatedBackupsArn = sourceDBInstanceAutomatedBackupsArn;
}
/**
*
* The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example,
* arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE
.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @return The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example,
* arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE
.
*
* This setting doesn't apply to RDS Custom.
*/
public String getSourceDBInstanceAutomatedBackupsArn() {
return this.sourceDBInstanceAutomatedBackupsArn;
}
/**
*
* The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example,
* arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE
.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* @param sourceDBInstanceAutomatedBackupsArn
* The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example,
* arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE
.
*
* This setting doesn't apply to RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withSourceDBInstanceAutomatedBackupsArn(String sourceDBInstanceAutomatedBackupsArn) {
setSourceDBInstanceAutomatedBackupsArn(sourceDBInstanceAutomatedBackupsArn);
return this;
}
/**
*
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from
* outside of its virtual private cloud (VPC) on your local network.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*
*
* @param enableCustomerOwnedIp
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB
* instance from outside of its virtual private cloud (VPC) on your local network.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS
* on Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*/
public void setEnableCustomerOwnedIp(Boolean enableCustomerOwnedIp) {
this.enableCustomerOwnedIp = enableCustomerOwnedIp;
}
/**
*
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from
* outside of its virtual private cloud (VPC) on your local network.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*
*
* @return Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB
* instance from outside of its virtual private cloud (VPC) on your local network.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about RDS on Outposts, see Working with Amazon
* RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*/
public Boolean getEnableCustomerOwnedIp() {
return this.enableCustomerOwnedIp;
}
/**
*
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from
* outside of its virtual private cloud (VPC) on your local network.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*
*
* @param enableCustomerOwnedIp
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB
* instance from outside of its virtual private cloud (VPC) on your local network.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS
* on Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withEnableCustomerOwnedIp(Boolean enableCustomerOwnedIp) {
setEnableCustomerOwnedIp(enableCustomerOwnedIp);
return this;
}
/**
*
* Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from
* outside of its virtual private cloud (VPC) on your local network.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about RDS on Outposts, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*
*
* @return Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.
*
* A CoIP provides local or external connectivity to resources in your Outpost subnets through your
* on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB
* instance from outside of its virtual private cloud (VPC) on your local network.
*
*
* This setting doesn't apply to RDS Custom.
*
*
* For more information about RDS on Outposts, see Working with Amazon
* RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* For more information about CoIPs, see Customer-owned IP
* addresses in the Amazon Web Services Outposts User Guide.
*/
public Boolean isEnableCustomerOwnedIp() {
return this.enableCustomerOwnedIp;
}
/**
*
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The
* instance profile must meet the following requirements:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*
*
* This setting is required for RDS Custom.
*
*
* @param customIamInstanceProfile
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The
* instance profile must meet the following requirements:
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix
* AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*
*
* This setting is required for RDS Custom.
*/
public void setCustomIamInstanceProfile(String customIamInstanceProfile) {
this.customIamInstanceProfile = customIamInstanceProfile;
}
/**
*
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The
* instance profile must meet the following requirements:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*
*
* This setting is required for RDS Custom.
*
*
* @return The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The
* instance profile must meet the following requirements:
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix
* AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
*
*
* This setting is required for RDS Custom.
*/
public String getCustomIamInstanceProfile() {
return this.customIamInstanceProfile;
}
/**
*
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The
* instance profile must meet the following requirements:
*
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*
*
* This setting is required for RDS Custom.
*
*
* @param customIamInstanceProfile
* The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The
* instance profile must meet the following requirements:
*
* -
*
* The profile must exist in your account.
*
*
* -
*
* The profile must have an IAM role that Amazon EC2 has permissions to assume.
*
*
* -
*
* The instance profile name and the associated IAM role name must start with the prefix
* AWSRDSCustom
.
*
*
*
*
* For the list of permissions required for the IAM role, see
* Configure IAM and your VPC in the Amazon RDS User Guide.
*
*
* This setting is required for RDS Custom.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withCustomIamInstanceProfile(String customIamInstanceProfile) {
setCustomIamInstanceProfile(customIamInstanceProfile);
return this;
}
/**
*
* The location for storing automated backups and manual snapshots for the restored DB instance.
*
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* @param backupTarget
* The location for storing automated backups and manual snapshots for the restored DB instance.
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS
* on Amazon Web Services Outposts in the Amazon RDS User Guide.
*/
public void setBackupTarget(String backupTarget) {
this.backupTarget = backupTarget;
}
/**
*
* The location for storing automated backups and manual snapshots for the restored DB instance.
*
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* @return The location for storing automated backups and manual snapshots for the restored DB instance.
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon
* RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
*/
public String getBackupTarget() {
return this.backupTarget;
}
/**
*
* The location for storing automated backups and manual snapshots for the restored DB instance.
*
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS on
* Amazon Web Services Outposts in the Amazon RDS User Guide.
*
*
* @param backupTarget
* The location for storing automated backups and manual snapshots for the restored DB instance.
*
* Valid Values:
*
*
* -
*
* outposts
(Amazon Web Services Outposts)
*
*
* -
*
* region
(Amazon Web Services Region)
*
*
*
*
* Default: region
*
*
* For more information, see Working with Amazon RDS
* on Amazon Web Services Outposts in the Amazon RDS User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withBackupTarget(String backupTarget) {
setBackupTarget(backupTarget);
return this;
}
/**
*
* The network type of the DB instance.
*
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see Working
* with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values:
*
*
* -
*
* IPV4
*
*
* -
*
* DUAL
*
*
*
*
* @param networkType
* The network type of the DB instance.
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see
* Working with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values:
*
*
* -
*
* IPV4
*
*
* -
*
* DUAL
*
*
*/
public void setNetworkType(String networkType) {
this.networkType = networkType;
}
/**
*
* The network type of the DB instance.
*
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see Working
* with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values:
*
*
* -
*
* IPV4
*
*
* -
*
* DUAL
*
*
*
*
* @return The network type of the DB instance.
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see
* Working with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values:
*
*
* -
*
* IPV4
*
*
* -
*
* DUAL
*
*
*/
public String getNetworkType() {
return this.networkType;
}
/**
*
* The network type of the DB instance.
*
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see Working
* with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values:
*
*
* -
*
* IPV4
*
*
* -
*
* DUAL
*
*
*
*
* @param networkType
* The network type of the DB instance.
*
* The network type is determined by the DBSubnetGroup
specified for the DB instance. A
* DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
* DUAL
).
*
*
* For more information, see
* Working with a DB instance in a VPC in the Amazon RDS User Guide.
*
*
* Valid Values:
*
*
* -
*
* IPV4
*
*
* -
*
* DUAL
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withNetworkType(String networkType) {
setNetworkType(networkType);
return this;
}
/**
*
* The storage throughput value for the DB instance.
*
*
* This setting doesn't apply to RDS Custom or Amazon Aurora.
*
*
* @param storageThroughput
* 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;
}
/**
*
* The storage throughput value for the DB instance.
*
*
* This setting doesn't apply to RDS Custom or Amazon Aurora.
*
*
* @return 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;
}
/**
*
* The storage throughput value for the DB instance.
*
*
* This setting doesn't apply to RDS Custom or Amazon Aurora.
*
*
* @param storageThroughput
* 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 RestoreDBInstanceToPointInTimeRequest withStorageThroughput(Integer storageThroughput) {
setStorageThroughput(storageThroughput);
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.
*
*
*
* @param 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.
*
*/
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.
*
*
*
* @return 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.
*
*/
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.
*
*
*
* @param 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.
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withAllocatedStorage(Integer allocatedStorage) {
setAllocatedStorage(allocatedStorage);
return this;
}
/**
*
* Specifies whether to enable a dedicated log volume (DLV) for the DB instance.
*
*
* @param dedicatedLogVolume
* Specifies whether to enable a dedicated log volume (DLV) for the DB instance.
*/
public void setDedicatedLogVolume(Boolean dedicatedLogVolume) {
this.dedicatedLogVolume = dedicatedLogVolume;
}
/**
*
* Specifies whether to enable a dedicated log volume (DLV) for the DB instance.
*
*
* @return Specifies whether to enable a dedicated log volume (DLV) for the DB instance.
*/
public Boolean getDedicatedLogVolume() {
return this.dedicatedLogVolume;
}
/**
*
* Specifies whether to enable a dedicated log volume (DLV) for the DB instance.
*
*
* @param dedicatedLogVolume
* Specifies whether to enable a dedicated log volume (DLV) for the DB instance.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withDedicatedLogVolume(Boolean dedicatedLogVolume) {
setDedicatedLogVolume(dedicatedLogVolume);
return this;
}
/**
*
* Specifies whether to enable a dedicated log volume (DLV) for the DB instance.
*
*
* @return Specifies whether to enable a dedicated log volume (DLV) for the DB instance.
*/
public Boolean isDedicatedLogVolume() {
return this.dedicatedLogVolume;
}
/**
*
* The CA certificate identifier to use for the DB instance's server certificate.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to encrypt a
* connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to
* encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*
*
* @param cACertificateIdentifier
* The CA certificate identifier to use for the DB instance's server certificate.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to
* encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS
* to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*/
public void setCACertificateIdentifier(String cACertificateIdentifier) {
this.cACertificateIdentifier = cACertificateIdentifier;
}
/**
*
* The CA certificate identifier to use for the DB instance's server certificate.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to encrypt a
* connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to
* encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*
*
* @return The CA certificate identifier to use for the DB instance's server certificate.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to
* encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS
* to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*/
public String getCACertificateIdentifier() {
return this.cACertificateIdentifier;
}
/**
*
* The CA certificate identifier to use for the DB instance's server certificate.
*
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to encrypt a
* connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to
* encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
*
*
* @param cACertificateIdentifier
* The CA certificate identifier to use for the DB instance's server certificate.
*
* This setting doesn't apply to RDS Custom DB instances.
*
*
* For more information, see Using SSL/TLS to
* encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS
* to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withCACertificateIdentifier(String cACertificateIdentifier) {
setCACertificateIdentifier(cACertificateIdentifier);
return this;
}
/**
*
* The life cycle type for this DB instance.
*
*
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB instance
* into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by
* setting the value to open-source-rds-extended-support-disabled
. In this case, RDS automatically
* upgrades your restored DB instance to a higher engine version, if the major engine version is past its end of
* standard support date.
*
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support,
* you can run the selected major engine version on your DB instance past the end of standard support for that
* engine version. For more information, see Using Amazon RDS Extended
* Support in the Amazon RDS User Guide.
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle
* type is managed by the DB cluster.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*
*
* @param engineLifecycleSupport
* The life cycle type for this DB instance.
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB
* instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for
* Extended Support by setting the value to open-source-rds-extended-support-disabled
. In this
* case, RDS automatically upgrades your restored DB instance to a higher engine version, if the major engine
* version is past its end of standard support date.
*
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended
* Support, you can run the selected major engine version on your DB instance past the end of standard
* support for that engine version. For more information, see Using Amazon RDS
* Extended Support in the Amazon RDS User Guide.
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the
* life cycle type is managed by the DB cluster.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*/
public void setEngineLifecycleSupport(String engineLifecycleSupport) {
this.engineLifecycleSupport = engineLifecycleSupport;
}
/**
*
* The life cycle type for this DB instance.
*
*
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB instance
* into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by
* setting the value to open-source-rds-extended-support-disabled
. In this case, RDS automatically
* upgrades your restored DB instance to a higher engine version, if the major engine version is past its end of
* standard support date.
*
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support,
* you can run the selected major engine version on your DB instance past the end of standard support for that
* engine version. For more information, see Using Amazon RDS Extended
* Support in the Amazon RDS User Guide.
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle
* type is managed by the DB cluster.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*
*
* @return The life cycle type for this DB instance.
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB
* instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for
* Extended Support by setting the value to open-source-rds-extended-support-disabled
. In this
* case, RDS automatically upgrades your restored DB instance to a higher engine version, if the major
* engine version is past its end of standard support date.
*
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended
* Support, you can run the selected major engine version on your DB instance past the end of standard
* support for that engine version. For more information, see Using Amazon RDS
* Extended Support in the Amazon RDS User Guide.
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the
* life cycle type is managed by the DB cluster.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*/
public String getEngineLifecycleSupport() {
return this.engineLifecycleSupport;
}
/**
*
* The life cycle type for this DB instance.
*
*
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB instance
* into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by
* setting the value to open-source-rds-extended-support-disabled
. In this case, RDS automatically
* upgrades your restored DB instance to a higher engine version, if the major engine version is past its end of
* standard support date.
*
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support,
* you can run the selected major engine version on your DB instance past the end of standard support for that
* engine version. For more information, see Using Amazon RDS Extended
* Support in the Amazon RDS User Guide.
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle
* type is managed by the DB cluster.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
*
*
* @param engineLifecycleSupport
* The life cycle type for this DB instance.
*
* By default, this value is set to open-source-rds-extended-support
, which enrolls your DB
* instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for
* Extended Support by setting the value to open-source-rds-extended-support-disabled
. In this
* case, RDS automatically upgrades your restored DB instance to a higher engine version, if the major engine
* version is past its end of standard support date.
*
*
*
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended
* Support, you can run the selected major engine version on your DB instance past the end of standard
* support for that engine version. For more information, see Using Amazon RDS
* Extended Support in the Amazon RDS User Guide.
*
*
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the
* life cycle type is managed by the DB cluster.
*
*
* Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
*
*
* Default: open-source-rds-extended-support
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RestoreDBInstanceToPointInTimeRequest withEngineLifecycleSupport(String engineLifecycleSupport) {
setEngineLifecycleSupport(engineLifecycleSupport);
return this;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getSourceDBInstanceIdentifier() != null)
sb.append("SourceDBInstanceIdentifier: ").append(getSourceDBInstanceIdentifier()).append(",");
if (getTargetDBInstanceIdentifier() != null)
sb.append("TargetDBInstanceIdentifier: ").append(getTargetDBInstanceIdentifier()).append(",");
if (getRestoreTime() != null)
sb.append("RestoreTime: ").append(getRestoreTime()).append(",");
if (getUseLatestRestorableTime() != null)
sb.append("UseLatestRestorableTime: ").append(getUseLatestRestorableTime()).append(",");
if (getDBInstanceClass() != null)
sb.append("DBInstanceClass: ").append(getDBInstanceClass()).append(",");
if (getPort() != null)
sb.append("Port: ").append(getPort()).append(",");
if (getAvailabilityZone() != null)
sb.append("AvailabilityZone: ").append(getAvailabilityZone()).append(",");
if (getDBSubnetGroupName() != null)
sb.append("DBSubnetGroupName: ").append(getDBSubnetGroupName()).append(",");
if (getMultiAZ() != null)
sb.append("MultiAZ: ").append(getMultiAZ()).append(",");
if (getPubliclyAccessible() != null)
sb.append("PubliclyAccessible: ").append(getPubliclyAccessible()).append(",");
if (getAutoMinorVersionUpgrade() != null)
sb.append("AutoMinorVersionUpgrade: ").append(getAutoMinorVersionUpgrade()).append(",");
if (getLicenseModel() != null)
sb.append("LicenseModel: ").append(getLicenseModel()).append(",");
if (getDBName() != null)
sb.append("DBName: ").append(getDBName()).append(",");
if (getEngine() != null)
sb.append("Engine: ").append(getEngine()).append(",");
if (getIops() != null)
sb.append("Iops: ").append(getIops()).append(",");
if (getOptionGroupName() != null)
sb.append("OptionGroupName: ").append(getOptionGroupName()).append(",");
if (getCopyTagsToSnapshot() != null)
sb.append("CopyTagsToSnapshot: ").append(getCopyTagsToSnapshot()).append(",");
if (getTags() != null)
sb.append("Tags: ").append(getTags()).append(",");
if (getStorageType() != null)
sb.append("StorageType: ").append(getStorageType()).append(",");
if (getTdeCredentialArn() != null)
sb.append("TdeCredentialArn: ").append(getTdeCredentialArn()).append(",");
if (getTdeCredentialPassword() != null)
sb.append("TdeCredentialPassword: ").append(getTdeCredentialPassword()).append(",");
if (getVpcSecurityGroupIds() != null)
sb.append("VpcSecurityGroupIds: ").append(getVpcSecurityGroupIds()).append(",");
if (getDomain() != null)
sb.append("Domain: ").append(getDomain()).append(",");
if (getDomainIAMRoleName() != null)
sb.append("DomainIAMRoleName: ").append(getDomainIAMRoleName()).append(",");
if (getDomainFqdn() != null)
sb.append("DomainFqdn: ").append(getDomainFqdn()).append(",");
if (getDomainOu() != null)
sb.append("DomainOu: ").append(getDomainOu()).append(",");
if (getDomainAuthSecretArn() != null)
sb.append("DomainAuthSecretArn: ").append(getDomainAuthSecretArn()).append(",");
if (getDomainDnsIps() != null)
sb.append("DomainDnsIps: ").append(getDomainDnsIps()).append(",");
if (getEnableIAMDatabaseAuthentication() != null)
sb.append("EnableIAMDatabaseAuthentication: ").append(getEnableIAMDatabaseAuthentication()).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 (getDBParameterGroupName() != null)
sb.append("DBParameterGroupName: ").append(getDBParameterGroupName()).append(",");
if (getDeletionProtection() != null)
sb.append("DeletionProtection: ").append(getDeletionProtection()).append(",");
if (getSourceDbiResourceId() != null)
sb.append("SourceDbiResourceId: ").append(getSourceDbiResourceId()).append(",");
if (getMaxAllocatedStorage() != null)
sb.append("MaxAllocatedStorage: ").append(getMaxAllocatedStorage()).append(",");
if (getSourceDBInstanceAutomatedBackupsArn() != null)
sb.append("SourceDBInstanceAutomatedBackupsArn: ").append(getSourceDBInstanceAutomatedBackupsArn()).append(",");
if (getEnableCustomerOwnedIp() != null)
sb.append("EnableCustomerOwnedIp: ").append(getEnableCustomerOwnedIp()).append(",");
if (getCustomIamInstanceProfile() != null)
sb.append("CustomIamInstanceProfile: ").append(getCustomIamInstanceProfile()).append(",");
if (getBackupTarget() != null)
sb.append("BackupTarget: ").append(getBackupTarget()).append(",");
if (getNetworkType() != null)
sb.append("NetworkType: ").append(getNetworkType()).append(",");
if (getStorageThroughput() != null)
sb.append("StorageThroughput: ").append(getStorageThroughput()).append(",");
if (getAllocatedStorage() != null)
sb.append("AllocatedStorage: ").append(getAllocatedStorage()).append(",");
if (getDedicatedLogVolume() != null)
sb.append("DedicatedLogVolume: ").append(getDedicatedLogVolume()).append(",");
if (getCACertificateIdentifier() != null)
sb.append("CACertificateIdentifier: ").append(getCACertificateIdentifier()).append(",");
if (getEngineLifecycleSupport() != null)
sb.append("EngineLifecycleSupport: ").append(getEngineLifecycleSupport());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof RestoreDBInstanceToPointInTimeRequest == false)
return false;
RestoreDBInstanceToPointInTimeRequest other = (RestoreDBInstanceToPointInTimeRequest) obj;
if (other.getSourceDBInstanceIdentifier() == null ^ this.getSourceDBInstanceIdentifier() == null)
return false;
if (other.getSourceDBInstanceIdentifier() != null && other.getSourceDBInstanceIdentifier().equals(this.getSourceDBInstanceIdentifier()) == false)
return false;
if (other.getTargetDBInstanceIdentifier() == null ^ this.getTargetDBInstanceIdentifier() == null)
return false;
if (other.getTargetDBInstanceIdentifier() != null && other.getTargetDBInstanceIdentifier().equals(this.getTargetDBInstanceIdentifier()) == false)
return false;
if (other.getRestoreTime() == null ^ this.getRestoreTime() == null)
return false;
if (other.getRestoreTime() != null && other.getRestoreTime().equals(this.getRestoreTime()) == false)
return false;
if (other.getUseLatestRestorableTime() == null ^ this.getUseLatestRestorableTime() == null)
return false;
if (other.getUseLatestRestorableTime() != null && other.getUseLatestRestorableTime().equals(this.getUseLatestRestorableTime()) == 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.getPort() == null ^ this.getPort() == null)
return false;
if (other.getPort() != null && other.getPort().equals(this.getPort()) == 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.getMultiAZ() == null ^ this.getMultiAZ() == null)
return false;
if (other.getMultiAZ() != null && other.getMultiAZ().equals(this.getMultiAZ()) == 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.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.getDBName() == null ^ this.getDBName() == null)
return false;
if (other.getDBName() != null && other.getDBName().equals(this.getDBName()) == 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.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.getCopyTagsToSnapshot() == null ^ this.getCopyTagsToSnapshot() == null)
return false;
if (other.getCopyTagsToSnapshot() != null && other.getCopyTagsToSnapshot().equals(this.getCopyTagsToSnapshot()) == 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.getTdeCredentialArn() == null ^ this.getTdeCredentialArn() == null)
return false;
if (other.getTdeCredentialArn() != null && other.getTdeCredentialArn().equals(this.getTdeCredentialArn()) == false)
return false;
if (other.getTdeCredentialPassword() == null ^ this.getTdeCredentialPassword() == null)
return false;
if (other.getTdeCredentialPassword() != null && other.getTdeCredentialPassword().equals(this.getTdeCredentialPassword()) == false)
return false;
if (other.getVpcSecurityGroupIds() == null ^ this.getVpcSecurityGroupIds() == null)
return false;
if (other.getVpcSecurityGroupIds() != null && other.getVpcSecurityGroupIds().equals(this.getVpcSecurityGroupIds()) == false)
return false;
if (other.getDomain() == null ^ this.getDomain() == null)
return false;
if (other.getDomain() != null && other.getDomain().equals(this.getDomain()) == false)
return false;
if (other.getDomainIAMRoleName() == null ^ this.getDomainIAMRoleName() == null)
return false;
if (other.getDomainIAMRoleName() != null && other.getDomainIAMRoleName().equals(this.getDomainIAMRoleName()) == false)
return false;
if (other.getDomainFqdn() == null ^ this.getDomainFqdn() == null)
return false;
if (other.getDomainFqdn() != null && other.getDomainFqdn().equals(this.getDomainFqdn()) == false)
return false;
if (other.getDomainOu() == null ^ this.getDomainOu() == null)
return false;
if (other.getDomainOu() != null && other.getDomainOu().equals(this.getDomainOu()) == false)
return false;
if (other.getDomainAuthSecretArn() == null ^ this.getDomainAuthSecretArn() == null)
return false;
if (other.getDomainAuthSecretArn() != null && other.getDomainAuthSecretArn().equals(this.getDomainAuthSecretArn()) == false)
return false;
if (other.getDomainDnsIps() == null ^ this.getDomainDnsIps() == null)
return false;
if (other.getDomainDnsIps() != null && other.getDomainDnsIps().equals(this.getDomainDnsIps()) == false)
return false;
if (other.getEnableIAMDatabaseAuthentication() == null ^ this.getEnableIAMDatabaseAuthentication() == null)
return false;
if (other.getEnableIAMDatabaseAuthentication() != null
&& other.getEnableIAMDatabaseAuthentication().equals(this.getEnableIAMDatabaseAuthentication()) == 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.getDBParameterGroupName() == null ^ this.getDBParameterGroupName() == null)
return false;
if (other.getDBParameterGroupName() != null && other.getDBParameterGroupName().equals(this.getDBParameterGroupName()) == 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.getSourceDbiResourceId() == null ^ this.getSourceDbiResourceId() == null)
return false;
if (other.getSourceDbiResourceId() != null && other.getSourceDbiResourceId().equals(this.getSourceDbiResourceId()) == 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.getSourceDBInstanceAutomatedBackupsArn() == null ^ this.getSourceDBInstanceAutomatedBackupsArn() == null)
return false;
if (other.getSourceDBInstanceAutomatedBackupsArn() != null
&& other.getSourceDBInstanceAutomatedBackupsArn().equals(this.getSourceDBInstanceAutomatedBackupsArn()) == false)
return false;
if (other.getEnableCustomerOwnedIp() == null ^ this.getEnableCustomerOwnedIp() == null)
return false;
if (other.getEnableCustomerOwnedIp() != null && other.getEnableCustomerOwnedIp().equals(this.getEnableCustomerOwnedIp()) == false)
return false;
if (other.getCustomIamInstanceProfile() == null ^ this.getCustomIamInstanceProfile() == null)
return false;
if (other.getCustomIamInstanceProfile() != null && other.getCustomIamInstanceProfile().equals(this.getCustomIamInstanceProfile()) == false)
return false;
if (other.getBackupTarget() == null ^ this.getBackupTarget() == null)
return false;
if (other.getBackupTarget() != null && other.getBackupTarget().equals(this.getBackupTarget()) == false)
return false;
if (other.getNetworkType() == null ^ this.getNetworkType() == null)
return false;
if (other.getNetworkType() != null && other.getNetworkType().equals(this.getNetworkType()) == false)
return false;
if (other.getStorageThroughput() == null ^ this.getStorageThroughput() == null)
return false;
if (other.getStorageThroughput() != null && other.getStorageThroughput().equals(this.getStorageThroughput()) == false)
return false;
if (other.getAllocatedStorage() == null ^ this.getAllocatedStorage() == null)
return false;
if (other.getAllocatedStorage() != null && other.getAllocatedStorage().equals(this.getAllocatedStorage()) == false)
return false;
if (other.getDedicatedLogVolume() == null ^ this.getDedicatedLogVolume() == null)
return false;
if (other.getDedicatedLogVolume() != null && other.getDedicatedLogVolume().equals(this.getDedicatedLogVolume()) == false)
return false;
if (other.getCACertificateIdentifier() == null ^ this.getCACertificateIdentifier() == null)
return false;
if (other.getCACertificateIdentifier() != null && other.getCACertificateIdentifier().equals(this.getCACertificateIdentifier()) == false)
return false;
if (other.getEngineLifecycleSupport() == null ^ this.getEngineLifecycleSupport() == null)
return false;
if (other.getEngineLifecycleSupport() != null && other.getEngineLifecycleSupport().equals(this.getEngineLifecycleSupport()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getSourceDBInstanceIdentifier() == null) ? 0 : getSourceDBInstanceIdentifier().hashCode());
hashCode = prime * hashCode + ((getTargetDBInstanceIdentifier() == null) ? 0 : getTargetDBInstanceIdentifier().hashCode());
hashCode = prime * hashCode + ((getRestoreTime() == null) ? 0 : getRestoreTime().hashCode());
hashCode = prime * hashCode + ((getUseLatestRestorableTime() == null) ? 0 : getUseLatestRestorableTime().hashCode());
hashCode = prime * hashCode + ((getDBInstanceClass() == null) ? 0 : getDBInstanceClass().hashCode());
hashCode = prime * hashCode + ((getPort() == null) ? 0 : getPort().hashCode());
hashCode = prime * hashCode + ((getAvailabilityZone() == null) ? 0 : getAvailabilityZone().hashCode());
hashCode = prime * hashCode + ((getDBSubnetGroupName() == null) ? 0 : getDBSubnetGroupName().hashCode());
hashCode = prime * hashCode + ((getMultiAZ() == null) ? 0 : getMultiAZ().hashCode());
hashCode = prime * hashCode + ((getPubliclyAccessible() == null) ? 0 : getPubliclyAccessible().hashCode());
hashCode = prime * hashCode + ((getAutoMinorVersionUpgrade() == null) ? 0 : getAutoMinorVersionUpgrade().hashCode());
hashCode = prime * hashCode + ((getLicenseModel() == null) ? 0 : getLicenseModel().hashCode());
hashCode = prime * hashCode + ((getDBName() == null) ? 0 : getDBName().hashCode());
hashCode = prime * hashCode + ((getEngine() == null) ? 0 : getEngine().hashCode());
hashCode = prime * hashCode + ((getIops() == null) ? 0 : getIops().hashCode());
hashCode = prime * hashCode + ((getOptionGroupName() == null) ? 0 : getOptionGroupName().hashCode());
hashCode = prime * hashCode + ((getCopyTagsToSnapshot() == null) ? 0 : getCopyTagsToSnapshot().hashCode());
hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
hashCode = prime * hashCode + ((getStorageType() == null) ? 0 : getStorageType().hashCode());
hashCode = prime * hashCode + ((getTdeCredentialArn() == null) ? 0 : getTdeCredentialArn().hashCode());
hashCode = prime * hashCode + ((getTdeCredentialPassword() == null) ? 0 : getTdeCredentialPassword().hashCode());
hashCode = prime * hashCode + ((getVpcSecurityGroupIds() == null) ? 0 : getVpcSecurityGroupIds().hashCode());
hashCode = prime * hashCode + ((getDomain() == null) ? 0 : getDomain().hashCode());
hashCode = prime * hashCode + ((getDomainIAMRoleName() == null) ? 0 : getDomainIAMRoleName().hashCode());
hashCode = prime * hashCode + ((getDomainFqdn() == null) ? 0 : getDomainFqdn().hashCode());
hashCode = prime * hashCode + ((getDomainOu() == null) ? 0 : getDomainOu().hashCode());
hashCode = prime * hashCode + ((getDomainAuthSecretArn() == null) ? 0 : getDomainAuthSecretArn().hashCode());
hashCode = prime * hashCode + ((getDomainDnsIps() == null) ? 0 : getDomainDnsIps().hashCode());
hashCode = prime * hashCode + ((getEnableIAMDatabaseAuthentication() == null) ? 0 : getEnableIAMDatabaseAuthentication().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 + ((getDBParameterGroupName() == null) ? 0 : getDBParameterGroupName().hashCode());
hashCode = prime * hashCode + ((getDeletionProtection() == null) ? 0 : getDeletionProtection().hashCode());
hashCode = prime * hashCode + ((getSourceDbiResourceId() == null) ? 0 : getSourceDbiResourceId().hashCode());
hashCode = prime * hashCode + ((getMaxAllocatedStorage() == null) ? 0 : getMaxAllocatedStorage().hashCode());
hashCode = prime * hashCode + ((getSourceDBInstanceAutomatedBackupsArn() == null) ? 0 : getSourceDBInstanceAutomatedBackupsArn().hashCode());
hashCode = prime * hashCode + ((getEnableCustomerOwnedIp() == null) ? 0 : getEnableCustomerOwnedIp().hashCode());
hashCode = prime * hashCode + ((getCustomIamInstanceProfile() == null) ? 0 : getCustomIamInstanceProfile().hashCode());
hashCode = prime * hashCode + ((getBackupTarget() == null) ? 0 : getBackupTarget().hashCode());
hashCode = prime * hashCode + ((getNetworkType() == null) ? 0 : getNetworkType().hashCode());
hashCode = prime * hashCode + ((getStorageThroughput() == null) ? 0 : getStorageThroughput().hashCode());
hashCode = prime * hashCode + ((getAllocatedStorage() == null) ? 0 : getAllocatedStorage().hashCode());
hashCode = prime * hashCode + ((getDedicatedLogVolume() == null) ? 0 : getDedicatedLogVolume().hashCode());
hashCode = prime * hashCode + ((getCACertificateIdentifier() == null) ? 0 : getCACertificateIdentifier().hashCode());
hashCode = prime * hashCode + ((getEngineLifecycleSupport() == null) ? 0 : getEngineLifecycleSupport().hashCode());
return hashCode;
}
@Override
public RestoreDBInstanceToPointInTimeRequest clone() {
return (RestoreDBInstanceToPointInTimeRequest) super.clone();
}
}