public class OptionGroupMembership
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides information on the option groups the DB instance is a member of.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
optionGroupName
The name of the option group that the instance belongs to.
|
private java.lang.String |
status
The status of the DB instance's option group membership.
|
Constructor and Description |
---|
OptionGroupMembership() |
Modifier and Type | Method and Description |
---|---|
OptionGroupMembership |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getOptionGroupName()
The name of the option group that the instance belongs to.
|
java.lang.String |
getStatus()
The status of the DB instance's option group membership.
|
int |
hashCode() |
void |
setOptionGroupName(java.lang.String optionGroupName)
The name of the option group that the instance belongs to.
|
void |
setStatus(java.lang.String status)
The status of the DB instance's option group membership.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OptionGroupMembership |
withOptionGroupName(java.lang.String optionGroupName)
The name of the option group that the instance belongs to.
|
OptionGroupMembership |
withStatus(java.lang.String status)
The status of the DB instance's option group membership.
|
private java.lang.String optionGroupName
The name of the option group that the instance belongs to.
private java.lang.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
.
public void setOptionGroupName(java.lang.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 java.lang.String getOptionGroupName()
The name of the option group that the instance belongs to.
public OptionGroupMembership withOptionGroupName(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public OptionGroupMembership clone()
clone
in class java.lang.Object