public static final class CfnOptionGroup.Builder
extends java.lang.Object
CfnOptionGroup
.Modifier and Type | Method and Description |
---|---|
CfnOptionGroup |
build() |
static CfnOptionGroup.Builder |
create(Construct scope,
java.lang.String id) |
CfnOptionGroup.Builder |
engineName(java.lang.String engineName)
Specifies the name of the engine that this option group should be associated with.
|
CfnOptionGroup.Builder |
majorEngineVersion(java.lang.String majorEngineVersion)
Specifies the major version of the engine that this option group should be associated with.
|
CfnOptionGroup.Builder |
optionConfigurations(IResolvable optionConfigurations)
A list of options and the settings for each option.
|
CfnOptionGroup.Builder |
optionConfigurations(java.util.List<? extends java.lang.Object> optionConfigurations)
A list of options and the settings for each option.
|
CfnOptionGroup.Builder |
optionGroupDescription(java.lang.String optionGroupDescription)
The description of the option group.
|
CfnOptionGroup.Builder |
tags(java.util.List<? extends CfnTag> tags)
Tags to assign to the option group.
|
public static CfnOptionGroup.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnOptionGroup.OptionConfigurationProperty.Builder
.public CfnOptionGroup.Builder engineName(java.lang.String engineName)
Valid Values:
mariadb
mysql
oracle-ee
oracle-se2
oracle-se1
oracle-se
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
engineName
- Specifies the name of the engine that this option group should be associated with. This parameter is required.this
public CfnOptionGroup.Builder majorEngineVersion(java.lang.String majorEngineVersion)
majorEngineVersion
- Specifies the major version of the engine that this option group should be associated with. This parameter is required.this
public CfnOptionGroup.Builder optionGroupDescription(java.lang.String optionGroupDescription)
optionGroupDescription
- The description of the option group. This parameter is required.this
public CfnOptionGroup.Builder optionConfigurations(IResolvable optionConfigurations)
optionConfigurations
- A list of options and the settings for each option. This parameter is required.this
public CfnOptionGroup.Builder optionConfigurations(java.util.List<? extends java.lang.Object> optionConfigurations)
optionConfigurations
- A list of options and the settings for each option. This parameter is required.this
public CfnOptionGroup.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- Tags to assign to the option group. This parameter is required.this
public CfnOptionGroup build()