|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.rds.model.DBInstance
public class DBInstance
Constructor Summary | |
---|---|
DBInstance()
|
Method Summary | |
---|---|
Integer |
getAllocatedStorage()
Specifies the allocated storage size specified in gigabytes. |
String |
getAvailabilityZone()
Specifies the name of the Availability Zone the DB Instance is located in. |
Integer |
getBackupRetentionPeriod()
Specifies the number of days for which automatic DB Snapshots are retained. |
String |
getDBInstanceClass()
Specifies the name of the compute and memory capacity class of the DB Instance. |
String |
getDBInstanceIdentifier()
Specifies a user-supplied database identifier. |
String |
getDBInstanceStatus()
Specifies the current state of this database. |
String |
getDBName()
Specifies the name of the initial database of this instance that was provided at create time, if one was specified when the DB Instance was created. |
List<DBParameterGroupStatus> |
getDBParameterGroups()
Provides the list of DB Parameter Groups applied to this DB Instance. |
List<DBSecurityGroupMembership> |
getDBSecurityGroups()
Provides List of DB Security Group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status sub-elements. |
Endpoint |
getEndpoint()
Specifies the endpoint type. |
String |
getEngine()
Provides the name of the database engine to be used for this DB Instance. |
Date |
getInstanceCreateTime()
Provides the date and time the DB Instance was created. |
Date |
getLatestRestorableTime()
Specifies the latest time to which a database can be restored with point-in-time restore. |
String |
getMasterUsername()
Contains the master username for the DB Instance. |
PendingModifiedValues |
getPendingModifiedValues()
Specifies that changes to the DB Instance are pending. |
String |
getPreferredBackupWindow()
Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. |
String |
getPreferredMaintenanceWindow()
Specifies the weekly time range (in UTC) during which system maintenance can occur. |
void |
setAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size specified in gigabytes. |
void |
setAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB Instance is located in. |
void |
setBackupRetentionPeriod(Integer backupRetentionPeriod)
Specifies the number of days for which automatic DB Snapshots are retained. |
void |
setDBInstanceClass(String dBInstanceClass)
Specifies the name of the compute and memory capacity class of the DB Instance. |
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies a user-supplied database identifier. |
void |
setDBInstanceStatus(String dBInstanceStatus)
Specifies the current state of this database. |
void |
setDBName(String dBName)
Specifies the name of the initial database of this instance that was provided at create time, if one was specified when the DB Instance was created. |
void |
setDBParameterGroups(Collection<DBParameterGroupStatus> dBParameterGroups)
Provides the list of DB Parameter Groups applied to this DB Instance. |
void |
setDBSecurityGroups(Collection<DBSecurityGroupMembership> dBSecurityGroups)
Provides List of DB Security Group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status sub-elements. |
void |
setEndpoint(Endpoint endpoint)
Specifies the endpoint type. |
void |
setEngine(String engine)
Provides the name of the database engine to be used for this DB Instance. |
void |
setInstanceCreateTime(Date instanceCreateTime)
Provides the date and time the DB Instance was created. |
void |
setLatestRestorableTime(Date latestRestorableTime)
Specifies the latest time to which a database can be restored with point-in-time restore. |
void |
setMasterUsername(String masterUsername)
Contains the master username for the DB Instance. |
void |
setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
Specifies that changes to the DB Instance are pending. |
void |
setPreferredBackupWindow(String preferredBackupWindow)
Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. |
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Specifies the weekly time range (in UTC) during which system maintenance can occur. |
String |
toString()
|
DBInstance |
withAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size specified in gigabytes. |
DBInstance |
withAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB Instance is located in. |
DBInstance |
withBackupRetentionPeriod(Integer backupRetentionPeriod)
Specifies the number of days for which automatic DB Snapshots are retained. |
DBInstance |
withDBInstanceClass(String dBInstanceClass)
Specifies the name of the compute and memory capacity class of the DB Instance. |
DBInstance |
withDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies a user-supplied database identifier. |
DBInstance |
withDBInstanceStatus(String dBInstanceStatus)
Specifies the current state of this database. |
DBInstance |
withDBName(String dBName)
Specifies the name of the initial database of this instance that was provided at create time, if one was specified when the DB Instance was created. |
DBInstance |
withDBParameterGroups(Collection<DBParameterGroupStatus> dBParameterGroups)
Provides the list of DB Parameter Groups applied to this DB Instance. |
DBInstance |
withDBParameterGroups(DBParameterGroupStatus... dBParameterGroups)
Provides the list of DB Parameter Groups applied to this DB Instance. |
DBInstance |
withDBSecurityGroups(Collection<DBSecurityGroupMembership> dBSecurityGroups)
Provides List of DB Security Group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status sub-elements. |
DBInstance |
withDBSecurityGroups(DBSecurityGroupMembership... dBSecurityGroups)
Provides List of DB Security Group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status sub-elements. |
DBInstance |
withEndpoint(Endpoint endpoint)
Specifies the endpoint type. |
DBInstance |
withEngine(String engine)
Provides the name of the database engine to be used for this DB Instance. |
DBInstance |
withInstanceCreateTime(Date instanceCreateTime)
Provides the date and time the DB Instance was created. |
DBInstance |
withLatestRestorableTime(Date latestRestorableTime)
Specifies the latest time to which a database can be restored with point-in-time restore. |
DBInstance |
withMasterUsername(String masterUsername)
Contains the master username for the DB Instance. |
DBInstance |
withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
Specifies that changes to the DB Instance are pending. |
DBInstance |
withPreferredBackupWindow(String preferredBackupWindow)
Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. |
DBInstance |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Specifies the weekly time range (in UTC) during which system maintenance can occur. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DBInstance()
Method Detail |
---|
public String getDBInstanceIdentifier()
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
dBInstanceIdentifier
- Specifies a user-supplied database identifier. This is the unique key
that identifies a DB Instance.public DBInstance withDBInstanceIdentifier(String dBInstanceIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier
- Specifies a user-supplied database identifier. This is the unique key
that identifies a DB Instance.
public String getDBInstanceClass()
public void setDBInstanceClass(String dBInstanceClass)
dBInstanceClass
- Specifies the name of the compute and memory capacity class of the DB
Instance.public DBInstance withDBInstanceClass(String dBInstanceClass)
Returns a reference to this object so that method calls can be chained together.
dBInstanceClass
- Specifies the name of the compute and memory capacity class of the DB
Instance.
public String getEngine()
public void setEngine(String engine)
engine
- Provides the name of the database engine to be used for this DB
Instance.public DBInstance withEngine(String engine)
Returns a reference to this object so that method calls can be chained together.
engine
- Provides the name of the database engine to be used for this DB
Instance.
public String getDBInstanceStatus()
public void setDBInstanceStatus(String dBInstanceStatus)
dBInstanceStatus
- Specifies the current state of this database.public DBInstance withDBInstanceStatus(String dBInstanceStatus)
Returns a reference to this object so that method calls can be chained together.
dBInstanceStatus
- Specifies the current state of this database.
public String getMasterUsername()
public void setMasterUsername(String masterUsername)
masterUsername
- Contains the master username for the DB Instance.public DBInstance withMasterUsername(String masterUsername)
Returns a reference to this object so that method calls can be chained together.
masterUsername
- Contains the master username for the DB Instance.
public String getDBName()
public void setDBName(String dBName)
dBName
- Specifies the name of the initial database of this instance that was
provided at create time, if one was specified when the DB Instance was
created. This same name is returned for the life of the DB Instance.public DBInstance withDBName(String dBName)
Returns a reference to this object so that method calls can be chained together.
dBName
- Specifies the name of the initial database of this instance that was
provided at create time, if one was specified when the DB Instance was
created. This same name is returned for the life of the DB Instance.
public Endpoint getEndpoint()
public void setEndpoint(Endpoint endpoint)
endpoint
- Specifies the endpoint type.public DBInstance withEndpoint(Endpoint endpoint)
Returns a reference to this object so that method calls can be chained together.
endpoint
- Specifies the endpoint type.
public Integer getAllocatedStorage()
public void setAllocatedStorage(Integer allocatedStorage)
allocatedStorage
- Specifies the allocated storage size specified in gigabytes.public DBInstance withAllocatedStorage(Integer allocatedStorage)
Returns a reference to this object so that method calls can be chained together.
allocatedStorage
- Specifies the allocated storage size specified in gigabytes.
public Date getInstanceCreateTime()
public void setInstanceCreateTime(Date instanceCreateTime)
instanceCreateTime
- Provides the date and time the DB Instance was created.public DBInstance withInstanceCreateTime(Date instanceCreateTime)
Returns a reference to this object so that method calls can be chained together.
instanceCreateTime
- Provides the date and time the DB Instance was created.
public String getPreferredBackupWindow()
public void setPreferredBackupWindow(String preferredBackupWindow)
preferredBackupWindow
- Specifies the daily time range during which automated backups are
created if automated backups are enabled, as determined by the
BackupRetentionPeriod.public DBInstance withPreferredBackupWindow(String preferredBackupWindow)
Returns a reference to this object so that method calls can be chained together.
preferredBackupWindow
- Specifies the daily time range during which automated backups are
created if automated backups are enabled, as determined by the
BackupRetentionPeriod.
public Integer getBackupRetentionPeriod()
public void setBackupRetentionPeriod(Integer backupRetentionPeriod)
backupRetentionPeriod
- Specifies the number of days for which automatic DB Snapshots are
retained.public DBInstance withBackupRetentionPeriod(Integer backupRetentionPeriod)
Returns a reference to this object so that method calls can be chained together.
backupRetentionPeriod
- Specifies the number of days for which automatic DB Snapshots are
retained.
public List<DBSecurityGroupMembership> getDBSecurityGroups()
public void setDBSecurityGroups(Collection<DBSecurityGroupMembership> dBSecurityGroups)
dBSecurityGroups
- Provides List of DB Security Group elements containing only
DBSecurityGroup.Name and DBSecurityGroup.Status
sub-elements.public DBInstance withDBSecurityGroups(DBSecurityGroupMembership... dBSecurityGroups)
Returns a reference to this object so that method calls can be chained together.
dBSecurityGroups
- Provides List of DB Security Group elements containing only
DBSecurityGroup.Name and DBSecurityGroup.Status
sub-elements.
public DBInstance withDBSecurityGroups(Collection<DBSecurityGroupMembership> dBSecurityGroups)
Returns a reference to this object so that method calls can be chained together.
dBSecurityGroups
- Provides List of DB Security Group elements containing only
DBSecurityGroup.Name and DBSecurityGroup.Status
sub-elements.
public List<DBParameterGroupStatus> getDBParameterGroups()
public void setDBParameterGroups(Collection<DBParameterGroupStatus> dBParameterGroups)
dBParameterGroups
- Provides the list of DB Parameter Groups applied to this DB Instance.public DBInstance withDBParameterGroups(DBParameterGroupStatus... dBParameterGroups)
Returns a reference to this object so that method calls can be chained together.
dBParameterGroups
- Provides the list of DB Parameter Groups applied to this DB Instance.
public DBInstance withDBParameterGroups(Collection<DBParameterGroupStatus> dBParameterGroups)
Returns a reference to this object so that method calls can be chained together.
dBParameterGroups
- Provides the list of DB Parameter Groups applied to this DB Instance.
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- Specifies the name of the Availability Zone the DB Instance is located
in.public DBInstance withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- Specifies the name of the Availability Zone the DB Instance is located
in.
public String getPreferredMaintenanceWindow()
public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
preferredMaintenanceWindow
- Specifies the weekly time range (in UTC) during which system
maintenance can occur.public DBInstance withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Returns a reference to this object so that method calls can be chained together.
preferredMaintenanceWindow
- Specifies the weekly time range (in UTC) during which system
maintenance can occur.
public PendingModifiedValues getPendingModifiedValues()
public void setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
pendingModifiedValues
- Specifies that changes to the DB Instance are pending. This element is
only included when changes are pending. Specific changes are
identified by sub-elements.public DBInstance withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
Returns a reference to this object so that method calls can be chained together.
pendingModifiedValues
- Specifies that changes to the DB Instance are pending. This element is
only included when changes are pending. Specific changes are
identified by sub-elements.
public Date getLatestRestorableTime()
public void setLatestRestorableTime(Date latestRestorableTime)
latestRestorableTime
- Specifies the latest time to which a database can be restored with
point-in-time restore.public DBInstance withLatestRestorableTime(Date latestRestorableTime)
Returns a reference to this object so that method calls can be chained together.
latestRestorableTime
- Specifies the latest time to which a database can be restored with
point-in-time restore.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |