Class ModifyOptionGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.ModifyOptionGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ModifyOptionGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyOptionGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(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(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
withOptionsToRemove(String... optionsToRemove)
Options in this list are removed from the option group.ModifyOptionGroupRequest
withOptionsToRemove(Collection<String> optionsToRemove)
Options in this list are removed from the option group.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setOptionGroupName
public void setOptionGroupName(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
- Parameters:
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
-
getOptionGroupName
public 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
- Returns:
- 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
-
withOptionGroupName
public ModifyOptionGroupRequest withOptionGroupName(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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getOptionsToInclude
public 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.
- Returns:
- Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration.
-
setOptionsToInclude
public 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.
- Parameters:
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.
-
withOptionsToInclude
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)
orwithOptionsToInclude(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOptionsToInclude
public 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getOptionsToRemove
public List<String> getOptionsToRemove()
Options in this list are removed from the option group.
- Returns:
- Options in this list are removed from the option group.
-
setOptionsToRemove
public void setOptionsToRemove(Collection<String> optionsToRemove)
Options in this list are removed from the option group.
- Parameters:
optionsToRemove
- Options in this list are removed from the option group.
-
withOptionsToRemove
public ModifyOptionGroupRequest withOptionsToRemove(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)
orwithOptionsToRemove(java.util.Collection)
if you want to override the existing values.- Parameters:
optionsToRemove
- Options in this list are removed from the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOptionsToRemove
public ModifyOptionGroupRequest withOptionsToRemove(Collection<String> optionsToRemove)
Options in this list are removed from the option group.
- Parameters:
optionsToRemove
- Options in this list are removed from the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setApplyImmediately
public 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.
- Parameters:
applyImmediately
- Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.
-
getApplyImmediately
public Boolean getApplyImmediately()
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.
- Returns:
- Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.
-
withApplyImmediately
public 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.
- Parameters:
applyImmediately
- Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isApplyImmediately
public Boolean isApplyImmediately()
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.
- Returns:
- Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.
-
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 ModifyOptionGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-