Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class RestoreDBInstanceFromDBSnapshotRequest

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

public class RestoreDBInstanceFromDBSnapshotRequest
extends AmazonWebServiceRequest
implements Serializable

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.

See Also:
AmazonRDS.restoreDBInstanceFromDBSnapshot(RestoreDBInstanceFromDBSnapshotRequest), Serialized Form

Constructor Summary
RestoreDBInstanceFromDBSnapshotRequest()
          Default constructor for a new RestoreDBInstanceFromDBSnapshotRequest object.
RestoreDBInstanceFromDBSnapshotRequest(String dBInstanceIdentifier, String dBSnapshotIdentifier)
          Constructs a new RestoreDBInstanceFromDBSnapshotRequest 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 getDBInstanceIdentifier()
          The identifier for the DB Snapshot to restore from.
 String getDBName()
          The database name for the restored DB Instance.
 String getDBSnapshotIdentifier()
          Name of the DB Instance to create from the DB Snapshot.
 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()
          Specifies the amount of provisioned IOPS for the DB Instance, expressed in I/O operations per second.
 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.
 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.
 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 setDBInstanceIdentifier(String dBInstanceIdentifier)
          The identifier for the DB Snapshot to restore from.
 void setDBName(String dBName)
          The database name for the restored DB Instance.
 void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
          Name of the DB Instance to create from the DB Snapshot.
 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)
          Specifies the amount of provisioned IOPS for the DB Instance, expressed in I/O operations per second.
 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.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RestoreDBInstanceFromDBSnapshotRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
          Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.
 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 withDBName(String dBName)
          The database name for the restored DB Instance.
 RestoreDBInstanceFromDBSnapshotRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
          Name of the DB Instance to create from the DB Snapshot.
 RestoreDBInstanceFromDBSnapshotRequest withDBSubnetGroupName(String dBSubnetGroupName)
          The DB Subnet Group name to use for the new instance.
 RestoreDBInstanceFromDBSnapshotRequest withEngine(String engine)
          The database engine to use for the new instance.
 RestoreDBInstanceFromDBSnapshotRequest withIops(Integer iops)
          Specifies the amount of provisioned IOPS for the DB Instance, expressed in I/O operations per second.
 RestoreDBInstanceFromDBSnapshotRequest withLicenseModel(String licenseModel)
          License model information for the restored DB Instance.
 RestoreDBInstanceFromDBSnapshotRequest withMultiAZ(Boolean multiAZ)
          Specifies if the DB Instance is a Multi-AZ deployment.
 RestoreDBInstanceFromDBSnapshotRequest withOptionGroupName(String optionGroupName)
          The name of the option group to be used for the restored DB instance.
 RestoreDBInstanceFromDBSnapshotRequest withPort(Integer port)
          The port number on which the database accepts connections.
 RestoreDBInstanceFromDBSnapshotRequest withPubliclyAccessible(Boolean publiclyAccessible)
          Specifies the accessibility options for the DB Instance.
 
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

RestoreDBInstanceFromDBSnapshotRequest

public RestoreDBInstanceFromDBSnapshotRequest()
Default constructor for a new RestoreDBInstanceFromDBSnapshotRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


RestoreDBInstanceFromDBSnapshotRequest

public RestoreDBInstanceFromDBSnapshotRequest(String dBInstanceIdentifier,
                                              String dBSnapshotIdentifier)
Constructs a new RestoreDBInstanceFromDBSnapshotRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
dBInstanceIdentifier - The identifier for the DB Snapshot to restore from.

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
dBSnapshotIdentifier - Name of the DB Instance to create from the DB Snapshot. This parameter isn't case sensitive.

Constraints:

  • Must contain from 1 to 255 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id

Method Detail

getDBInstanceIdentifier

public String getDBInstanceIdentifier()
The identifier for the DB Snapshot to restore from.

Constraints:

Returns:
The identifier for the DB Snapshot to restore from.

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

setDBInstanceIdentifier

public void setDBInstanceIdentifier(String dBInstanceIdentifier)
The identifier for the DB Snapshot to restore from.

Constraints:

Parameters:
dBInstanceIdentifier - The identifier for the DB Snapshot to restore from.

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

withDBInstanceIdentifier

public RestoreDBInstanceFromDBSnapshotRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
The identifier for the DB Snapshot to restore from.

Constraints:

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

Parameters:
dBInstanceIdentifier - The identifier for the DB Snapshot to restore from.

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.

