|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.RestoreDBInstanceToPointInTimeRequest
public class RestoreDBInstanceToPointInTimeRequest
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.
AmazonRDS.restoreDBInstanceToPointInTime(RestoreDBInstanceToPointInTimeRequest)
Constructor Summary | |
---|---|
RestoreDBInstanceToPointInTimeRequest()
Default constructor for a new RestoreDBInstanceToPointInTimeRequest object. |
|
RestoreDBInstanceToPointInTimeRequest(java.lang.String sourceDBInstanceIdentifier,
java.lang.String targetDBInstanceIdentifier)
Constructs a new RestoreDBInstanceToPointInTimeRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Boolean |
getAutoMinorVersionUpgrade()
Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window. |
java.lang.String |
getAvailabilityZone()
The EC2 Availability Zone that the database instance will be created in. |
java.lang.String |
getDBInstanceClass()
The compute and memory capacity of the Amazon RDS DB instance. |
java.lang.String |
getDBName()
The database name for the restored DB Instance. |
java.lang.String |
getDBSubnetGroupName()
The DB subnet group name to use for the new instance. |
java.lang.String |
getEngine()
The database engine to use for the new instance. |
java.lang.Integer |
getIops()
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance. |
java.lang.String |
getLicenseModel()
License model information for the restored DB Instance. |
java.lang.Boolean |
getMultiAZ()
Specifies if the DB Instance is a Multi-AZ deployment. |
java.lang.String |
getOptionGroupName()
Returns the value of the OptionGroupName property for this object. |
java.lang.Integer |
getPort()
The port number on which the database accepts connections. |
java.lang.Boolean |
getPubliclyAccessible()
Returns the value of the PubliclyAccessible property for this object. |
java.util.Date |
getRestoreTime()
The date and time to restore from. |
java.lang.String |
getSourceDBInstanceIdentifier()
The identifier of the source DB Instance from which to restore. |
java.lang.String |
getTargetDBInstanceIdentifier()
The name of the new database instance to be created. |
java.lang.Boolean |
getUseLatestRestorableTime()
Specifies whether ( true ) or not (false ) the
DB Instance is restored from the latest backup time. |
int |
hashCode()
|
java.lang.Boolean |
isAutoMinorVersionUpgrade()
Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window. |
java.lang.Boolean |
isMultiAZ()
Specifies if the DB Instance is a Multi-AZ deployment. |
java.lang.Boolean |
isPubliclyAccessible()
Returns the value of the PubliclyAccessible property for this object. |
java.lang.Boolean |
isUseLatestRestorableTime()
Specifies whether ( true ) or not (false ) the
DB Instance is restored from the latest backup time. |
void |
setAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window. |
void |
setAvailabilityZone(java.lang.String availabilityZone)
The EC2 Availability Zone that the database instance will be created in. |
void |
setDBInstanceClass(java.lang.String dBInstanceClass)
The compute and memory capacity of the Amazon RDS DB instance. |
void |
setDBName(java.lang.String dBName)
The database name for the restored DB Instance. |
void |
setDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The DB subnet group name to use for the new instance. |
void |
setEngine(java.lang.String engine)
The database engine to use for the new instance. |
void |
setIops(java.lang.Integer iops)
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance. |
void |
setLicenseModel(java.lang.String licenseModel)
License model information for the restored DB Instance. |
void |
setMultiAZ(java.lang.Boolean multiAZ)
Specifies if the DB Instance is a Multi-AZ deployment. |
void |
setOptionGroupName(java.lang.String optionGroupName)
Sets the value of the OptionGroupName property for this object. |
void |
setPort(java.lang.Integer port)
The port number on which the database accepts connections. |
void |
setPubliclyAccessible(java.lang.Boolean publiclyAccessible)
Sets the value of the PubliclyAccessible property for this object. |
void |
setRestoreTime(java.util.Date restoreTime)
The date and time to restore from. |
void |
setSourceDBInstanceIdentifier(java.lang.String sourceDBInstanceIdentifier)
The identifier of the source DB Instance from which to restore. |
void |
setTargetDBInstanceIdentifier(java.lang.String targetDBInstanceIdentifier)
The name of the new database instance to be created. |
void |
setUseLatestRestorableTime(java.lang.Boolean useLatestRestorableTime)
Specifies whether ( true ) or not (false ) the
DB Instance is restored from the latest backup time. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RestoreDBInstanceToPointInTimeRequest |
withAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window. |
RestoreDBInstanceToPointInTimeRequest |
withAvailabilityZone(java.lang.String availabilityZone)
The EC2 Availability Zone that the database instance will be created in. |
RestoreDBInstanceToPointInTimeRequest |
withDBInstanceClass(java.lang.String dBInstanceClass)
The compute and memory capacity of the Amazon RDS DB instance. |
RestoreDBInstanceToPointInTimeRequest |
withDBName(java.lang.String dBName)
The database name for the restored DB Instance. |
RestoreDBInstanceToPointInTimeRequest |
withDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The DB subnet group name to use for the new instance. |
RestoreDBInstanceToPointInTimeRequest |
withEngine(java.lang.String engine)
The database engine to use for the new instance. |
RestoreDBInstanceToPointInTimeRequest |
withIops(java.lang.Integer iops)
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance. |
RestoreDBInstanceToPointInTimeRequest |
withLicenseModel(java.lang.String licenseModel)
License model information for the restored DB Instance. |
RestoreDBInstanceToPointInTimeRequest |
withMultiAZ(java.lang.Boolean multiAZ)
Specifies if the DB Instance is a Multi-AZ deployment. |
RestoreDBInstanceToPointInTimeRequest |
withOptionGroupName(java.lang.String optionGroupName)
Sets the value of the OptionGroupName property for this object. |
RestoreDBInstanceToPointInTimeRequest |
withPort(java.lang.Integer port)
The port number on which the database accepts connections. |
RestoreDBInstanceToPointInTimeRequest |
withPubliclyAccessible(java.lang.Boolean publiclyAccessible)
Sets the value of the PubliclyAccessible property for this object. |
RestoreDBInstanceToPointInTimeRequest |
withRestoreTime(java.util.Date restoreTime)
The date and time to restore from. |
RestoreDBInstanceToPointInTimeRequest |
withSourceDBInstanceIdentifier(java.lang.String sourceDBInstanceIdentifier)
The identifier of the source DB Instance from which to restore. |
RestoreDBInstanceToPointInTimeRequest |
withTargetDBInstanceIdentifier(java.lang.String targetDBInstanceIdentifier)
The name of the new database instance to be created. |
RestoreDBInstanceToPointInTimeRequest |
withUseLatestRestorableTime(java.lang.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 |
---|
public RestoreDBInstanceToPointInTimeRequest()
public RestoreDBInstanceToPointInTimeRequest(java.lang.String sourceDBInstanceIdentifier, java.lang.String targetDBInstanceIdentifier)
sourceDBInstanceIdentifier
- The identifier of the source DB
Instance from which to restore. Constraints:
targetDBInstanceIdentifier
- The name of the new database
instance to be created. Constraints:
Method Detail |
---|
public java.lang.String getSourceDBInstanceIdentifier()
Constraints:
Constraints:
public void setSourceDBInstanceIdentifier(java.lang.String sourceDBInstanceIdentifier)
Constraints:
sourceDBInstanceIdentifier
- The identifier of the source DB Instance from which to restore.
Constraints:
public RestoreDBInstanceToPointInTimeRequest withSourceDBInstanceIdentifier(java.lang.String sourceDBInstanceIdentifier)
Constraints:
Returns a reference to this object so that method calls can be chained together.
sourceDBInstanceIdentifier
- The identifier of the source DB Instance from which to restore.
Constraints:
public java.lang.String getTargetDBInstanceIdentifier()
Constraints:
Constraints:
public void setTargetDBInstanceIdentifier(java.lang.String targetDBInstanceIdentifier)
Constraints:
targetDBInstanceIdentifier
- The name of the new database instance to be created. Constraints:
public RestoreDBInstanceToPointInTimeRequest withTargetDBInstanceIdentifier(java.lang.String targetDBInstanceIdentifier)
Constraints:
Returns a reference to this object so that method calls can be chained together.
targetDBInstanceIdentifier
- The name of the new database instance to be created. Constraints:
public java.util.Date getRestoreTime()
Valid Values: Value must be a UTC time
Constraints:
Example:
2009-09-07T23:45:00Z
Valid Values: Value must be a UTC time
Constraints:
Example:
2009-09-07T23:45:00Z
public void setRestoreTime(java.util.Date restoreTime)
Valid Values: Value must be a UTC time
Constraints:
Example:
2009-09-07T23:45:00Z
restoreTime
- The date and time to restore from. Valid Values: Value must be a UTC time
Constraints:
Example:
2009-09-07T23:45:00Z
public RestoreDBInstanceToPointInTimeRequest withRestoreTime(java.util.Date restoreTime)
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.
restoreTime
- The date and time to restore from. Valid Values: Value must be a UTC time
Constraints:
Example:
2009-09-07T23:45:00Z
public java.lang.Boolean isUseLatestRestorableTime()
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.
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.
public void setUseLatestRestorableTime(java.lang.Boolean useLatestRestorableTime)
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.
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.
public RestoreDBInstanceToPointInTimeRequest withUseLatestRestorableTime(java.lang.Boolean useLatestRestorableTime)
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.
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.
public java.lang.Boolean getUseLatestRestorableTime()
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.
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.
public java.lang.String getDBInstanceClass()
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.
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.
public void setDBInstanceClass(java.lang.String dBInstanceClass)
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.
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.
public RestoreDBInstanceToPointInTimeRequest withDBInstanceClass(java.lang.String dBInstanceClass)
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.
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.
public java.lang.Integer getPort()
Constraints: Value must be 1150-65535
Default: The same port as the original DB Instance.
Constraints: Value must be 1150-65535
Default: The same port as the original DB Instance.
public void setPort(java.lang.Integer port)
Constraints: Value must be 1150-65535
Default: The same port as the original DB Instance.
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.
public RestoreDBInstanceToPointInTimeRequest withPort(java.lang.Integer port)
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.
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.
public java.lang.String getAvailabilityZone()
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
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
public void setAvailabilityZone(java.lang.String availabilityZone)
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
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
public RestoreDBInstanceToPointInTimeRequest withAvailabilityZone(java.lang.String availabilityZone)
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.
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
public java.lang.String getDBSubnetGroupName()
public void setDBSubnetGroupName(java.lang.String dBSubnetGroupName)
dBSubnetGroupName
- The DB subnet group name to use for the new instance.public RestoreDBInstanceToPointInTimeRequest withDBSubnetGroupName(java.lang.String dBSubnetGroupName)
Returns a reference to this object so that method calls can be chained together.
dBSubnetGroupName
- The DB subnet group name to use for the new instance.
public java.lang.Boolean isMultiAZ()
Constraint:
You cannot specify the AvailabilityZone parameter if the MultiAZ
parameter is set to true
.
Constraint:
You cannot specify the AvailabilityZone parameter if the MultiAZ
parameter is set to true
.
public void setMultiAZ(java.lang.Boolean multiAZ)
Constraint:
You cannot specify the AvailabilityZone parameter if the MultiAZ
parameter is set to true
.
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
.
public RestoreDBInstanceToPointInTimeRequest withMultiAZ(java.lang.Boolean multiAZ)
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.
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
.
public java.lang.Boolean getMultiAZ()
Constraint:
You cannot specify the AvailabilityZone parameter if the MultiAZ
parameter is set to true
.
Constraint:
You cannot specify the AvailabilityZone parameter if the MultiAZ
parameter is set to true
.
public java.lang.Boolean isPubliclyAccessible()
public void setPubliclyAccessible(java.lang.Boolean publiclyAccessible)
publiclyAccessible
- The new value for the PubliclyAccessible property for this object.public RestoreDBInstanceToPointInTimeRequest withPubliclyAccessible(java.lang.Boolean publiclyAccessible)
Returns a reference to this object so that method calls can be chained together.
publiclyAccessible
- The new value for the PubliclyAccessible property for this object.
public java.lang.Boolean getPubliclyAccessible()
public java.lang.Boolean isAutoMinorVersionUpgrade()
public void setAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- Indicates that minor version upgrades will be applied automatically to
the DB Instance during the maintenance window.public RestoreDBInstanceToPointInTimeRequest withAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Returns a reference to this object so that method calls can be chained together.
autoMinorVersionUpgrade
- Indicates that minor version upgrades will be applied automatically to
the DB Instance during the maintenance window.
public java.lang.Boolean getAutoMinorVersionUpgrade()
public java.lang.String getLicenseModel()
Default: Same as source.
Valid values: license-included
|
bring-your-own-license
|
general-public-license
Default: Same as source.
Valid values: license-included
|
bring-your-own-license
|
general-public-license
public void setLicenseModel(java.lang.String licenseModel)
Default: Same as source.
Valid values: license-included
|
bring-your-own-license
|
general-public-license
licenseModel
- License model information for the restored DB Instance. Default: Same as source.
Valid values: license-included
|
bring-your-own-license
|
general-public-license
public RestoreDBInstanceToPointInTimeRequest withLicenseModel(java.lang.String licenseModel)
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.
licenseModel
- License model information for the restored DB Instance. Default: Same as source.
Valid values: license-included
|
bring-your-own-license
|
general-public-license
public java.lang.String getDBName()
This parameter is not used for the MySQL engine.
This parameter is not used for the MySQL engine.
public void setDBName(java.lang.String dBName)
This parameter is not used for the MySQL engine.
dBName
- The database name for the restored DB Instance. This parameter is not used for the MySQL engine.
public RestoreDBInstanceToPointInTimeRequest withDBName(java.lang.String dBName)
This parameter is not used for the MySQL engine.
Returns a reference to this object so that method calls can be chained together.
dBName
- The database name for the restored DB Instance. This parameter is not used for the MySQL engine.
public java.lang.String getEngine()
Default: The same as source
Constraint: Must be compatible with the engine of the source
Example: oracle-ee
Default: The same as source
Constraint: Must be compatible with the engine of the source
Example: oracle-ee
public void setEngine(java.lang.String engine)
Default: The same as source
Constraint: Must be compatible with the engine of the source
Example: oracle-ee
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
public RestoreDBInstanceToPointInTimeRequest withEngine(java.lang.String engine)
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.
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
public java.lang.Integer getIops()
Constraints: Must be an integer greater than 1000.
Constraints: Must be an integer greater than 1000.
public void setIops(java.lang.Integer iops)
Constraints: Must be an integer greater than 1000.
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.
public RestoreDBInstanceToPointInTimeRequest withIops(java.lang.Integer iops)
Constraints: Must be an integer greater than 1000.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.String getOptionGroupName()
public void setOptionGroupName(java.lang.String optionGroupName)
optionGroupName
- The new value for the OptionGroupName property for this object.public RestoreDBInstanceToPointInTimeRequest withOptionGroupName(java.lang.String optionGroupName)
Returns a reference to this object so that method calls can be chained together.
optionGroupName
- The new value for the OptionGroupName property for this object.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |