|
|||||||
| 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.
This API creates a new RDS instance from a point-in-time system snapshot. The target database is created from the source database restore point with the same configuration as the original source database, except that the new RDS instance is created with the default security group.
AmazonRDS.restoreDBInstanceToPointInTime(RestoreDBInstanceToPointInTimeRequest)| Constructor Summary | |
|---|---|
RestoreDBInstanceToPointInTimeRequest()
Default constructor for a new RestoreDBInstanceToPointInTimeRequest object. |
|
RestoreDBInstanceToPointInTimeRequest(String sourceDBInstanceIdentifier,
String targetDBInstanceIdentifier)
Constructs a new RestoreDBInstanceToPointInTimeRequest object. |
|
| Method Summary | |
|---|---|
Boolean |
getAutoMinorVersionUpgrade()
Returns the value of the AutoMinorVersionUpgrade property for this object. |
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. |
Boolean |
getMultiAZ()
Returns the value of the MultiAZ property for this object. |
Integer |
getPort()
The port number on which the database accepts connections. |
Date |
getRestoreTime()
The date and time from 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. |
Boolean |
isAutoMinorVersionUpgrade()
Returns the value of the AutoMinorVersionUpgrade property for this object. |
Boolean |
isMultiAZ()
Returns the value of the MultiAZ property for this object. |
Boolean |
isUseLatestRestorableTime()
Specifies whether (true) or not (false) the DB Instance is restored from the latest backup time. |
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Sets the value of the AutoMinorVersionUpgrade property for this object. |
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 |
setMultiAZ(Boolean multiAZ)
Sets the value of the MultiAZ property for this object. |
void |
setPort(Integer port)
The port number on which the database accepts connections. |
void |
setRestoreTime(Date restoreTime)
The date and time from 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)
Sets the value of the AutoMinorVersionUpgrade property for this object. |
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 |
withMultiAZ(Boolean multiAZ)
Sets the value of the MultiAZ property for this object. |
RestoreDBInstanceToPointInTimeRequest |
withPort(Integer port)
The port number on which the database accepts connections. |
RestoreDBInstanceToPointInTimeRequest |
withRestoreTime(Date restoreTime)
The date and time from 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RestoreDBInstanceToPointInTimeRequest()
public RestoreDBInstanceToPointInTimeRequest(String sourceDBInstanceIdentifier,
String targetDBInstanceIdentifier)
sourceDBInstanceIdentifier - The identifier of the source DB
Instance from which to restore.targetDBInstanceIdentifier - The name of the new database
instance to be created.| Method Detail |
|---|
public String getSourceDBInstanceIdentifier()
public void setSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier)
sourceDBInstanceIdentifier - The identifier of the source DB Instance from which to restore.public RestoreDBInstanceToPointInTimeRequest withSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier)
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.
public String getTargetDBInstanceIdentifier()
public void setTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
targetDBInstanceIdentifier - The name of the new database instance to be created.public RestoreDBInstanceToPointInTimeRequest withTargetDBInstanceIdentifier(String targetDBInstanceIdentifier)
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.
public Date getRestoreTime()
public void setRestoreTime(Date restoreTime)
restoreTime - The date and time from to restore from.public RestoreDBInstanceToPointInTimeRequest withRestoreTime(Date restoreTime)
Returns a reference to this object so that method calls can be chained together.
restoreTime - The date and time from to restore from.
public Boolean isUseLatestRestorableTime()
public void setUseLatestRestorableTime(Boolean useLatestRestorableTime)
useLatestRestorableTime - Specifies whether (true) or not (false) the DB Instance
is restored from the latest backup time.public RestoreDBInstanceToPointInTimeRequest withUseLatestRestorableTime(Boolean useLatestRestorableTime)
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.
public Boolean getUseLatestRestorableTime()
public String getDBInstanceClass()
public void setDBInstanceClass(String dBInstanceClass)
dBInstanceClass - The compute and memory capacity of the Amazon RDS DB instance.public RestoreDBInstanceToPointInTimeRequest withDBInstanceClass(String dBInstanceClass)
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.
public Integer getPort()
public void setPort(Integer port)
port - The port number on which the database accepts connections.public RestoreDBInstanceToPointInTimeRequest withPort(Integer port)
Returns a reference to this object so that method calls can be chained together.
port - The port number on which the database accepts connections.
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone - The EC2 Availability Zone that the database instance will be created
in.public RestoreDBInstanceToPointInTimeRequest withAvailabilityZone(String availabilityZone)
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.
public Boolean isMultiAZ()
public void setMultiAZ(Boolean multiAZ)
multiAZ - The new value for the MultiAZ property for this object.public RestoreDBInstanceToPointInTimeRequest withMultiAZ(Boolean multiAZ)
Returns a reference to this object so that method calls can be chained together.
multiAZ - The new value for the MultiAZ property for this object.
public Boolean getMultiAZ()
public Boolean isAutoMinorVersionUpgrade()
public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade - The new value for the AutoMinorVersionUpgrade property for this
object.public RestoreDBInstanceToPointInTimeRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Returns a reference to this object so that method calls can be chained together.
autoMinorVersionUpgrade - The new value for the AutoMinorVersionUpgrade property for this
object.
public Boolean getAutoMinorVersionUpgrade()
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||