|
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.RestoreDBInstanceFromDBSnapshotRequest
public class RestoreDBInstanceFromDBSnapshotRequest
Container for the parameters to the RestoreDBInstanceFromDBSnapshot operation.
Creates a new DB Instance from a DB 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.restoreDBInstanceFromDBSnapshot(RestoreDBInstanceFromDBSnapshotRequest),
Serialized Form| Constructor Summary | |
|---|---|
RestoreDBInstanceFromDBSnapshotRequest()
Default constructor for a new RestoreDBInstanceFromDBSnapshotRequest object. |
|
RestoreDBInstanceFromDBSnapshotRequest(java.lang.String dBInstanceIdentifier,
java.lang.String dBSnapshotIdentifier)
Constructs a new RestoreDBInstanceFromDBSnapshotRequest 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 |
getDBInstanceIdentifier()
The identifier for the DB Snapshot to restore from. |
java.lang.String |
getDBName()
The database name for the restored DB Instance. |
java.lang.String |
getDBSnapshotIdentifier()
Name of the DB Instance to create from the DB Snapshot. |
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. |
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. |
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 |
setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The identifier for the DB Snapshot to restore from. |
void |
setDBName(java.lang.String dBName)
The database name for the restored DB Instance. |
void |
setDBSnapshotIdentifier(java.lang.String dBSnapshotIdentifier)
Name of the DB Instance to create from the DB Snapshot. |
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. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RestoreDBInstanceFromDBSnapshotRequest |
withAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window. |
RestoreDBInstanceFromDBSnapshotRequest |
withAvailabilityZone(java.lang.String availabilityZone)
The EC2 Availability Zone that the database instance will be created in. |
RestoreDBInstanceFromDBSnapshotRequest |
withDBInstanceClass(java.lang.String dBInstanceClass)
The compute and memory capacity of the Amazon RDS DB instance. |
RestoreDBInstanceFromDBSnapshotRequest |
withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The identifier for the DB Snapshot to restore from. |
RestoreDBInstanceFromDBSnapshotRequest |
withDBName(java.lang.String dBName)
The database name for the restored DB Instance. |
RestoreDBInstanceFromDBSnapshotRequest |
withDBSnapshotIdentifier(java.lang.String dBSnapshotIdentifier)
Name of the DB Instance to create from the DB Snapshot. |
RestoreDBInstanceFromDBSnapshotRequest |
withDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The DB Subnet Group name to use for the new instance. |
RestoreDBInstanceFromDBSnapshotRequest |
withEngine(java.lang.String engine)
The database engine to use for the new instance. |
RestoreDBInstanceFromDBSnapshotRequest |
withIops(java.lang.Integer iops)
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance. |
RestoreDBInstanceFromDBSnapshotRequest |
withLicenseModel(java.lang.String licenseModel)
License model information for the restored DB Instance. |
RestoreDBInstanceFromDBSnapshotRequest |
withMultiAZ(java.lang.Boolean multiAZ)
Specifies if the DB Instance is a Multi-AZ deployment. |
RestoreDBInstanceFromDBSnapshotRequest |
withOptionGroupName(java.lang.String optionGroupName)
Sets the value of the OptionGroupName property for this object. |
RestoreDBInstanceFromDBSnapshotRequest |
withPort(java.lang.Integer port)
The port number on which the database accepts connections. |
RestoreDBInstanceFromDBSnapshotRequest |
withPubliclyAccessible(java.lang.Boolean publiclyAccessible)
Sets the value of the PubliclyAccessible property for this object. |
| 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 RestoreDBInstanceFromDBSnapshotRequest()
public RestoreDBInstanceFromDBSnapshotRequest(java.lang.String dBInstanceIdentifier,
java.lang.String dBSnapshotIdentifier)
dBInstanceIdentifier - The identifier for the DB Snapshot to
restore from. Constraints:
dBSnapshotIdentifier - Name of the DB Instance to create from the
DB Snapshot. This parameter isn't case sensitive. Constraints:
Example:
my-snapshot-id
| Method Detail |
|---|
public java.lang.String getDBInstanceIdentifier()
Constraints:
Constraints:
public void setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
Constraints:
dBInstanceIdentifier - The identifier for the DB Snapshot to restore from. Constraints:
public RestoreDBInstanceFromDBSnapshotRequest withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
Constraints:
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier - The identifier for the DB Snapshot to restore from. Constraints:
public java.lang.String getDBSnapshotIdentifier()
Constraints:
Example: my-snapshot-id
Constraints:
Example: my-snapshot-id
public void setDBSnapshotIdentifier(java.lang.String dBSnapshotIdentifier)
Constraints:
Example: my-snapshot-id
dBSnapshotIdentifier - Name of the DB Instance to create from the DB Snapshot. This parameter
isn't case sensitive. Constraints:
Example: my-snapshot-id
public RestoreDBInstanceFromDBSnapshotRequest withDBSnapshotIdentifier(java.lang.String dBSnapshotIdentifier)
Constraints:
Example: my-snapshot-id
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. Constraints:
Example: my-snapshot-id
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
Valid Values: db.t1.micro | db.m1.small | db.m1.medium |
db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge
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
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
public RestoreDBInstanceFromDBSnapshotRequest 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
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
public java.lang.Integer getPort()
Default: The same port as the original DB Instance
Constraints: Value must
be 1150-65535
Default: The same port as the original DB Instance
Constraints: Value must
be 1150-65535
public void setPort(java.lang.Integer port)
Default: The same port as the original DB Instance
Constraints: Value must
be 1150-65535
port - The port number on which the database accepts connections. Default: The same port as the original DB Instance
Constraints: Value must
be 1150-65535
public RestoreDBInstanceFromDBSnapshotRequest withPort(java.lang.Integer port)
Default: The same port as the original DB Instance
Constraints: Value must
be 1150-65535
Returns a reference to this object so that method calls can be chained together.
port - The port number on which the database accepts connections. Default: The same port as the original DB Instance
Constraints: Value must
be 1150-65535
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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 doesn't apply to the MySQL engine.
This parameter doesn't apply to the MySQL engine.
public void setDBName(java.lang.String dBName)
This parameter doesn't apply to the MySQL engine.
dBName - The database name for the restored DB Instance. This parameter doesn't apply to the MySQL engine.
public RestoreDBInstanceFromDBSnapshotRequest withDBName(java.lang.String dBName)
This parameter doesn't apply to 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 doesn't apply to 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||