Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class RestoreDBInstanceToPointInTimeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.RestoreDBInstanceToPointInTimeRequest
All Implemented Interfaces:
Serializable

public class RestoreDBInstanceToPointInTimeRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the RestoreDBInstanceToPointInTime operation.

Restores a DB Instance to an arbitrary point-in-time. Users can restore to any point in time before the latestRestorableTime for up to backupRetentionPeriod days. The target database is created from the source database with the same configuration as the original database except that the DB instance is created with the default DB security group.

See Also:
AmazonRDS.restoreDBInstanceToPointInTime(RestoreDBInstanceToPointInTimeRequest), Serialized Form

Constructor Summary
RestoreDBInstanceToPointInTimeRequest()
          Default constructor for a new RestoreDBInstanceToPointInTimeRequest object.
RestoreDBInstanceToPointInTimeRequest(String sourceDBInstanceIdentifier, String targetDBInstanceIdentifier)
          Constructs a new RestoreDBInstanceToPointInTimeRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getAutoMinorVersionUpgrade()
          Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.
 String getAvailabilityZone()
          The EC2 Availability Zone that the database instance will be created in.
 String getDBInstanceClass()
          The compute and memory capacity of the Amazon RDS DB instance.
 String getDBName()
          The database name for the restored DB Instance.
 String getDBSubnetGroupName()
          The DB subnet group name to use for the new instance.
 String getEngine()
          The database engine to use for the new instance.
 Integer getIops()
          The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance.
 String getLicenseModel()
          License model information for the restored DB Instance.
 Boolean getMultiAZ()
          Specifies if the DB Instance is a Multi-AZ deployment.
 String getOptionGroupName()
          The name of the option group to be used for the restored DB instance.
 Integer getPort()
          The port number on which the database accepts connections.
 Boolean getPubliclyAccessible()
          Specifies the accessibility options for the DB Instance.
 Date getRestoreTime()
          The date and time to restore from.
 String getSourceDBInstanceIdentifier()
          The identifier of the source DB Instance from which to restore.
 String getTargetDBInstanceIdentifier()
          The name of the new database instance to be created.
 Boolean getUseLatestRestorableTime()
          Specifies whether (true) or not (false) the DB Instance is restored from the latest backup time.
 int hashCode()
           
 Boolean isAutoMinorVersionUpgrade()
          Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.
 Boolean isMultiAZ()
          Specifies if the DB Instance is a Multi-AZ deployment.
 Boolean isPubliclyAccessible()
          Specifies the accessibility options for the DB Instance.
 Boolean isUseLatestRestorableTime()
          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 setDBInstanceClass(String dBInstanceClass)
          The compute and memory capacity of the Amazon RDS DB instance.
 void setDBName(String dBName)
          The database name for the restored DB Instance.
 void setDBSubnetGroupName(String dBSubnetGroupName)
          The DB subnet group name to use for the new instance.
 void setEngine(String engine)
          The database engine to use for the new instance.
 void setIops(Integer iops)
          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 setPort(Integer port)
          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 setTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
          The name of the new database instance to be created.
 void setUseLatestRestorableTime(Boolean useLatestRestorableTime)
          Specifies whether (true) or not (false) the DB Instance is restored from the latest backup time.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RestoreDBInstanceToPointInTimeRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
          Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.
 RestoreDBInstanceToPointInTimeRequest withAvailabilityZone(String availabilityZone)
          The EC2 Availability Zone that the database instance will be created in.
 RestoreDBInstanceToPointInTimeRequest withDBInstanceClass(String dBInstanceClass)
          The compute and memory capacity of the Amazon RDS DB instance.
 RestoreDBInstanceToPointInTimeRequest withDBName(String dBName)
          The database name for the restored DB Instance.
 RestoreDBInstanceToPointInTimeRequest withDBSubnetGroupName(String dBSubnetGroupName)
          The DB subnet group name to use for the new instance.
 RestoreDBInstanceToPointInTimeRequest withEngine(String engine)
          The database engine to use for the new instance.
 RestoreDBInstanceToPointInTimeRequest withIops(Integer iops)
          The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance.
 RestoreDBInstanceToPointInTimeRequest withLicenseModel(String licenseModel)
          License model information for the restored DB Instance.
 RestoreDBInstanceToPointInTimeRequest withMultiAZ(Boolean multiAZ)
          Specifies if the DB Instance is a Multi-AZ deployment.
 RestoreDBInstanceToPointInTimeRequest withOptionGroupName(String optionGroupName)
          The name of the option group to be used for the restored DB instance.
 RestoreDBInstanceToPointInTimeRequest withPort(Integer port)
          The port number on which the database accepts connections.
 RestoreDBInstanceToPointInTimeRequest withPubliclyAccessible(Boolean publiclyAccessible)
          Specifies the accessibility options for the DB Instance.
 RestoreDBInstanceToPointInTimeRequest withRestoreTime(Date restoreTime)
          The date and time to restore from.
 RestoreDBInstanceToPointInTimeRequest withSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier)
          The identifier of the source DB Instance from which to restore.
 RestoreDBInstanceToPointInTimeRequest withTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
          The name of the new database instance to be created.
 RestoreDBInstanceToPointInTimeRequest 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
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestoreDBInstanceToPointInTimeRequest

