public class RdsDbInstance extends Object implements Serializable
Describes an Amazon RDS instance.
Constructor and Description |
---|
RdsDbInstance() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAddress()
The instance's address.
|
String |
getDbInstanceIdentifier()
The DB instance identifier.
|
String |
getDbPassword()
The database password.
|
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)
The database password.
|
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)
The database password.
|
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 String getRdsDbInstanceArn()
public void setRdsDbInstanceArn(String rdsDbInstanceArn)
rdsDbInstanceArn
- The instance's ARN.public RdsDbInstance withRdsDbInstanceArn(String rdsDbInstanceArn)
Returns a reference to this object so that method calls can be chained together.
rdsDbInstanceArn
- The instance's ARN.public String getDbInstanceIdentifier()
public void setDbInstanceIdentifier(String dbInstanceIdentifier)
dbInstanceIdentifier
- The DB instance identifier.public RdsDbInstance withDbInstanceIdentifier(String dbInstanceIdentifier)
Returns a reference to this object so that method calls can be chained together.
dbInstanceIdentifier
- The DB instance identifier.public String getDbUser()
public void setDbUser(String dbUser)
dbUser
- The master user name.public RdsDbInstance withDbUser(String dbUser)
Returns a reference to this object so that method calls can be chained together.
dbUser
- The master user name.public String getDbPassword()
public void setDbPassword(String dbPassword)
dbPassword
- The database password.public RdsDbInstance withDbPassword(String dbPassword)
Returns a reference to this object so that method calls can be chained together.
dbPassword
- The database password.public String getRegion()
public void setRegion(String region)
region
- The instance's AWS region.public RdsDbInstance withRegion(String region)
Returns a reference to this object so that method calls can be chained together.
region
- The instance's AWS region.public String getAddress()
public void setAddress(String address)
address
- The instance's address.public RdsDbInstance withAddress(String address)
Returns a reference to this object so that method calls can be chained together.
address
- The instance's address.public String getEngine()
public void setEngine(String engine)
engine
- The instance's database engine.public RdsDbInstance withEngine(String engine)
Returns a reference to this object so that method calls can be chained together.
engine
- The instance's database engine.public String getStackId()
public void setStackId(String stackId)
stackId
- The ID of the stack that the instance is registered with.public RdsDbInstance withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The ID of the stack that the instance is registered with.public Boolean isMissingOnRds()
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 void setMissingOnRds(Boolean missingOnRds)
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 RdsDbInstance withMissingOnRds(Boolean missingOnRds)
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.
Returns a reference to this object so that method calls can be chained together.
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()
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()
Copyright © 2014. All rights reserved.