|
|||||||
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.RestoreDBInstanceFromDBSnapshotRequest
public class RestoreDBInstanceFromDBSnapshotRequest
Container for the parameters to the RestoreDBInstanceFromDBSnapshot operation
.
This API creates a new 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.restoreDBInstanceFromDBSnapshot(RestoreDBInstanceFromDBSnapshotRequest)
Constructor Summary | |
---|---|
RestoreDBInstanceFromDBSnapshotRequest()
Default constructor for a new RestoreDBInstanceFromDBSnapshotRequest object. |
|
RestoreDBInstanceFromDBSnapshotRequest(String dBInstanceIdentifier,
String dBSnapshotIdentifier)
Constructs a new RestoreDBInstanceFromDBSnapshotRequest 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. |
String |
getDBInstanceIdentifier()
The identifier for the DB Snapshot to restore from. |
String |
getDBSnapshotIdentifier()
Name of the DB Instance to create from the DB Snapshot. |
Boolean |
getMultiAZ()
Returns the value of the MultiAZ property for this object. |
Integer |
getPort()
The port number on which the database accepts connections. |
Boolean |
isAutoMinorVersionUpgrade()
Returns the value of the AutoMinorVersionUpgrade property for this object. |
Boolean |
isMultiAZ()
Returns the value of the MultiAZ property for this object. |
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 |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The identifier for the DB Snapshot to restore from. |
void |
setDBSnapshotIdentifier(String dBSnapshotIdentifier)
Name of the DB Instance to create from the DB Snapshot. |
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. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RestoreDBInstanceFromDBSnapshotRequest |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Sets the value of the AutoMinorVersionUpgrade property for this object. |
RestoreDBInstanceFromDBSnapshotRequest |
withAvailabilityZone(String availabilityZone)
The EC2 Availability Zone that the database instance will be created in. |
RestoreDBInstanceFromDBSnapshotRequest |
withDBInstanceClass(String dBInstanceClass)
The compute and memory capacity of the Amazon RDS DB instance. |
RestoreDBInstanceFromDBSnapshotRequest |
withDBInstanceIdentifier(String dBInstanceIdentifier)
The identifier for the DB Snapshot to restore from. |
RestoreDBInstanceFromDBSnapshotRequest |
withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Name of the DB Instance to create from the DB Snapshot. |
RestoreDBInstanceFromDBSnapshotRequest |
withMultiAZ(Boolean multiAZ)
Sets the value of the MultiAZ property for this object. |
RestoreDBInstanceFromDBSnapshotRequest |
withPort(Integer port)
The port number on which the database accepts connections. |
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 RestoreDBInstanceFromDBSnapshotRequest()
public RestoreDBInstanceFromDBSnapshotRequest(String dBInstanceIdentifier, String dBSnapshotIdentifier)
dBInstanceIdentifier
- The identifier for the DB Snapshot to
restore from.dBSnapshotIdentifier
- Name of the DB Instance to create from the
DB Snapshot. This parameter isn't case sensitive.Method Detail |
---|
public String getDBInstanceIdentifier()
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
dBInstanceIdentifier
- The identifier for the DB Snapshot to restore from.public RestoreDBInstanceFromDBSnapshotRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier
- The identifier for the DB Snapshot to restore from.
public String getDBSnapshotIdentifier()
public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
dBSnapshotIdentifier
- Name of the DB Instance to create from the DB Snapshot. This parameter
isn't case sensitive.public RestoreDBInstanceFromDBSnapshotRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBSnapshotIdentifier
- Name of the DB Instance to create from the DB Snapshot. This parameter
isn't case sensitive.
public String getDBInstanceClass()
public void setDBInstanceClass(String dBInstanceClass)
dBInstanceClass
- The compute and memory capacity of the Amazon RDS DB instance.public RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |