@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OptionGroupMembership extends Object implements Serializable, Cloneable
Provides information on the option groups the DB instance is a member of.
| Constructor and Description | 
|---|
OptionGroupMembership()  | 
| Modifier and Type | Method and Description | 
|---|---|
OptionGroupMembership | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getOptionGroupName()
 The name of the option group that the instance belongs to. 
 | 
String | 
getStatus()
 The status of the DB instance's option group membership. 
 | 
int | 
hashCode()  | 
void | 
setOptionGroupName(String optionGroupName)
 The name of the option group that the instance belongs to. 
 | 
void | 
setStatus(String status)
 The status of the DB instance's option group membership. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and debugging. 
 | 
OptionGroupMembership | 
withOptionGroupName(String optionGroupName)
 The name of the option group that the instance belongs to. 
 | 
OptionGroupMembership | 
withStatus(String status)
 The status of the DB instance's option group membership. 
 | 
public void setOptionGroupName(String optionGroupName)
The name of the option group that the instance belongs to.
optionGroupName - The name of the option group that the instance belongs to.public String getOptionGroupName()
The name of the option group that the instance belongs to.
public OptionGroupMembership withOptionGroupName(String optionGroupName)
The name of the option group that the instance belongs to.
optionGroupName - The name of the option group that the instance belongs to.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.
 
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.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.
 
in-sync,
         pending-apply, pending-removal, pending-maintenance-apply,
         pending-maintenance-removal, applying, removing, and
         failed.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.
 
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.public String toString()
toString in class ObjectObject.toString()public OptionGroupMembership clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.