Interface ModifyOptionGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyOptionGroupRequest.Builder,ModifyOptionGroupRequest>
,RdsRequest.Builder
,SdkBuilder<ModifyOptionGroupRequest.Builder,ModifyOptionGroupRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyOptionGroupRequest
public static interface ModifyOptionGroupRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<ModifyOptionGroupRequest.Builder,ModifyOptionGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyOptionGroupRequest.Builder
applyImmediately(Boolean applyImmediately)
Specifies whether to apply the change immediately or during the next maintenance window for each instance associated with the option group.ModifyOptionGroupRequest.Builder
optionGroupName(String optionGroupName)
The name of the option group to be modified.ModifyOptionGroupRequest.Builder
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.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.ModifyOptionGroupRequest.Builder
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.ModifyOptionGroupRequest.Builder
optionsToRemove(String... optionsToRemove)
Options in this list are removed from the option group.ModifyOptionGroupRequest.Builder
optionsToRemove(Collection<String> optionsToRemove)
Options in this list are removed from the option group.ModifyOptionGroupRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ModifyOptionGroupRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
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 Detail
-
optionGroupName
ModifyOptionGroupRequest.Builder optionGroupName(String 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
ModifyOptionGroupRequest.Builder 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.
- 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(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.
-
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 to#optionsToInclude(List
.) - 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:
#optionsToInclude(java.util.Collection
)
-
optionsToRemove
ModifyOptionGroupRequest.Builder optionsToRemove(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.
-
optionsToRemove
ModifyOptionGroupRequest.Builder optionsToRemove(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.
-
applyImmediately
ModifyOptionGroupRequest.Builder applyImmediately(Boolean 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyOptionGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-