public class RdsDbInstance extends Object implements Serializable, Cloneable
Describes an Amazon RDS instance.
Constructor and Description |
---|
RdsDbInstance() |
Modifier and Type | Method and Description |
---|---|
RdsDbInstance |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
The instance's address.
|
String |
getDbInstanceIdentifier()
The DB instance identifier.
|
String |
getDbPassword()
AWS OpsWorks returns
*****FILTERED***** instead of the actual value. |
String |
getDbUser()
The master user name.
|
String |
getEngine()
The instance's database engine.
|
Boolean |
getMissingOnRds()
Set to
true if AWS OpsWorks was unable to discover the Amazon RDS instance. |
String |
getRdsDbInstanceArn()
The instance's ARN.
|
String |
getRegion()
The instance's AWS region.
|
String |
getStackId()
The ID of the stack that the instance is registered with.
|
int |
hashCode() |
Boolean |
isMissingOnRds()
Set to
true if AWS OpsWorks was unable to discover the Amazon RDS instance. |
void |
setAddress(String address)
The instance's address.
|
void |
setDbInstanceIdentifier(String dbInstanceIdentifier)
The DB instance identifier.
|
void |
setDbPassword(String dbPassword)
AWS OpsWorks returns
*****FILTERED***** instead of the actual value. |
void |
setDbUser(String dbUser)
The master user name.
|
void |
setEngine(String engine)
The instance's database engine.
|
void |
setMissingOnRds(Boolean missingOnRds)
Set to
true if AWS OpsWorks was unable to discover the Amazon RDS instance. |
void |
setRdsDbInstanceArn(String rdsDbInstanceArn)
The instance's ARN.
|
void |
setRegion(String region)
The instance's AWS region.
|
void |
setStackId(String stackId)
The ID of the stack that the instance is registered with.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RdsDbInstance |
withAddress(String address)
The instance's address.
|
RdsDbInstance |
withDbInstanceIdentifier(String dbInstanceIdentifier)
The DB instance identifier.
|
RdsDbInstance |
withDbPassword(String dbPassword)
AWS OpsWorks returns
*****FILTERED***** instead of the actual value. |
RdsDbInstance |
withDbUser(String dbUser)
The master user name.
|
RdsDbInstance |
withEngine(String engine)
The instance's database engine.
|
RdsDbInstance |
withMissingOnRds(Boolean missingOnRds)
Set to
true if AWS OpsWorks was unable to discover the Amazon RDS instance. |
RdsDbInstance |
withRdsDbInstanceArn(String rdsDbInstanceArn)
The instance's ARN.
|
RdsDbInstance |
withRegion(String region)
The instance's AWS region.
|
RdsDbInstance |
withStackId(String stackId)
The ID of the stack that the instance is registered with.
|
public void setRdsDbInstanceArn(String rdsDbInstanceArn)
The instance's ARN.
rdsDbInstanceArn
- The instance's ARN.public String getRdsDbInstanceArn()
The instance's ARN.
public RdsDbInstance withRdsDbInstanceArn(String rdsDbInstanceArn)
The instance's ARN.
rdsDbInstanceArn
- The instance's ARN.public void setDbInstanceIdentifier(String dbInstanceIdentifier)
The DB instance identifier.
dbInstanceIdentifier
- The DB instance identifier.public String getDbInstanceIdentifier()
The DB instance identifier.
public RdsDbInstance withDbInstanceIdentifier(String dbInstanceIdentifier)
The DB instance identifier.
dbInstanceIdentifier
- The DB instance identifier.public void setDbUser(String dbUser)
The master user name.
dbUser
- The master user name.public String getDbUser()
The master user name.
public RdsDbInstance withDbUser(String dbUser)
The master user name.
dbUser
- The master user name.public void setDbPassword(String dbPassword)
AWS OpsWorks returns *****FILTERED*****
instead of the actual value.
dbPassword
- AWS OpsWorks returns *****FILTERED*****
instead of the actual value.public String getDbPassword()
AWS OpsWorks returns *****FILTERED*****
instead of the actual value.
*****FILTERED*****
instead of the actual value.public RdsDbInstance withDbPassword(String dbPassword)
AWS OpsWorks returns *****FILTERED*****
instead of the actual value.
dbPassword
- AWS OpsWorks returns *****FILTERED*****
instead of the actual value.public void setRegion(String region)
The instance's AWS region.
region
- The instance's AWS region.public String getRegion()
The instance's AWS region.
public RdsDbInstance withRegion(String region)
The instance's AWS region.
region
- The instance's AWS region.public void setAddress(String address)
The instance's address.
address
- The instance's address.public String getAddress()
The instance's address.
public RdsDbInstance withAddress(String address)
The instance's address.
address
- The instance's address.public void setEngine(String engine)
The instance's database engine.
engine
- The instance's database engine.public String getEngine()
The instance's database engine.
public RdsDbInstance withEngine(String engine)
The instance's database engine.
engine
- The instance's database engine.public void setStackId(String stackId)
The ID of the stack that the instance is registered with.
stackId
- The ID of the stack that the instance is registered with.public String getStackId()
The ID of the stack that the instance is registered with.
public RdsDbInstance withStackId(String stackId)
The ID of the stack that the instance is registered with.
stackId
- The ID of the stack that the instance is registered with.public void setMissingOnRds(Boolean missingOnRds)
Set to true
if AWS OpsWorks was unable to discover the Amazon RDS instance. AWS OpsWorks attempts to
discover the instance only once. If this value is set to true
, you must deregister the instance and
then register it again.
missingOnRds
- Set to true
if AWS OpsWorks was unable to discover the Amazon RDS instance. AWS OpsWorks
attempts to discover the instance only once. If this value is set to true
, you must
deregister the instance and then register it again.public Boolean getMissingOnRds()
Set to true
if AWS OpsWorks was unable to discover the Amazon RDS instance. AWS OpsWorks attempts to
discover the instance only once. If this value is set to true
, you must deregister the instance and
then register it again.
true
if AWS OpsWorks was unable to discover the Amazon RDS instance. AWS OpsWorks
attempts to discover the instance only once. If this value is set to true
, you must
deregister the instance and then register it again.public RdsDbInstance withMissingOnRds(Boolean missingOnRds)
Set to true
if AWS OpsWorks was unable to discover the Amazon RDS instance. AWS OpsWorks attempts to
discover the instance only once. If this value is set to true
, you must deregister the instance and
then register it again.
missingOnRds
- Set to true
if AWS OpsWorks was unable to discover the Amazon RDS instance. AWS OpsWorks
attempts to discover the instance only once. If this value is set to true
, you must
deregister the instance and then register it again.public Boolean isMissingOnRds()
Set to true
if AWS OpsWorks was unable to discover the Amazon RDS instance. AWS OpsWorks attempts to
discover the instance only once. If this value is set to true
, you must deregister the instance and
then register it again.
true
if AWS OpsWorks was unable to discover the Amazon RDS instance. AWS OpsWorks
attempts to discover the instance only once. If this value is set to true
, you must
deregister the instance and then register it again.public String toString()
toString
in class Object
Object.toString()
public RdsDbInstance clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.