Interface ModifyOptionGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyOptionGroupRequest.Builder,
,ModifyOptionGroupRequest> RdsRequest.Builder
,SdkBuilder<ModifyOptionGroupRequest.Builder,
,ModifyOptionGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyOptionGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplyImmediately
(Boolean applyImmediately) Specifies whether to apply the change immediately or during the next maintenance window for each instance associated with the option group.optionGroupName
(String optionGroupName) The name of the option group to be modified.optionsToInclude
(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
(Consumer<OptionConfiguration.Builder>... 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
(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.optionsToRemove
(String... optionsToRemove) Options in this list are removed from the option group.optionsToRemove
(Collection<String> optionsToRemove) Options in this list are removed from the option group.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
optionGroupName
The name of the option group to be modified.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group, and that option group can't 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, can't be removed from an option group, and that option group can't 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.
-
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.
-
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.
-
optionsToInclude
ModifyOptionGroupRequest.Builder optionsToInclude(Consumer<OptionConfiguration.Builder>... 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.
This is a convenience method that creates an instance of theOptionConfiguration.Builder
avoiding the need to create one manually viaOptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptionsToInclude(List<OptionConfiguration>)
.- Parameters:
optionsToInclude
- a consumer that will call methods onOptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
applyImmediately
Specifies whether to apply the change immediately or during the next maintenance window for each instance associated with the option group.
- Parameters:
applyImmediately
- Specifies whether to apply the change 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.
-
overrideConfiguration
ModifyOptionGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyOptionGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-