public RestoreDBInstanceToPointInTimeRequest()
Default constructor for a new RestoreDBInstanceToPointInTimeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this 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 Detail

getSourceDBInstanceIdentifier

public String getSourceDBInstanceIdentifier()
The identifier of the source DB Instance from which to restore.

Constraints:

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

setSourceDBInstanceIdentifier

public void setSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier)
The identifier of the source DB Instance from which to restore.

Constraints:

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

withSourceDBInstanceIdentifier

public RestoreDBInstanceToPointInTimeRequest withSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier)
The identifier of the source DB Instance from which to restore.

Constraints:

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getTargetDBInstanceIdentifier

public String getTargetDBInstanceIdentifier()
The name of the new database instance to be created.

Constraints:

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

setTargetDBInstanceIdentifier

public void setTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
The name of the new database instance to be created.

Constraints:

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

withTargetDBInstanceIdentifier

public RestoreDBInstanceToPointInTimeRequest withTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
The name of the new database instance to be created.

Constraints:

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getRestoreTime

public Date getRestoreTime()
The date and time to restore from.

Valid Values: Value must be a UTC time

Constraints:

Example: 2009-09-07T23:45:00Z

Returns:
The date and time to restore from.

Valid Values: Value must be a UTC time

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


setRestoreTime

public void setRestoreTime(Date restoreTime)
The date and time to restore from.

Valid Values: Value must be a UTC time

Constraints:

Example: 2009-09-07T23:45:00Z

Parameters:
restoreTime - The date and time to restore from.

Valid Values: Value must be a UTC time

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

public RestoreDBInstanceToPointInTimeRequest withRestoreTime(Date restoreTime)
The date and time to restore from.

Valid Values: Value must be a UTC time

Constraints:

Example: 2009-09-07T23:45:00Z

Returns a reference to this object so that method calls can be chained together.

Parameters:
restoreTime - The date and time to restore from.

Valid Values: Value must be a UTC time

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:
A reference to this updated object so that method calls can be chained together.

isUseLatestRestorableTime

public Boolean 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.


setUseLatestRestorableTime

