Class OptionGroup.Builder
java.lang.Object
software.amazon.awscdk.services.rds.OptionGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OptionGroup>
- Enclosing class:
OptionGroup
@Stability(Stable)
public static final class OptionGroup.Builder
extends Object
implements software.amazon.jsii.Builder<OptionGroup>
A fluent builder for
OptionGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
configurations
(List<? extends OptionConfiguration> configurations) The configurations for this option group.static OptionGroup.Builder
description
(String description) A description of the option group.engine
(IInstanceEngine engine) The database engine that this option group is associated with.
-
Method Details
-
create
@Stability(Stable) public static OptionGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
OptionGroup.Builder
.
-
configurations
@Stability(Stable) public OptionGroup.Builder configurations(List<? extends OptionConfiguration> configurations) The configurations for this option group.- Parameters:
configurations
- The configurations for this option group. This parameter is required.- Returns:
this
-
engine
The database engine that this option group is associated with.- Parameters:
engine
- The database engine that this option group is associated with. This parameter is required.- Returns:
this
-
description
A description of the option group.Default: a CDK generated description
- Parameters:
description
- A description of the option group. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<OptionGroup>
- Returns:
- a newly built instance of
OptionGroup
.
-