Class RdsDbInstance

java.lang.Object
com.amazonaws.services.opsworks.model.RdsDbInstance
All Implemented Interfaces:
Serializable, Cloneable

public class RdsDbInstance extends Object implements Serializable, Cloneable

Describes an Amazon RDS instance.

See Also:
  • Constructor Details

    • RdsDbInstance

      public RdsDbInstance()
  • Method Details

    • setRdsDbInstanceArn

      public void setRdsDbInstanceArn(String rdsDbInstanceArn)

      The instance's ARN.

      Parameters:
      rdsDbInstanceArn - The instance's ARN.
    • getRdsDbInstanceArn

      public String getRdsDbInstanceArn()

      The instance's ARN.

      Returns:
      The instance's ARN.
    • withRdsDbInstanceArn

      public RdsDbInstance withRdsDbInstanceArn(String rdsDbInstanceArn)

      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

      public void setDbInstanceIdentifier(String dbInstanceIdentifier)

      The DB instance identifier.

      Parameters:
      dbInstanceIdentifier - The DB instance identifier.
    • getDbInstanceIdentifier

      public String getDbInstanceIdentifier()

      The DB instance identifier.

      Returns:
      The DB instance identifier.
    • withDbInstanceIdentifier

      public RdsDbInstance withDbInstanceIdentifier(String dbInstanceIdentifier)

      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

      public void setDbUser(String dbUser)

      The master user name.

      Parameters:
      dbUser - The master user name.
    • getDbUser

      public String getDbUser()

      The master user name.

      Returns:
      The master user name.
    • withDbUser

      public RdsDbInstance withDbUser(String dbUser)

      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

      public void setDbPassword(String dbPassword)

      AWS OpsWorks returns *****FILTERED***** instead of the actual value.

      Parameters:
      dbPassword - AWS OpsWorks returns *****FILTERED***** instead of the actual value.
    • getDbPassword

      public String getDbPassword()

      AWS OpsWorks returns *****FILTERED***** instead of the actual value.

      Returns:
      AWS OpsWorks returns *****FILTERED***** instead of the actual value.
    • withDbPassword

      public RdsDbInstance withDbPassword(String dbPassword)

      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

      public void setRegion(String region)

      The instance's AWS region.

      Parameters:
      region - The instance's AWS region.
    • getRegion

      public String getRegion()

      The instance's AWS region.

      Returns:
      The instance's AWS region.
    • withRegion

      public RdsDbInstance withRegion(String region)

      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

      public void setAddress(String address)

      The instance's address.

      Parameters:
      address - The instance's address.
    • getAddress

      public String getAddress()

      The instance's address.

      Returns:
      The instance's address.
    • withAddress

      public RdsDbInstance withAddress(String address)

      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

      public void setEngine(String engine)

      The instance's database engine.

      Parameters:
      engine - The instance's database engine.
    • getEngine

      public String getEngine()

      The instance's database engine.

      Returns:
      The instance's database engine.
    • withEngine

      public RdsDbInstance withEngine(String engine)

      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

      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.
    • 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.
    • withStackId

      public RdsDbInstance withStackId(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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • 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.
    • 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.

      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:
      Returns a reference to this 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.
    • 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public RdsDbInstance clone()
      Overrides:
      clone in class Object