Class RdsDbInstance
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an Amazon RDS instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The instance's address.The DB instance identifier.AWS OpsWorks returns*****FILTERED*****
instead of the actual value.The master user name.The instance's database engine.Set totrue
if AWS OpsWorks was unable to discover the Amazon RDS instance.The instance's ARN.The instance's AWS region.The ID of the stack that the instance is registered with.int
hashCode()
Set totrue
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
The master user name.void
The instance's database engine.void
setMissingOnRds
(Boolean missingOnRds) Set totrue
if AWS OpsWorks was unable to discover the Amazon RDS instance.void
setRdsDbInstanceArn
(String rdsDbInstanceArn) The instance's ARN.void
The instance's AWS region.void
setStackId
(String stackId) The ID of the stack that the instance is registered with.toString()
Returns a string representation of this object; useful for testing and debugging.withAddress
(String address) The instance's address.withDbInstanceIdentifier
(String dbInstanceIdentifier) The DB instance identifier.withDbPassword
(String dbPassword) AWS OpsWorks returns*****FILTERED*****
instead of the actual value.withDbUser
(String dbUser) The master user name.withEngine
(String engine) The instance's database engine.withMissingOnRds
(Boolean missingOnRds) Set totrue
if AWS OpsWorks was unable to discover the Amazon RDS instance.withRdsDbInstanceArn
(String rdsDbInstanceArn) The instance's ARN.withRegion
(String region) The instance's AWS region.withStackId
(String stackId) The ID of the stack that the instance is registered with.
-
Constructor Details
-
RdsDbInstance
public RdsDbInstance()
-
-
Method Details
-
setRdsDbInstanceArn
The instance's ARN.
- Parameters:
rdsDbInstanceArn
- The instance's ARN.
-
getRdsDbInstanceArn
The instance's ARN.
- Returns:
- The instance's ARN.
-
withRdsDbInstanceArn
The instance's ARN.
- Parameters:
rdsDbInstanceArn
- The instance's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDbInstanceIdentifier
The DB instance identifier.
- Parameters:
dbInstanceIdentifier
- The DB instance identifier.
-
getDbInstanceIdentifier
The DB instance identifier.
- Returns:
- The DB instance identifier.
-
withDbInstanceIdentifier
The DB instance identifier.
- Parameters:
dbInstanceIdentifier
- The DB instance identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDbUser
The master user name.
- Parameters:
dbUser
- The master user name.
-
getDbUser
The master user name.
- Returns:
- The master user name.
-
withDbUser
The master user name.
- Parameters:
dbUser
- The master user name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDbPassword
AWS OpsWorks returns
*****FILTERED*****
instead of the actual value.- Parameters:
dbPassword
- AWS OpsWorks returns*****FILTERED*****
instead of the actual value.
-
getDbPassword
AWS OpsWorks returns
*****FILTERED*****
instead of the actual value.- Returns:
- AWS OpsWorks returns
*****FILTERED*****
instead of the actual value.
-
withDbPassword
AWS OpsWorks returns
*****FILTERED*****
instead of the actual value.- Parameters:
dbPassword
- AWS OpsWorks returns*****FILTERED*****
instead of the actual value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegion
The instance's AWS region.
- Parameters:
region
- The instance's AWS region.
-
getRegion
The instance's AWS region.
- Returns:
- The instance's AWS region.
-
withRegion
The instance's AWS region.
- Parameters:
region
- The instance's AWS region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAddress
The instance's address.
- Parameters:
address
- The instance's address.
-
getAddress
The instance's address.
- Returns:
- The instance's address.
-
withAddress
The instance's address.
- Parameters:
address
- The instance's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngine
The instance's database engine.
- Parameters:
engine
- The instance's database engine.
-
getEngine
The instance's database engine.
- Returns:
- The instance's database engine.
-
withEngine
The instance's database engine.
- Parameters:
engine
- The instance's database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackId
The ID of the stack that the instance is registered with.
- Parameters:
stackId
- The ID of the stack that the instance is registered with.
-
getStackId
The ID of the stack that the instance is registered with.
- Returns:
- The ID of the stack that the instance is registered with.
-
withStackId
The ID of the stack that the instance is registered with.
- Parameters:
stackId
- The ID of the stack that the instance is registered with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMissingOnRds
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 totrue
, you must deregister the instance and then register it again.- Parameters:
missingOnRds
- Set totrue
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 totrue
, you must deregister the instance and then register it again.
-
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 totrue
, you must deregister the instance and then register it again.- Returns:
- 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 totrue
, you must deregister the instance and then register it again.
-
withMissingOnRds
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 totrue
, you must deregister the instance and then register it again.- Parameters:
missingOnRds
- Set totrue
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 totrue
, you must deregister the instance and then register it again.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 totrue
, you must deregister the instance and then register it again.- Returns:
- 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 totrue
, you must deregister the instance and then register it again.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-