public void setUseLatestRestorableTime(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.


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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getUseLatestRestorableTime

public Boolean 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.


getDBInstanceClass

public String 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

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

Default: The same DBInstanceClass as the original DB Instance.


setDBInstanceClass

public void setDBInstanceClass(String 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

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

Default: The same DBInstanceClass as the original DB Instance.


withDBInstanceClass

public RestoreDBInstanceToPointInTimeRequest withDBInstanceClass(String 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

Default: The same DBInstanceClass as the original DB Instance.

Returns a reference to this object so that method calls can be chained together.

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

Default: The same DBInstanceClass as the original DB Instance.

Returns:
A reference to this updated object so that method calls can be chained together.

getPort

public Integer 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.


setPort

public void setPort(Integer 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.

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.


withPort

public RestoreDBInstanceToPointInTimeRequest withPort(Integer 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public String 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


setAvailabilityZone

public void setAvailabilityZone(String 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

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


withAvailabilityZone

public RestoreDBInstanceToPointInTimeRequest withAvailabilityZone(String 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getDBSubnetGroupName

public String getDBSubnetGroupName()
The DB subnet group name to use for the new instance.

Returns:
The DB subnet group name to use for the new instance.

setDBSubnetGroupName

public void setDBSubnetGroupName(String dBSubnetGroupName)
The DB subnet group name to use for the new instance.

Parameters:
dBSubnetGroupName - The DB subnet group name to use for the new instance.

withDBSubnetGroupName

public RestoreDBInstanceToPointInTimeRequest withDBSubnetGroupName(String dBSubnetGroupName)
The DB subnet group name to use for the new instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBSubnetGroupName - The DB subnet group name to use for the new instance.
Returns:
A reference to this updated object so that method calls can be chained together.

isMultiAZ

public Boolean 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.


setMultiAZ

public void setMultiAZ(Boolean 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.

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.


withMultiAZ

public RestoreDBInstanceToPointInTimeRequest withMultiAZ(Boolean 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getMultiAZ

public Boolean 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.


isPubliclyAccessible

public Boolean 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.

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.


setPubliclyAccessible

public void setPubliclyAccessible(Boolean 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.

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.


withPubliclyAccessible

public RestoreDBInstanceToPointInTimeRequest withPubliclyAccessible(Boolean 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.

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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getPubliclyAccessible

public Boolean 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.

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.


isAutoMinorVersionUpgrade

public Boolean 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.

setAutoMinorVersionUpgrade

public void setAutoMinorVersionUpgrade(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.

withAutoMinorVersionUpgrade

public RestoreDBInstanceToPointInTimeRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.

Returns a reference to this object so that method calls can be chained together.

Parameters:
autoMinorVersionUpgrade - Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoMinorVersionUpgrade

public Boolean 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.

getLicenseModel

public String 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


setLicenseModel

public void setLicenseModel(String licenseModel)
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


withLicenseModel

public RestoreDBInstanceToPointInTimeRequest withLicenseModel(String 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getDBName

public String getDBName()
The database name for the restored DB Instance.

This parameter is not used for the MySQL engine.

Returns:
The database name for the restored DB Instance.

This parameter is not used for the MySQL engine.


setDBName

public void setDBName(String dBName)
The database name for the restored DB Instance.

This parameter is not used for the MySQL engine.

Parameters:
dBName - The database name for the restored DB Instance.

This parameter is not used for the MySQL engine.


withDBName

public RestoreDBInstanceToPointInTimeRequest withDBName(String dBName)
The database name for the restored DB Instance.

This parameter is not used for the MySQL engine.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBName - The database name for the restored DB Instance.

This parameter is not used for the MySQL engine.

Returns:
A reference to this updated object so that method calls can be chained together.

getEngine

public String 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

Example: oracle-ee

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

Example: oracle-ee


setEngine

public void setEngine(String 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

Example: oracle-ee

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

Example: oracle-ee


withEngine

public RestoreDBInstanceToPointInTimeRequest withEngine(String 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

Example: oracle-ee

Returns a reference to this object so that method calls can be chained together.

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

Example: oracle-ee

Returns:
A reference to this updated object so that method calls can be chained together.

getIops

public Integer 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.

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.


setIops

public void setIops(Integer 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.

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.


withIops

public RestoreDBInstanceToPointInTimeRequest withIops(Integer 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.

Returns a reference to this object so that method calls can be chained together.

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.

Returns:
A reference to this updated object so that method calls can be chained together.

getOptionGroupName

public String getOptionGroupName()
The name of the option group to be used for the restored DB instance.

Returns:
The name of the option group to be used for the restored DB instance.

setOptionGroupName

public void setOptionGroupName(String optionGroupName)
The name of the option group to be used for the restored DB instance.

Parameters:
optionGroupName - The name of the option group to be used for the restored DB instance.

withOptionGroupName

public RestoreDBInstanceToPointInTimeRequest withOptionGroupName(String optionGroupName)
The name of the option group to be used for the restored DB instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionGroupName - The name of the option group to be used for the restored DB instance.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.