Class RestoreDBInstanceToPointInTimeRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for RestoreDBInstanceToPointInTimeRequest object.RestoreDBInstanceToPointInTimeRequest
(String sourceDBInstanceIdentifier, String targetDBInstanceIdentifier) Constructs a new RestoreDBInstanceToPointInTimeRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.The EC2 Availability Zone that the database instance will be created in.True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false.The compute and memory capacity of the Amazon RDS DB instance.The database name for the restored DB instance.The DB subnet group name to use for the new instance.Specify the Active Directory Domain to restore the instance in.Specify the name of the IAM role to be used when making API calls to the Directory Service.The database engine to use for the new instance.getIops()
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.License model information for the restored DB instance.Specifies if the DB instance is a Multi-AZ deployment.The name of the option group to be used for the restored DB instance.getPort()
The port number on which the database accepts connections.Specifies the accessibility options for the DB instance.The date and time to restore from.The identifier of the source DB instance from which to restore.Specifies the storage type to be associated with the DB instance.getTags()
The name of the new database instance to be created.The ARN from the Key Store with which to associate the instance for TDE encryption.The password for the given ARN from the Key Store in order to access the device.Specifies whether (true
) or not (false
) the DB instance is restored from the latest backup time.int
hashCode()
Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false.Specifies if the DB instance is a Multi-AZ deployment.Specifies the accessibility options for the DB instance.Specifies whether (true
) or not (false
) the DB instance is restored from the latest backup time.void
setAutoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.void
setAvailabilityZone
(String availabilityZone) The EC2 Availability Zone that the database instance will be created in.void
setCopyTagsToSnapshot
(Boolean copyTagsToSnapshot) True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false.void
setDBInstanceClass
(String dBInstanceClass) The compute and memory capacity of the Amazon RDS DB instance.void
The database name for the restored DB instance.void
setDBSubnetGroupName
(String dBSubnetGroupName) The DB subnet group name to use for the new instance.void
Specify the Active Directory Domain to restore the instance in.void
setDomainIAMRoleName
(String domainIAMRoleName) Specify the name of the IAM role to be used when making API calls to the Directory Service.void
The database engine to use for the new instance.void
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.void
setLicenseModel
(String licenseModel) License model information for the restored DB instance.void
setMultiAZ
(Boolean multiAZ) Specifies if the DB instance is a Multi-AZ deployment.void
setOptionGroupName
(String optionGroupName) The name of the option group to be used for the restored DB instance.void
The port number on which the database accepts connections.void
setPubliclyAccessible
(Boolean publiclyAccessible) Specifies the accessibility options for the DB instance.void
setRestoreTime
(Date restoreTime) The date and time to restore from.void
setSourceDBInstanceIdentifier
(String sourceDBInstanceIdentifier) The identifier of the source DB instance from which to restore.void
setStorageType
(String storageType) Specifies the storage type to be associated with the DB instance.void
setTags
(Collection<Tag> tags) void
setTargetDBInstanceIdentifier
(String targetDBInstanceIdentifier) The name of the new database instance to be created.void
setTdeCredentialArn
(String tdeCredentialArn) The ARN from the Key Store with which to associate the instance for TDE encryption.void
setTdeCredentialPassword
(String tdeCredentialPassword) The password for the given ARN from the Key Store in order to access the device.void
setUseLatestRestorableTime
(Boolean useLatestRestorableTime) Specifies whether (true
) or not (false
) the DB instance is restored from the latest backup time.toString()
Returns a string representation of this object; useful for testing and debugging.withAutoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.withAvailabilityZone
(String availabilityZone) The EC2 Availability Zone that the database instance will be created in.withCopyTagsToSnapshot
(Boolean copyTagsToSnapshot) True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false.withDBInstanceClass
(String dBInstanceClass) The compute and memory capacity of the Amazon RDS DB instance.withDBName
(String dBName) The database name for the restored DB instance.withDBSubnetGroupName
(String dBSubnetGroupName) The DB subnet group name to use for the new instance.withDomain
(String domain) Specify the Active Directory Domain to restore the instance in.withDomainIAMRoleName
(String domainIAMRoleName) Specify the name of the IAM role to be used when making API calls to the Directory Service.withEngine
(String engine) The database engine to use for the new instance.The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.withLicenseModel
(String licenseModel) License model information for the restored DB instance.withMultiAZ
(Boolean multiAZ) Specifies if the DB instance is a Multi-AZ deployment.withOptionGroupName
(String optionGroupName) The name of the option group to be used for the restored DB instance.The port number on which the database accepts connections.withPubliclyAccessible
(Boolean publiclyAccessible) Specifies the accessibility options for the DB instance.withRestoreTime
(Date restoreTime) The date and time to restore from.withSourceDBInstanceIdentifier
(String sourceDBInstanceIdentifier) The identifier of the source DB instance from which to restore.withStorageType
(String storageType) Specifies the storage type to be associated with the DB instance.NOTE: This method appends the values to the existing list (if any).withTags
(Collection<Tag> tags) withTargetDBInstanceIdentifier
(String targetDBInstanceIdentifier) The name of the new database instance to be created.withTdeCredentialArn
(String tdeCredentialArn) The ARN from the Key Store with which to associate the instance for TDE encryption.withTdeCredentialPassword
(String tdeCredentialPassword) The password for the given ARN from the Key Store in order to access the device.withUseLatestRestorableTime
(Boolean useLatestRestorableTime) Specifies whether (true
) or not (false
) the DB instance is restored from the latest backup time.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
RestoreDBInstanceToPointInTimeRequest
public RestoreDBInstanceToPointInTimeRequest()Default constructor for RestoreDBInstanceToPointInTimeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
RestoreDBInstanceToPointInTimeRequest
public RestoreDBInstanceToPointInTimeRequest(String sourceDBInstanceIdentifier, String targetDBInstanceIdentifier) Constructs a new RestoreDBInstanceToPointInTimeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
sourceDBInstanceIdentifier
- The identifier of the source DB instance from which to restore.Constraints:
- Must be the identifier of an existing database instance
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
targetDBInstanceIdentifier
- The name of the new database instance to be created.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
-
Method Details
-
setSourceDBInstanceIdentifier
The identifier of the source DB instance from which to restore.
Constraints:
- Must be the identifier of an existing database instance
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
sourceDBInstanceIdentifier
- The identifier of the source DB instance from which to restore.Constraints:
- Must be the identifier of an existing database instance
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
getSourceDBInstanceIdentifier
The identifier of the source DB instance from which to restore.
Constraints:
- Must be the identifier of an existing database instance
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Returns:
- The identifier of the source DB instance from which to restore.
Constraints:
- Must be the identifier of an existing database instance
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
withSourceDBInstanceIdentifier
public RestoreDBInstanceToPointInTimeRequest withSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier) The identifier of the source DB instance from which to restore.
Constraints:
- Must be the identifier of an existing database instance
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
sourceDBInstanceIdentifier
- The identifier of the source DB instance from which to restore.Constraints:
- Must be the identifier of an existing database instance
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetDBInstanceIdentifier
The name of the new database instance to be created.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
targetDBInstanceIdentifier
- The name of the new database instance to be created.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
getTargetDBInstanceIdentifier
The name of the new database instance to be created.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Returns:
- The name of the new database instance to be created.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
withTargetDBInstanceIdentifier
public RestoreDBInstanceToPointInTimeRequest withTargetDBInstanceIdentifier(String targetDBInstanceIdentifier) The name of the new database instance to be created.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
targetDBInstanceIdentifier
- The name of the new database instance to be created.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRestoreTime
The date and time to restore from.
Valid Values: Value must be a time in Universal Coordinated Time (UTC) format
Constraints:
- Must be before the latest restorable time for the DB instance
- Cannot be specified if UseLatestRestorableTime parameter is true
Example:
2009-09-07T23:45:00Z
- Parameters:
restoreTime
- The date and time to restore from.Valid Values: Value must be a time in Universal Coordinated Time (UTC) format
Constraints:
- Must be before the latest restorable time for the DB instance
- Cannot be specified if UseLatestRestorableTime parameter is true
Example:
2009-09-07T23:45:00Z
-
getRestoreTime
The date and time to restore from.
Valid Values: Value must be a time in Universal Coordinated Time (UTC) format
Constraints:
- Must be before the latest restorable time for the DB instance
- Cannot be specified if UseLatestRestorableTime parameter is true
Example:
2009-09-07T23:45:00Z
- Returns:
- The date and time to restore from.
Valid Values: Value must be a time in Universal Coordinated Time (UTC) format
Constraints:
- Must be before the latest restorable time for the DB instance
- Cannot be specified if UseLatestRestorableTime parameter is true
Example:
2009-09-07T23:45:00Z
-
withRestoreTime
The date and time to restore from.
Valid Values: Value must be a time in Universal Coordinated Time (UTC) format
Constraints:
- Must be before the latest restorable time for the DB instance
- Cannot be specified if UseLatestRestorableTime parameter is true
Example:
2009-09-07T23:45:00Z
- Parameters:
restoreTime
- The date and time to restore from.Valid Values: Value must be a time in Universal Coordinated Time (UTC) format
Constraints:
- Must be before the latest restorable time for the DB instance
- Cannot be specified if UseLatestRestorableTime parameter is true
Example:
2009-09-07T23:45:00Z
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUseLatestRestorableTime
Specifies whether (
true
) or not (false
) the DB instance is restored from the latest backup time.Default:
false
Constraints: Cannot be specified if RestoreTime parameter is provided.
- Parameters:
useLatestRestorableTime
- Specifies whether (true
) or not (false
) the DB instance is restored from the latest backup time.Default:
false
Constraints: Cannot be specified if RestoreTime parameter is provided.
-
getUseLatestRestorableTime
Specifies whether (
true
) or not (false
) the DB instance is restored from the latest backup time.Default:
false
Constraints: Cannot be specified if RestoreTime parameter is provided.
- Returns:
- Specifies whether (
true
) or not (false
) the DB instance is restored from the latest backup time.Default:
false
Constraints: Cannot be specified if RestoreTime parameter is provided.
-
withUseLatestRestorableTime
public RestoreDBInstanceToPointInTimeRequest withUseLatestRestorableTime(Boolean useLatestRestorableTime) Specifies whether (
true
) or not (false
) the DB instance is restored from the latest backup time.Default:
false
Constraints: Cannot be specified if RestoreTime parameter is provided.
- Parameters:
useLatestRestorableTime
- Specifies whether (true
) or not (false
) the DB instance is restored from the latest backup time.Default:
false
Constraints: Cannot be specified if RestoreTime parameter is provided.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isUseLatestRestorableTime
Specifies whether (
true
) or not (false
) the DB instance is restored from the latest backup time.Default:
false
Constraints: Cannot be specified if RestoreTime parameter is provided.
- Returns:
- Specifies whether (
true
) or not (false
) the DB instance is restored from the latest backup time.Default:
false
Constraints: Cannot be specified if RestoreTime parameter is provided.
-
setDBInstanceClass
The compute and memory capacity of the Amazon RDS DB instance.
Valid Values:
db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large
Default: The same DBInstanceClass as the original DB instance.
- Parameters:
dBInstanceClass
- The compute and memory capacity of the Amazon RDS DB instance.Valid Values:
db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large
Default: The same DBInstanceClass as the original DB instance.
-
getDBInstanceClass
The compute and memory capacity of the Amazon RDS DB instance.
Valid Values:
db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large
Default: The same DBInstanceClass as the original DB instance.
- Returns:
- The compute and memory capacity of the Amazon RDS DB instance.
Valid Values:
db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large
Default: The same DBInstanceClass as the original DB instance.
-
withDBInstanceClass
The compute and memory capacity of the Amazon RDS DB instance.
Valid Values:
db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large
Default: The same DBInstanceClass as the original DB instance.
- Parameters:
dBInstanceClass
- The compute and memory capacity of the Amazon RDS DB instance.Valid Values:
db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large
Default: The same DBInstanceClass as the original DB instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPort
The port number on which the database accepts connections.
Constraints: Value must be
1150-65535
Default: The same port as the original DB instance.
- Parameters:
port
- The port number on which the database accepts connections.Constraints: Value must be
1150-65535
Default: The same port as the original DB instance.
-
getPort
The port number on which the database accepts connections.
Constraints: Value must be
1150-65535
Default: The same port as the original DB instance.
- Returns:
- The port number on which the database accepts connections.
Constraints: Value must be
1150-65535
Default: The same port as the original DB instance.
-
withPort
The port number on which the database accepts connections.
Constraints: Value must be
1150-65535
Default: The same port as the original DB instance.
- Parameters:
port
- The port number on which the database accepts connections.Constraints: Value must be
1150-65535
Default: The same port as the original DB instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAvailabilityZone
The EC2 Availability Zone that the database instance will be created in.
Default: A random, system-chosen Availability Zone.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.
Example:
us-east-1a
- Parameters:
availabilityZone
- The EC2 Availability Zone that the database instance will be created in.Default: A random, system-chosen Availability Zone.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.
Example:
us-east-1a
-
getAvailabilityZone
The EC2 Availability Zone that the database instance will be created in.
Default: A random, system-chosen Availability Zone.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.
Example:
us-east-1a
- Returns:
- The EC2 Availability Zone that the database instance will be
created in.
Default: A random, system-chosen Availability Zone.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.
Example:
us-east-1a
-
withAvailabilityZone
The EC2 Availability Zone that the database instance will be created in.
Default: A random, system-chosen Availability Zone.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.
Example:
us-east-1a
- Parameters:
availabilityZone
- The EC2 Availability Zone that the database instance will be created in.Default: A random, system-chosen Availability Zone.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.
Example:
us-east-1a
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBSubnetGroupName
The DB subnet group name to use for the new instance.
Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example:
mySubnetgroup
- Parameters:
dBSubnetGroupName
- The DB subnet group name to use for the new instance.Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example:
mySubnetgroup
-
getDBSubnetGroupName
The DB subnet group name to use for the new instance.
Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example:
mySubnetgroup
- Returns:
- The DB subnet group name to use for the new instance.
Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example:
mySubnetgroup
-
withDBSubnetGroupName
The DB subnet group name to use for the new instance.
Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example:
mySubnetgroup
- Parameters:
dBSubnetGroupName
- The DB subnet group name to use for the new instance.Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example:
mySubnetgroup
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMultiAZ
Specifies if the DB instance is a Multi-AZ deployment.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to
true
.- Parameters:
multiAZ
- Specifies if the DB instance is a Multi-AZ deployment.Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to
true
.
-
getMultiAZ
Specifies if the DB instance is a Multi-AZ deployment.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to
true
.- Returns:
- Specifies if the DB instance is a Multi-AZ deployment.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to
true
.
-
withMultiAZ
Specifies if the DB instance is a Multi-AZ deployment.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to
true
.- Parameters:
multiAZ
- Specifies if the DB instance is a Multi-AZ deployment.Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to
true
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isMultiAZ
Specifies if the DB instance is a Multi-AZ deployment.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to
true
.- Returns:
- Specifies if the DB instance is a Multi-AZ deployment.
Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to
true
.
-
setPubliclyAccessible
Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.
Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
- Default VPC:true
- VPC:false
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.
- Parameters:
publiclyAccessible
- Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
- Default VPC:true
- VPC:false
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.
-
getPubliclyAccessible
Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.
Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
- Default VPC:true
- VPC:false
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.
- Returns:
- Specifies the accessibility options for the DB instance. A value
of true specifies an Internet-facing instance with a publicly
resolvable DNS name, which resolves to a public IP address. A
value of false specifies an internal instance with a DNS name
that resolves to a private IP address.
Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
- Default VPC:true
- VPC:false
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.
-
withPubliclyAccessible
Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.
Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
- Default VPC:true
- VPC:false
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.
- Parameters:
publiclyAccessible
- Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
- Default VPC:true
- VPC:false
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPubliclyAccessible
Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.
Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
- Default VPC:true
- VPC:false
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.
- Returns:
- Specifies the accessibility options for the DB instance. A value
of true specifies an Internet-facing instance with a publicly
resolvable DNS name, which resolves to a public IP address. A
value of false specifies an internal instance with a DNS name
that resolves to a private IP address.
Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
- Default VPC:true
- VPC:false
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.
-
setAutoMinorVersionUpgrade
Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
- Parameters:
autoMinorVersionUpgrade
- Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
-
getAutoMinorVersionUpgrade
Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
- Returns:
- Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
-
withAutoMinorVersionUpgrade
public RestoreDBInstanceToPointInTimeRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
- Parameters:
autoMinorVersionUpgrade
- Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAutoMinorVersionUpgrade
Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
- Returns:
- Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.
-
setLicenseModel
License model information for the restored DB instance.
Default: Same as source.
Valid values:
license-included
|bring-your-own-license
|general-public-license
- Parameters:
licenseModel
- License model information for the restored DB instance.Default: Same as source.
Valid values:
license-included
|bring-your-own-license
|general-public-license
-
getLicenseModel
License model information for the restored DB instance.
Default: Same as source.
Valid values:
license-included
|bring-your-own-license
|general-public-license
- Returns:
- License model information for the restored DB instance.
Default: Same as source.
Valid values:
license-included
|bring-your-own-license
|general-public-license
-
withLicenseModel
License model information for the restored DB instance.
Default: Same as source.
Valid values:
license-included
|bring-your-own-license
|general-public-license
- Parameters:
licenseModel
- License model information for the restored DB instance.Default: Same as source.
Valid values:
license-included
|bring-your-own-license
|general-public-license
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBName
The database name for the restored DB instance.
This parameter is not used for the MySQL or MariaDB engines.
- Parameters:
dBName
- The database name for the restored DB instance.This parameter is not used for the MySQL or MariaDB engines.
-
getDBName
The database name for the restored DB instance.
This parameter is not used for the MySQL or MariaDB engines.
- Returns:
- The database name for the restored DB instance.
This parameter is not used for the MySQL or MariaDB engines.
-
withDBName
The database name for the restored DB instance.
This parameter is not used for the MySQL or MariaDB engines.
- Parameters:
dBName
- The database name for the restored DB instance.This parameter is not used for the MySQL or MariaDB engines.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngine
The database engine to use for the new instance.
Default: The same as source
Constraint: Must be compatible with the engine of the source
Valid Values:
MySQL
|mariadb
|oracle-se1
|oracle-se
|oracle-ee
|sqlserver-ee
|sqlserver-se
|sqlserver-ex
|sqlserver-web
|postgres
|aurora
- Parameters:
engine
- The database engine to use for the new instance.Default: The same as source
Constraint: Must be compatible with the engine of the source
Valid Values:
MySQL
|mariadb
|oracle-se1
|oracle-se
|oracle-ee
|sqlserver-ee
|sqlserver-se
|sqlserver-ex
|sqlserver-web
|postgres
|aurora
-
getEngine
The database engine to use for the new instance.
Default: The same as source
Constraint: Must be compatible with the engine of the source
Valid Values:
MySQL
|mariadb
|oracle-se1
|oracle-se
|oracle-ee
|sqlserver-ee
|sqlserver-se
|sqlserver-ex
|sqlserver-web
|postgres
|aurora
- Returns:
- The database engine to use for the new instance.
Default: The same as source
Constraint: Must be compatible with the engine of the source
Valid Values:
MySQL
|mariadb
|oracle-se1
|oracle-se
|oracle-ee
|sqlserver-ee
|sqlserver-se
|sqlserver-ex
|sqlserver-web
|postgres
|aurora
-
withEngine
The database engine to use for the new instance.
Default: The same as source
Constraint: Must be compatible with the engine of the source
Valid Values:
MySQL
|mariadb
|oracle-se1
|oracle-se
|oracle-ee
|sqlserver-ee
|sqlserver-se
|sqlserver-ex
|sqlserver-web
|postgres
|aurora
- Parameters:
engine
- The database engine to use for the new instance.Default: The same as source
Constraint: Must be compatible with the engine of the source
Valid Values:
MySQL
|mariadb
|oracle-se1
|oracle-se
|oracle-ee
|sqlserver-ee
|sqlserver-se
|sqlserver-ex
|sqlserver-web
|postgres
|aurora
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIops
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.
Constraints: Must be an integer greater than 1000.
SQL Server
Setting the IOPS value for the SQL Server database engine is not supported.
- Parameters:
iops
- The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.Constraints: Must be an integer greater than 1000.
SQL Server
Setting the IOPS value for the SQL Server database engine is not supported.
-
getIops
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.
Constraints: Must be an integer greater than 1000.
SQL Server
Setting the IOPS value for the SQL Server database engine is not supported.
- Returns:
- The amount of Provisioned IOPS (input/output operations per
second) to be initially allocated for the DB instance.
Constraints: Must be an integer greater than 1000.
SQL Server
Setting the IOPS value for the SQL Server database engine is not supported.
-
withIops
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.
Constraints: Must be an integer greater than 1000.
SQL Server
Setting the IOPS value for the SQL Server database engine is not supported.
- Parameters:
iops
- The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.Constraints: Must be an integer greater than 1000.
SQL Server
Setting the IOPS value for the SQL Server database engine is not supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOptionGroupName
The name of the option group to be used for the restored DB instance.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
- Parameters:
optionGroupName
- The name of the option group to be used for the restored DB instance.Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
-
getOptionGroupName
The name of the option group to be used for the restored DB instance.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
- Returns:
- The name of the option group to be used for the restored DB
instance.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
-
withOptionGroupName
The name of the option group to be used for the restored DB instance.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
- Parameters:
optionGroupName
- The name of the option group to be used for the restored DB instance.Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCopyTagsToSnapshot
True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
- Parameters:
copyTagsToSnapshot
- True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
-
getCopyTagsToSnapshot
True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
- Returns:
- True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
-
withCopyTagsToSnapshot
True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
- Parameters:
copyTagsToSnapshot
- True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCopyTagsToSnapshot
True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
- Returns:
- True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.
-
getTags
- Returns:
-
setTags
- Parameters:
tags
-
-
withTags
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
- Parameters:
tags
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStorageType
Specifies the storage type to be associated with the DB instance.
Valid values:
standard | gp2 | io1
If you specify
io1
, you must also include a value for theIops
parameter.Default:
io1
if theIops
parameter is specified; otherwisestandard
- Parameters:
storageType
- Specifies the storage type to be associated with the DB instance.Valid values:
standard | gp2 | io1
If you specify
io1
, you must also include a value for theIops
parameter.Default:
io1
if theIops
parameter is specified; otherwisestandard
-
getStorageType
Specifies the storage type to be associated with the DB instance.
Valid values:
standard | gp2 | io1
If you specify
io1
, you must also include a value for theIops
parameter.Default:
io1
if theIops
parameter is specified; otherwisestandard
- Returns:
- Specifies the storage type to be associated with the DB instance.
Valid values:
standard | gp2 | io1
If you specify
io1
, you must also include a value for theIops
parameter.Default:
io1
if theIops
parameter is specified; otherwisestandard
-
withStorageType
Specifies the storage type to be associated with the DB instance.
Valid values:
standard | gp2 | io1
If you specify
io1
, you must also include a value for theIops
parameter.Default:
io1
if theIops
parameter is specified; otherwisestandard
- Parameters:
storageType
- Specifies the storage type to be associated with the DB instance.Valid values:
standard | gp2 | io1
If you specify
io1
, you must also include a value for theIops
parameter.Default:
io1
if theIops
parameter is specified; otherwisestandard
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTdeCredentialArn
The ARN from the Key Store with which to associate the instance for TDE encryption.
- Parameters:
tdeCredentialArn
- The ARN from the Key Store with which to associate the instance for TDE encryption.
-
getTdeCredentialArn
The ARN from the Key Store with which to associate the instance for TDE encryption.
- Returns:
- The ARN from the Key Store with which to associate the instance for TDE encryption.
-
withTdeCredentialArn
The ARN from the Key Store with which to associate the instance for TDE encryption.
- Parameters:
tdeCredentialArn
- The ARN from the Key Store with which to associate the instance for TDE encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTdeCredentialPassword
The password for the given ARN from the Key Store in order to access the device.
- Parameters:
tdeCredentialPassword
- The password for the given ARN from the Key Store in order to access the device.
-
getTdeCredentialPassword
The password for the given ARN from the Key Store in order to access the device.
- Returns:
- The password for the given ARN from the Key Store in order to access the device.
-
withTdeCredentialPassword
public RestoreDBInstanceToPointInTimeRequest withTdeCredentialPassword(String tdeCredentialPassword) The password for the given ARN from the Key Store in order to access the device.
- Parameters:
tdeCredentialPassword
- The password for the given ARN from the Key Store in order to access the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDomain
Specify the Active Directory Domain to restore the instance in.
- Parameters:
domain
- Specify the Active Directory Domain to restore the instance in.
-
getDomain
Specify the Active Directory Domain to restore the instance in.
- Returns:
- Specify the Active Directory Domain to restore the instance in.
-
withDomain
Specify the Active Directory Domain to restore the instance in.
- Parameters:
domain
- Specify the Active Directory Domain to restore the instance in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDomainIAMRoleName
Specify the name of the IAM role to be used when making API calls to the Directory Service.
- Parameters:
domainIAMRoleName
- Specify the name of the IAM role to be used when making API calls to the Directory Service.
-
getDomainIAMRoleName
Specify the name of the IAM role to be used when making API calls to the Directory Service.
- Returns:
- Specify the name of the IAM role to be used when making API calls to the Directory Service.
-
withDomainIAMRoleName
Specify the name of the IAM role to be used when making API calls to the Directory Service.
- Parameters:
domainIAMRoleName
- Specify the name of the IAM role to be used when making API calls to the Directory Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-