Class CfnOptionGroup.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnOptionGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOptionGroup>
- Enclosing class:
- CfnOptionGroup
@Stability(Stable)
public static final class CfnOptionGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOptionGroup>
A fluent builder for
CfnOptionGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnOptionGroup.BuilderengineName(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 options and the settings for each option.optionConfigurations(IResolvable optionConfigurations) A list of options and the settings for each option.optionGroupDescription(String optionGroupDescription) The description of the option group.optionGroupName(String optionGroupName) The name of the option group to be created.An optional array of key-value pairs to apply to this option group.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnOptionGroup.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
-
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
-
optionGroupDescription
@Stability(Stable) public CfnOptionGroup.Builder optionGroupDescription(String optionGroupDescription) The description of the option group.- Parameters:
optionGroupDescription- The description of the option group. This parameter is required.- Returns:
this
-
optionConfigurations
@Stability(Stable) public CfnOptionGroup.Builder optionConfigurations(IResolvable optionConfigurations) A list of options and the settings for each option.- Parameters:
optionConfigurations- A list of options and the settings for each option. This parameter is required.- Returns:
this
-
optionConfigurations
@Stability(Stable) public CfnOptionGroup.Builder optionConfigurations(List<? extends Object> optionConfigurations) A list of options and the settings for each option.- Parameters:
optionConfigurations- A list of options and the settings for each option. This parameter is required.- Returns:
this
-
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
-
tags
An optional array of key-value pairs to apply to this option group.- Parameters:
tags- An optional array of key-value pairs to apply to this option group. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOptionGroup>- Returns:
- a newly built instance of
CfnOptionGroup.
-