public class RdsDbInstance
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an Amazon RDS instance.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
address
The instance's address.
|
private java.lang.String |
dbInstanceIdentifier
The DB instance identifier.
|
private java.lang.String |
dbPassword
AWS OpsWorks returns
*****FILTERED***** instead of the
actual value. |
private java.lang.String |
dbUser
The master user name.
|
private java.lang.String |
engine
The instance's database engine.
|
private java.lang.Boolean |
missingOnRds
Set to
true if AWS OpsWorks was unable to discover the
Amazon RDS instance. |
private java.lang.String |
rdsDbInstanceArn
The instance's ARN.
|
private java.lang.String |
region
The instance's AWS region.
|
private java.lang.String |
stackId
The ID of the stack that the instance is registered with.
|
Constructor and Description |
---|
RdsDbInstance() |
Modifier and Type | Method and Description |
---|---|
RdsDbInstance |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAddress()
The instance's address.
|
java.lang.String |
getDbInstanceIdentifier()
The DB instance identifier.
|
java.lang.String |
getDbPassword()
AWS OpsWorks returns
*****FILTERED***** instead of the
actual value. |
java.lang.String |
getDbUser()
The master user name.
|
java.lang.String |
getEngine()
The instance's database engine.
|
java.lang.Boolean |
getMissingOnRds()
Set to
true if AWS OpsWorks was unable to discover the
Amazon RDS instance. |
java.lang.String |
getRdsDbInstanceArn()
The instance's ARN.
|
java.lang.String |
getRegion()
The instance's AWS region.
|
java.lang.String |
getStackId()
The ID of the stack that the instance is registered with.
|
int |
hashCode() |
java.lang.Boolean |
isMissingOnRds()
Set to
true if AWS OpsWorks was unable to discover the
Amazon RDS instance. |
void |
setAddress(java.lang.String address)
The instance's address.
|
void |
setDbInstanceIdentifier(java.lang.String dbInstanceIdentifier)
The DB instance identifier.
|
void |
setDbPassword(java.lang.String dbPassword)
AWS OpsWorks returns
*****FILTERED***** instead of the
actual value. |
void |
setDbUser(java.lang.String dbUser)
The master user name.
|
void |
setEngine(java.lang.String engine)
The instance's database engine.
|
void |
setMissingOnRds(java.lang.Boolean missingOnRds)
Set to
true if AWS OpsWorks was unable to discover the
Amazon RDS instance. |
void |
setRdsDbInstanceArn(java.lang.String rdsDbInstanceArn)
The instance's ARN.
|
void |
setRegion(java.lang.String region)
The instance's AWS region.
|
void |
setStackId(java.lang.String stackId)
The ID of the stack that the instance is registered with.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RdsDbInstance |
withAddress(java.lang.String address)
The instance's address.
|
RdsDbInstance |
withDbInstanceIdentifier(java.lang.String dbInstanceIdentifier)
The DB instance identifier.
|
RdsDbInstance |
withDbPassword(java.lang.String dbPassword)
AWS OpsWorks returns
*****FILTERED***** instead of the
actual value. |
RdsDbInstance |
withDbUser(java.lang.String dbUser)
The master user name.
|
RdsDbInstance |
withEngine(java.lang.String engine)
The instance's database engine.
|
RdsDbInstance |
withMissingOnRds(java.lang.Boolean missingOnRds)
Set to
true if AWS OpsWorks was unable to discover the
Amazon RDS instance. |
RdsDbInstance |
withRdsDbInstanceArn(java.lang.String rdsDbInstanceArn)
The instance's ARN.
|
RdsDbInstance |
withRegion(java.lang.String region)
The instance's AWS region.
|
RdsDbInstance |
withStackId(java.lang.String stackId)
The ID of the stack that the instance is registered with.
|
private java.lang.String rdsDbInstanceArn
The instance's ARN.
private java.lang.String dbInstanceIdentifier
The DB instance identifier.
private java.lang.String dbUser
The master user name.
private java.lang.String dbPassword
AWS OpsWorks returns *****FILTERED*****
instead of the
actual value.
private java.lang.String region
The instance's AWS region.
private java.lang.String address
The instance's address.
private java.lang.String engine
The instance's database engine.
private java.lang.String stackId
The ID of the stack that the instance is registered with.
private java.lang.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.
public void setRdsDbInstanceArn(java.lang.String rdsDbInstanceArn)
The instance's ARN.
rdsDbInstanceArn
- The instance's ARN.public java.lang.String getRdsDbInstanceArn()
The instance's ARN.
public RdsDbInstance withRdsDbInstanceArn(java.lang.String rdsDbInstanceArn)
The instance's ARN.
rdsDbInstanceArn
- The instance's ARN.public void setDbInstanceIdentifier(java.lang.String dbInstanceIdentifier)
The DB instance identifier.
dbInstanceIdentifier
- The DB instance identifier.public java.lang.String getDbInstanceIdentifier()
The DB instance identifier.
public RdsDbInstance withDbInstanceIdentifier(java.lang.String dbInstanceIdentifier)
The DB instance identifier.
dbInstanceIdentifier
- The DB instance identifier.public void setDbUser(java.lang.String dbUser)
The master user name.
dbUser
- The master user name.public java.lang.String getDbUser()
The master user name.
public RdsDbInstance withDbUser(java.lang.String dbUser)
The master user name.
dbUser
- The master user name.public void setDbPassword(java.lang.String dbPassword)
AWS OpsWorks returns *****FILTERED*****
instead of the
actual value.
dbPassword
- AWS OpsWorks returns *****FILTERED*****
instead of
the actual value.public java.lang.String getDbPassword()
AWS OpsWorks returns *****FILTERED*****
instead of the
actual value.
*****FILTERED*****
instead of
the actual value.public RdsDbInstance withDbPassword(java.lang.String dbPassword)
AWS OpsWorks returns *****FILTERED*****
instead of the
actual value.
dbPassword
- AWS OpsWorks returns *****FILTERED*****
instead of
the actual value.public void setRegion(java.lang.String region)
The instance's AWS region.
region
- The instance's AWS region.public java.lang.String getRegion()
The instance's AWS region.
public RdsDbInstance withRegion(java.lang.String region)
The instance's AWS region.
region
- The instance's AWS region.public void setAddress(java.lang.String address)
The instance's address.
address
- The instance's address.public java.lang.String getAddress()
The instance's address.
public RdsDbInstance withAddress(java.lang.String address)
The instance's address.
address
- The instance's address.public void setEngine(java.lang.String engine)
The instance's database engine.
engine
- The instance's database engine.public java.lang.String getEngine()
The instance's database engine.
public RdsDbInstance withEngine(java.lang.String engine)
The instance's database engine.
engine
- The instance's database engine.public void setStackId(java.lang.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 java.lang.String getStackId()
The ID of the stack that the instance is registered with.
public RdsDbInstance withStackId(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RdsDbInstance clone()
clone
in class java.lang.Object