|
||||||||||
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.CreateDBInstanceRequest
public class CreateDBInstanceRequest
Constructor Summary | |
---|---|
CreateDBInstanceRequest()
|
Method Summary | |
---|---|
Integer |
getAllocatedStorage()
The amount of storage (in gigabytes) to be initially allocated for the database instance. |
String |
getAvailabilityZone()
The EC2 Availability Zone that the database instance will be created in. |
Integer |
getBackupRetentionPeriod()
The number of days for which automated backups are retained. |
String |
getDBInstanceClass()
The compute and memory capacity of the DB Instance. |
String |
getDBInstanceIdentifier()
The DB Instance identifier. |
String |
getDBName()
The name of the database to create when the DB Instance is created. |
String |
getDBParameterGroupName()
The name of the database parameter group to associate with this DB instance. |
List<String> |
getDBSecurityGroups()
A list of DB Security Groups to associate with this DB Instance. |
String |
getEngine()
The name of the database engine to be used for this instance. |
String |
getMasterUsername()
The name of master user for the client DB Instance. |
String |
getMasterUserPassword()
The password for the master DB Instance user. |
Integer |
getPort()
The port number on which the database accepts connections. |
String |
getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. |
String |
getPreferredMaintenanceWindow()
The weekly time range (in UTC) during which system maintenance can occur. |
void |
setAllocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) to be initially allocated for the database instance. |
void |
setAvailabilityZone(String availabilityZone)
The EC2 Availability Zone that the database instance will be created in. |
void |
setBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained. |
void |
setDBInstanceClass(String dBInstanceClass)
The compute and memory capacity of the DB Instance. |
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The DB Instance identifier. |
void |
setDBName(String dBName)
The name of the database to create when the DB Instance is created. |
void |
setDBParameterGroupName(String dBParameterGroupName)
The name of the database parameter group to associate with this DB instance. |
void |
setDBSecurityGroups(Collection<String> dBSecurityGroups)
A list of DB Security Groups to associate with this DB Instance. |
void |
setEngine(String engine)
The name of the database engine to be used for this instance. |
void |
setMasterUsername(String masterUsername)
The name of master user for the client DB Instance. |
void |
setMasterUserPassword(String masterUserPassword)
The password for the master DB Instance user. |
void |
setPort(Integer port)
The port number on which the database accepts connections. |
void |
setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. |
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which system maintenance can occur. |
String |
toString()
|
CreateDBInstanceRequest |
withAllocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) to be initially allocated for the database instance. |
CreateDBInstanceRequest |
withAvailabilityZone(String availabilityZone)
The EC2 Availability Zone that the database instance will be created in. |
CreateDBInstanceRequest |
withBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained. |
CreateDBInstanceRequest |
withDBInstanceClass(String dBInstanceClass)
The compute and memory capacity of the DB Instance. |
CreateDBInstanceRequest |
withDBInstanceIdentifier(String dBInstanceIdentifier)
The DB Instance identifier. |
CreateDBInstanceRequest |
withDBName(String dBName)
The name of the database to create when the DB Instance is created. |
CreateDBInstanceRequest |
withDBParameterGroupName(String dBParameterGroupName)
The name of the database parameter group to associate with this DB instance. |
CreateDBInstanceRequest |
withDBSecurityGroups(Collection<String> dBSecurityGroups)
A list of DB Security Groups to associate with this DB Instance. |
CreateDBInstanceRequest |
withDBSecurityGroups(String... dBSecurityGroups)
A list of DB Security Groups to associate with this DB Instance. |
CreateDBInstanceRequest |
withEngine(String engine)
The name of the database engine to be used for this instance. |
CreateDBInstanceRequest |
withMasterUsername(String masterUsername)
The name of master user for the client DB Instance. |
CreateDBInstanceRequest |
withMasterUserPassword(String masterUserPassword)
The password for the master DB Instance user. |
CreateDBInstanceRequest |
withPort(Integer port)
The port number on which the database accepts connections. |
CreateDBInstanceRequest |
withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. |
CreateDBInstanceRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which system maintenance can occur. |
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 CreateDBInstanceRequest()
Method Detail |
---|
public String getDBName()
public void setDBName(String dBName)
dBName
- The name of the database to create when the DB Instance is created. If
this parameter is not specified, no database is created in the DB
Instance.public CreateDBInstanceRequest withDBName(String dBName)
Returns a reference to this object so that method calls can be chained together.
dBName
- The name of the database to create when the DB Instance is created. If
this parameter is not specified, no database is created in the DB
Instance.
public String getDBInstanceIdentifier()
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
dBInstanceIdentifier
- The DB Instance identifier. This parameter is stored as a lowercase
string.public CreateDBInstanceRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier
- The DB Instance identifier. This parameter is stored as a lowercase
string.
public Integer getAllocatedStorage()
public void setAllocatedStorage(Integer allocatedStorage)
allocatedStorage
- The amount of storage (in gigabytes) to be initially allocated for the
database instance.public CreateDBInstanceRequest withAllocatedStorage(Integer allocatedStorage)
Returns a reference to this object so that method calls can be chained together.
allocatedStorage
- The amount of storage (in gigabytes) to be initially allocated for the
database instance.
public String getDBInstanceClass()
public void setDBInstanceClass(String dBInstanceClass)
dBInstanceClass
- The compute and memory capacity of the DB Instance.public CreateDBInstanceRequest 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 DB Instance.
public String getEngine()
public void setEngine(String engine)
engine
- The name of the database engine to be used for this instance.public CreateDBInstanceRequest withEngine(String engine)
Returns a reference to this object so that method calls can be chained together.
engine
- The name of the database engine to be used for this instance.
public String getMasterUsername()
public void setMasterUsername(String masterUsername)
masterUsername
- The name of master user for the client DB Instance.public CreateDBInstanceRequest withMasterUsername(String masterUsername)
Returns a reference to this object so that method calls can be chained together.
masterUsername
- The name of master user for the client DB Instance.
public String getMasterUserPassword()
public void setMasterUserPassword(String masterUserPassword)
masterUserPassword
- The password for the master DB Instance user.public CreateDBInstanceRequest withMasterUserPassword(String masterUserPassword)
Returns a reference to this object so that method calls can be chained together.
masterUserPassword
- The password for the master DB Instance user.
public List<String> getDBSecurityGroups()
public void setDBSecurityGroups(Collection<String> dBSecurityGroups)
dBSecurityGroups
- A list of DB Security Groups to associate with this DB Instance.public CreateDBInstanceRequest withDBSecurityGroups(String... dBSecurityGroups)
Returns a reference to this object so that method calls can be chained together.
dBSecurityGroups
- A list of DB Security Groups to associate with this DB Instance.
public CreateDBInstanceRequest withDBSecurityGroups(Collection<String> dBSecurityGroups)
Returns a reference to this object so that method calls can be chained together.
dBSecurityGroups
- A list of DB Security Groups to associate with this DB Instance.
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The EC2 Availability Zone that the database instance will be created
in.public CreateDBInstanceRequest 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 String getPreferredMaintenanceWindow()
public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
preferredMaintenanceWindow
- The weekly time range (in UTC) during which system maintenance can
occur.public CreateDBInstanceRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Returns a reference to this object so that method calls can be chained together.
preferredMaintenanceWindow
- The weekly time range (in UTC) during which system maintenance can
occur.
public String getDBParameterGroupName()
public void setDBParameterGroupName(String dBParameterGroupName)
dBParameterGroupName
- The name of the database parameter group to associate with this DB
instance. If this argument is omitted, the default DBParameterGroup
for the specified engine will be used.public CreateDBInstanceRequest withDBParameterGroupName(String dBParameterGroupName)
Returns a reference to this object so that method calls can be chained together.
dBParameterGroupName
- The name of the database parameter group to associate with this DB
instance. If this argument is omitted, the default DBParameterGroup
for the specified engine will be used.
public Integer getBackupRetentionPeriod()
public void setBackupRetentionPeriod(Integer backupRetentionPeriod)
backupRetentionPeriod
- The number of days for which automated backups are retained. Setting
this parameter to a positive number enables backups. Setting this
parameter to 0 disables automated backups.public CreateDBInstanceRequest withBackupRetentionPeriod(Integer backupRetentionPeriod)
Returns a reference to this object so that method calls can be chained together.
backupRetentionPeriod
- The number of days for which automated backups are retained. Setting
this parameter to a positive number enables backups. Setting this
parameter to 0 disables automated backups.
public String getPreferredBackupWindow()
public void setPreferredBackupWindow(String preferredBackupWindow)
preferredBackupWindow
- The daily time range during which automated backups are created if
automated backups are enabled, as determined by the
BackupRetentionPeriod.public CreateDBInstanceRequest withPreferredBackupWindow(String preferredBackupWindow)
Returns a reference to this object so that method calls can be chained together.
preferredBackupWindow
- The daily time range during which automated backups are created if
automated backups are enabled, as determined by the
BackupRetentionPeriod.
public Integer getPort()
public void setPort(Integer port)
port
- The port number on which the database accepts connections.public CreateDBInstanceRequest 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 toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |