com.amazonaws.services.opsworks.model
Class RdsDbInstance

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.RdsDbInstance
All Implemented Interfaces:
Serializable

public class RdsDbInstance
extends Object
implements Serializable

Describes an Amazon RDS instance.

See Also:
Serialized Form

Constructor Summary
RdsDbInstance()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RdsDbInstance

public RdsDbInstance()
Method Detail

getRdsDbInstanceArn

public String getRdsDbInstanceArn()
The instance's ARN.

Returns:
The instance's ARN.

setRdsDbInstanceArn

public void setRdsDbInstanceArn(String rdsDbInstanceArn)
The instance's ARN.

Parameters:
rdsDbInstanceArn - The instance's ARN.

withRdsDbInstanceArn

public RdsDbInstance withRdsDbInstanceArn(String rdsDbInstanceArn)
The instance's ARN.

Returns a reference to this object so that method calls can be chained together.

Parameters:
rdsDbInstanceArn - The instance's ARN.
Returns:
A reference to this updated object so that method calls can be chained together.

getDbInstanceIdentifier

public String getDbInstanceIdentifier()
The DB instance identifier.

Returns:
The DB instance identifier.

setDbInstanceIdentifier

public void setDbInstanceIdentifier(String dbInstanceIdentifier)
The DB instance identifier.

Parameters:
dbInstanceIdentifier - The DB instance identifier.

withDbInstanceIdentifier

public RdsDbInstance withDbInstanceIdentifier(String dbInstanceIdentifier)
The DB instance identifier.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dbInstanceIdentifier - The DB instance identifier.
Returns:
A reference to this updated object so that method calls can be chained together.

getDbUser

public String getDbUser()
The master user name.

Returns:
The master user name.

setDbUser

public void setDbUser(String dbUser)
The master user name.

Parameters:
dbUser - The master user name.

withDbUser

public RdsDbInstance withDbUser(String dbUser)
The master user name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dbUser - The master user name.
Returns:
A reference to this updated object so that method calls can be chained together.

getDbPassword

public String getDbPassword()
The database password.

Returns:
The database password.

setDbPassword

public void setDbPassword(String dbPassword)
The database password.

Parameters:
dbPassword - The database password.

withDbPassword

public RdsDbInstance withDbPassword(String dbPassword)
The database password.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dbPassword - The database password.
Returns:
A reference to this updated object so that method calls can be chained together.

getRegion

public String getRegion()
The instance's AWS region.

Returns:
The instance's AWS region.

setRegion

public void setRegion(String region)
The instance's AWS region.

Parameters:
region - The instance's AWS region.

withRegion

public RdsDbInstance withRegion(String region)
The instance's AWS region.

Returns a reference to this object so that method calls can be chained together.

Parameters:
region - The instance's AWS region.
Returns:
A reference to this updated object so that method calls can be chained together.

getAddress

public String getAddress()
The instance's address.

Returns:
The instance's address.

setAddress

public void setAddress(String address)
The instance's address.

Parameters:
address - The instance's address.

withAddress

public RdsDbInstance withAddress(String address)
The instance's address.

Returns a reference to this object so that method calls can be chained together.

Parameters:
address - The instance's address.
Returns:
A reference to this updated object so that method calls can be chained together.

getEngine

public String getEngine()
The instance's database engine.

Returns:
The instance's database engine.

setEngine

public void setEngine(String engine)
The instance's database engine.

Parameters:
engine - The instance's database engine.

withEngine

public RdsDbInstance withEngine(String engine)
The instance's database engine.

Returns a reference to this object so that method calls can be chained together.

Parameters:
engine - The instance's database engine.
Returns:
A reference to this updated object so that method calls can be chained together.

getStackId

public String getStackId()
The ID of the stack that the instance is registered with.

Returns:
The ID of the stack that the instance is registered with.

setStackId

public void setStackId(String stackId)
The ID of the stack that the instance is registered with.

Parameters:
stackId - The ID of the stack that the instance is registered with.

withStackId

public RdsDbInstance withStackId(String stackId)
The ID of the stack that the instance is registered with.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackId - The ID of the stack that the instance is registered with.
Returns:
A reference to this updated object so that method calls can be chained together.

isMissingOnRds

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.

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 to true, you must deregister the instance and then register it again.

setMissingOnRds

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.

Parameters:
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.

withMissingOnRds

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getMissingOnRds

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.

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 to true, you must deregister the instance and then register it again.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.