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 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

      @Stability(Stable) public OptionGroup.Builder engine(IInstanceEngine 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

      @Stability(Stable) public OptionGroup.Builder description(String 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

      @Stability(Stable) public OptionGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<OptionGroup>
      Returns:
      a newly built instance of OptionGroup.