Class CfnOptionGroupPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rds.CfnOptionGroupPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOptionGroupPropsMixin>
- Enclosing class:
CfnOptionGroupPropsMixin
@Stability(Stable)
public static final class CfnOptionGroupPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOptionGroupPropsMixin>
A fluent builder for
CfnOptionGroupPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) engineName(String engineName) Specifies the name of the engine that this option group should be associated with.majorEngineVersion(String majorEngineVersion) Specifies the major version of the engine that this option group should be associated with.optionConfigurations(List<? extends Object> optionConfigurations) A list of all available options for an option group.optionConfigurations(IResolvable optionConfigurations) A list of all available options for an option group.optionGroupDescription(String optionGroupDescription) The description of the option group.optionGroupName(String optionGroupName) The name of the option group to be created.Tags to assign to the option group.
-
Method Details
-
create
@Stability(Stable) public static CfnOptionGroupPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnOptionGroupPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnOptionGroupPropsMixin.Builder.
-
engineName
Specifies the name of the engine that this option group should be associated with.Valid Values:
mariadbmysqloracle-eeoracle-ee-cdboracle-se2oracle-se2-cdbpostgressqlserver-eesqlserver-sesqlserver-exsqlserver-web
- Parameters:
engineName- Specifies the name of the engine that this option group should be associated with. This parameter is required.- Returns:
this- See Also:
-
majorEngineVersion
@Stability(Stable) public CfnOptionGroupPropsMixin.Builder majorEngineVersion(String majorEngineVersion) Specifies the major version of the engine that this option group should be associated with.- Parameters:
majorEngineVersion- Specifies the major version of the engine that this option group should be associated with. This parameter is required.- Returns:
this- See Also:
-
optionConfigurations
@Stability(Stable) public CfnOptionGroupPropsMixin.Builder optionConfigurations(IResolvable optionConfigurations) A list of all available options for an option group.- Parameters:
optionConfigurations- A list of all available options for an option group. This parameter is required.- Returns:
this- See Also:
-
optionConfigurations
@Stability(Stable) public CfnOptionGroupPropsMixin.Builder optionConfigurations(List<? extends Object> optionConfigurations) A list of all available options for an option group.- Parameters:
optionConfigurations- A list of all available options for an option group. This parameter is required.- Returns:
this- See Also:
-
optionGroupDescription
@Stability(Stable) public CfnOptionGroupPropsMixin.Builder optionGroupDescription(String optionGroupDescription) The description of the option group.- Parameters:
optionGroupDescription- The description of the option group. This parameter is required.- Returns:
this- See Also:
-
optionGroupName
The name of the option group to be created.Constraints:
- Must be 1 to 255 letters, numbers, or hyphens
- First character must be a letter
- Can't end with a hyphen or contain two consecutive hyphens
Example:
myoptiongroupIf you don't specify a value for
OptionGroupNameproperty, a name is automatically created for the option group.This value is stored as a lowercase string.
- Parameters:
optionGroupName- The name of the option group to be created. This parameter is required.- Returns:
this- See Also:
-
tags
Tags to assign to the option group.- Parameters:
tags- Tags to assign to the option group. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOptionGroupPropsMixin>- Returns:
- a newly built instance of
CfnOptionGroupPropsMixin.
-