Class OptionGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.rds.OptionGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OptionGroupProps>
- Enclosing interface:
- OptionGroupProps
@Stability(Stable)
public static final class OptionGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<OptionGroupProps>
A builder for
OptionGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.configurations
(List<? extends OptionConfiguration> configurations) Sets the value ofOptionGroupProps.getConfigurations()
description
(String description) Sets the value ofOptionGroupProps.getDescription()
engine
(IInstanceEngine engine) Sets the value ofOptionGroupProps.getEngine()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurations
@Stability(Stable) public OptionGroupProps.Builder configurations(List<? extends OptionConfiguration> configurations) Sets the value ofOptionGroupProps.getConfigurations()
- Parameters:
configurations
- The configurations for this option group. This parameter is required.- Returns:
this
-
engine
Sets the value ofOptionGroupProps.getEngine()
- Parameters:
engine
- The database engine that this option group is associated with. This parameter is required.- Returns:
this
-
description
Sets the value ofOptionGroupProps.getDescription()
- Parameters:
description
- A description of the option group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<OptionGroupProps>
- Returns:
- a new instance of
OptionGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-