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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OptionGroupMembership()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
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
, andfailed
.- 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
, andfailed
.
-
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
, andfailed
.- 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
, andfailed
.
-
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
, andfailed
.- 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
, andfailed
.- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OptionGroupMembership clone()
-
-