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 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 CfnOptionGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- 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- See Also:
-
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:
-
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- See Also:
-
optionConfigurations
@Stability(Stable) public CfnOptionGroup.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 CfnOptionGroup.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:
-
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<CfnOptionGroup>- Returns:
- a newly built instance of
CfnOptionGroup.
-