getDBSnapshotIdentifier

public String getDBSnapshotIdentifier()
Name of the DB Instance to create from the DB Snapshot. This parameter isn't case sensitive.

Constraints:

Example: my-snapshot-id

Returns:
Name of the DB Instance to create from the DB Snapshot. This parameter isn't case sensitive.

Constraints:

  • Must contain from 1 to 255 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id


setDBSnapshotIdentifier

public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
Name of the DB Instance to create from the DB Snapshot. This parameter isn't case sensitive.

Constraints:

Example: my-snapshot-id

Parameters:
dBSnapshotIdentifier - Name of the DB Instance to create from the DB Snapshot. This parameter isn't case sensitive.

Constraints:

  • Must contain from 1 to 255 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id


withDBSnapshotIdentifier

public RestoreDBInstanceFromDBSnapshotRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Name of the DB Instance to create from the DB Snapshot. This parameter isn't case sensitive.

Constraints:

Example: my-snapshot-id

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

Parameters:
dBSnapshotIdentifier - Name of the DB Instance to create from the DB Snapshot. This parameter isn't case sensitive.

Constraints:

  • Must contain from 1 to 255 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id

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

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

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


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

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


withDBInstanceClass

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

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

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.

Default: The same port as the original DB Instance

Constraints: Value must be 1150-65535

Returns:
The port number on which the database accepts connections.

Default: The same port as the original DB Instance

Constraints: Value must be 1150-65535


setPort

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

Parameters:
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


withPort

public RestoreDBInstanceFromDBSnapshotRequest withPort(Integer 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

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.

Default: The same port as the original DB Instance

Constraints: Value must be 1150-65535

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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 RestoreDBInstanceFromDBSnapshotRequest 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 doesn't apply to the MySQL engine.

Returns:
The database name for the restored DB Instance.

This parameter doesn't apply to the MySQL engine.


setDBName

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

This parameter doesn't apply to the MySQL engine.

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

This parameter doesn't apply to the MySQL engine.


withDBName

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

This parameter doesn't apply to 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 doesn't apply to 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 RestoreDBInstanceFromDBSnapshotRequest 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()
Specifies the amount of provisioned IOPS for the DB Instance, expressed in I/O operations per second. If this parameter is not specified, the IOPS value will be taken from the backup. If this parameter is set to 0, the new instance will be converted to a non-PIOPS instance, which will take additional time, though your DB instance will be available for connections before the conversion starts.

Constraints: Must be an integer greater than 1000.

Returns:
Specifies the amount of provisioned IOPS for the DB Instance, expressed in I/O operations per second. If this parameter is not specified, the IOPS value will be taken from the backup. If this parameter is set to 0, the new instance will be converted to a non-PIOPS instance, which will take additional time, though your DB instance will be available for connections before the conversion starts.

Constraints: Must be an integer greater than 1000.


setIops

public void setIops(Integer iops)
Specifies the amount of provisioned IOPS for the DB Instance, expressed in I/O operations per second. If this parameter is not specified, the IOPS value will be taken from the backup. If this parameter is set to 0, the new instance will be converted to a non-PIOPS instance, which will take additional time, though your DB instance will be available for connections before the conversion starts.

Constraints: Must be an integer greater than 1000.

Parameters:
iops - Specifies the amount of provisioned IOPS for the DB Instance, expressed in I/O operations per second. If this parameter is not specified, the IOPS value will be taken from the backup. If this parameter is set to 0, the new instance will be converted to a non-PIOPS instance, which will take additional time, though your DB instance will be available for connections before the conversion starts.

Constraints: Must be an integer greater than 1000.


withIops

public RestoreDBInstanceFromDBSnapshotRequest withIops(Integer iops)
Specifies the amount of provisioned IOPS for the DB Instance, expressed in I/O operations per second. If this parameter is not specified, the IOPS value will be taken from the backup. If this parameter is set to 0, the new instance will be converted to a non-PIOPS instance, which will take additional time, though your DB instance will be available for connections before the conversion starts.

Constraints: Must be an integer greater than 1000.

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

Parameters:
iops - Specifies the amount of provisioned IOPS for the DB Instance, expressed in I/O operations per second. If this parameter is not specified, the IOPS value will be taken from the backup. If this parameter is set to 0, the new instance will be converted to a non-PIOPS instance, which will take additional time, though your DB instance will be available for connections before the conversion starts.

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 RestoreDBInstanceFromDBSnapshotRequest 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.