public class ModifyOptionGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ModifyOptionGroup operation
.
Modifies an existing option group.
NOOP
Constructor and Description |
---|
ModifyOptionGroupRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyOptionGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Boolean |
getApplyImmediately()
Indicates whether the changes should be applied immediately, or during
the next maintenance window for each instance associated with the
option group.
|
String |
getOptionGroupName()
The name of the option group to be modified.
|
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.
|
List<String> |
getOptionsToRemove()
Options in this list are removed from the option group.
|
int |
hashCode() |
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(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(String optionGroupName)
The name of the option group to be modified.
|
void |
setOptionsToInclude(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(Collection<String> optionsToRemove)
Options in this list are removed from the option group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyOptionGroupRequest |
withApplyImmediately(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(String optionGroupName)
The name of the option group to be modified.
|
ModifyOptionGroupRequest |
withOptionsToInclude(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(Collection<String> optionsToRemove)
Options in this list are removed from the option group.
|
ModifyOptionGroupRequest |
withOptionsToRemove(String... optionsToRemove)
Options in this list are removed from the option group.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getOptionGroupName()
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 void setOptionGroupName(String optionGroupName)
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 ModifyOptionGroupRequest withOptionGroupName(String optionGroupName)
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
Returns a reference to this object so that method calls can be chained together.
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 List<OptionConfiguration> getOptionsToInclude()
public void setOptionsToInclude(Collection<OptionConfiguration> optionsToInclude)
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)
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.
Returns a reference to this object so that method calls can be chained together.
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(Collection<OptionConfiguration> optionsToInclude)
Returns a reference to this object so that method calls can be chained together.
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 List<String> getOptionsToRemove()
public void setOptionsToRemove(Collection<String> optionsToRemove)
optionsToRemove
- Options in this list are removed from the option group.public ModifyOptionGroupRequest withOptionsToRemove(String... optionsToRemove)
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.
Returns a reference to this object so that method calls can be chained together.
optionsToRemove
- Options in this list are removed from the option group.public ModifyOptionGroupRequest withOptionsToRemove(Collection<String> optionsToRemove)
Returns a reference to this object so that method calls can be chained together.
optionsToRemove
- Options in this list are removed from the option group.public Boolean isApplyImmediately()
public void setApplyImmediately(Boolean applyImmediately)
applyImmediately
- 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(Boolean applyImmediately)
Returns a reference to this object so that method calls can be chained together.
applyImmediately
- Indicates whether the changes should be applied immediately, or during
the next maintenance window for each instance associated with the
option group.public Boolean getApplyImmediately()
public String toString()
toString
in class Object
Object.toString()
public ModifyOptionGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.