Class OptionGroupMembership

java.lang.Object
com.amazonaws.services.rds.model.OptionGroupMembership
All Implemented Interfaces:
Serializable, Cloneable

public class OptionGroupMembership extends Object implements Serializable, Cloneable

Provides information on the option groups the DB instance is a member of.

See Also:
  • Constructor Details

    • OptionGroupMembership

      public OptionGroupMembership()
  • Method Details

    • setOptionGroupName

      public void setOptionGroupName(String optionGroupName)

      The name of the option group that the instance belongs to.

      Parameters:
      optionGroupName - The name of the option group that the instance belongs to.
    • getOptionGroupName

      public String getOptionGroupName()

      The name of the option group that the instance belongs to.

      Returns:
      The name of the option group that the instance belongs to.
    • withOptionGroupName

      public OptionGroupMembership withOptionGroupName(String optionGroupName)

      The name of the option group that the instance belongs to.

      Parameters:
      optionGroupName - The name of the option group that the instance belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus

      public void setStatus(String status)

      The status of the DB instance's option group membership. Valid values are: in-sync, pending-apply, pending-removal, pending-maintenance-apply, pending-maintenance-removal, applying, removing, and failed.

      Parameters:
      status - The status of the DB instance's option group membership. Valid values are: in-sync, pending-apply, pending-removal, pending-maintenance-apply, pending-maintenance-removal, applying, removing, and failed.
    • getStatus

      public String getStatus()

      The status of the DB instance's option group membership. Valid values are: in-sync, pending-apply, pending-removal, pending-maintenance-apply, pending-maintenance-removal, applying, removing, and failed.

      Returns:
      The status of the DB instance's option group membership. Valid values are: in-sync, pending-apply, pending-removal, pending-maintenance-apply, pending-maintenance-removal, applying, removing, and failed.
    • withStatus

      public OptionGroupMembership withStatus(String status)

      The status of the DB instance's option group membership. Valid values are: in-sync, pending-apply, pending-removal, pending-maintenance-apply, pending-maintenance-removal, applying, removing, and failed.

      Parameters:
      status - The status of the DB instance's option group membership. Valid values are: in-sync, pending-apply, pending-removal, pending-maintenance-apply, pending-maintenance-removal, applying, removing, and failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 OptionGroupMembership clone()
      Overrides:
      clone in class Object