public class ModifyOptionGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
applyImmediately
Indicates whether the changes should be applied immediately, or during
the next maintenance window for each instance associated with the option
group.
|
private java.lang.String |
optionGroupName
The name of the option group to be modified.
|
private SdkInternalList<OptionConfiguration> |
optionsToInclude
Options in this list are added to the option group or, if already
present, the specified configuration is used to update the existing
configuration.
|
private SdkInternalList<java.lang.String> |
optionsToRemove
Options in this list are removed from the option group.
|
NOOP
Constructor and Description |
---|
ModifyOptionGroupRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyOptionGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getApplyImmediately()
Indicates whether the changes should be applied immediately, or during
the next maintenance window for each instance associated with the option
group.
|
java.lang.String |
getOptionGroupName()
The name of the option group to be modified.
|
java.util.List<OptionConfiguration> |
getOptionsToInclude()
Options in this list are added to the option group or, if already
present, the specified configuration is used to update the existing
configuration.
|
java.util.List<java.lang.String> |
getOptionsToRemove()
Options in this list are removed from the option group.
|
int |
hashCode() |
java.lang.Boolean |
isApplyImmediately()
Indicates whether the changes should be applied immediately, or during
the next maintenance window for each instance associated with the option
group.
|
void |
setApplyImmediately(java.lang.Boolean applyImmediately)
Indicates whether the changes should be applied immediately, or during
the next maintenance window for each instance associated with the option
group.
|
void |
setOptionGroupName(java.lang.String optionGroupName)
The name of the option group to be modified.
|
void |
setOptionsToInclude(java.util.Collection<OptionConfiguration> optionsToInclude)
Options in this list are added to the option group or, if already
present, the specified configuration is used to update the existing
configuration.
|
void |
setOptionsToRemove(java.util.Collection<java.lang.String> optionsToRemove)
Options in this list are removed from the option group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyOptionGroupRequest |
withApplyImmediately(java.lang.Boolean applyImmediately)
Indicates whether the changes should be applied immediately, or during
the next maintenance window for each instance associated with the option
group.
|
ModifyOptionGroupRequest |
withOptionGroupName(java.lang.String optionGroupName)
The name of the option group to be modified.
|
ModifyOptionGroupRequest |
withOptionsToInclude(java.util.Collection<OptionConfiguration> optionsToInclude)
Options in this list are added to the option group or, if already
present, the specified configuration is used to update the existing
configuration.
|
ModifyOptionGroupRequest |
withOptionsToInclude(OptionConfiguration... optionsToInclude)
Options in this list are added to the option group or, if already
present, the specified configuration is used to update the existing
configuration.
|
ModifyOptionGroupRequest |
withOptionsToRemove(java.util.Collection<java.lang.String> optionsToRemove)
Options in this list are removed from the option group.
|
ModifyOptionGroupRequest |
withOptionsToRemove(java.lang.String... optionsToRemove)
Options in this list are removed from the option group.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String optionGroupName
The name of the option group to be modified.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
private SdkInternalList<OptionConfiguration> optionsToInclude
Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration.
private SdkInternalList<java.lang.String> optionsToRemove
Options in this list are removed from the option group.
private java.lang.Boolean applyImmediately
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.
public void setOptionGroupName(java.lang.String optionGroupName)
The name of the option group to be modified.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
optionGroupName
- The name of the option group to be modified.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
public java.lang.String getOptionGroupName()
The name of the option group to be modified.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
public ModifyOptionGroupRequest withOptionGroupName(java.lang.String optionGroupName)
The name of the option group to be modified.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
optionGroupName
- The name of the option group to be modified.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
public java.util.List<OptionConfiguration> getOptionsToInclude()
Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration.
public void setOptionsToInclude(java.util.Collection<OptionConfiguration> optionsToInclude)
Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration.
optionsToInclude
- Options in this list are added to the option group or, if already
present, the specified configuration is used to update the
existing configuration.public ModifyOptionGroupRequest withOptionsToInclude(OptionConfiguration... optionsToInclude)
Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration.
NOTE: This method appends the values to the existing list (if
any). Use setOptionsToInclude(java.util.Collection)
or
withOptionsToInclude(java.util.Collection)
if you want to
override the existing values.
optionsToInclude
- Options in this list are added to the option group or, if already
present, the specified configuration is used to update the
existing configuration.public ModifyOptionGroupRequest withOptionsToInclude(java.util.Collection<OptionConfiguration> optionsToInclude)
Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration.
optionsToInclude
- Options in this list are added to the option group or, if already
present, the specified configuration is used to update the
existing configuration.public java.util.List<java.lang.String> getOptionsToRemove()
Options in this list are removed from the option group.
public void setOptionsToRemove(java.util.Collection<java.lang.String> optionsToRemove)
Options in this list are removed from the option group.
optionsToRemove
- Options in this list are removed from the option group.public ModifyOptionGroupRequest withOptionsToRemove(java.lang.String... optionsToRemove)
Options in this list are removed from the option group.
NOTE: This method appends the values to the existing list (if
any). Use setOptionsToRemove(java.util.Collection)
or
withOptionsToRemove(java.util.Collection)
if you want to
override the existing values.
optionsToRemove
- Options in this list are removed from the option group.public ModifyOptionGroupRequest withOptionsToRemove(java.util.Collection<java.lang.String> optionsToRemove)
Options in this list are removed from the option group.
optionsToRemove
- Options in this list are removed from the option group.public void setApplyImmediately(java.lang.Boolean applyImmediately)
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.
applyImmediately
- Indicates whether the changes should be applied immediately, or
during the next maintenance window for each instance associated
with the option group.public java.lang.Boolean getApplyImmediately()
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.
public ModifyOptionGroupRequest withApplyImmediately(java.lang.Boolean applyImmediately)
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.
applyImmediately
- Indicates whether the changes should be applied immediately, or
during the next maintenance window for each instance associated
with the option group.public java.lang.Boolean isApplyImmediately()
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.
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 ModifyOptionGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()