Class CfnOptionGroup.OptionSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnOptionGroup.OptionSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOptionGroup.OptionSettingProperty>
- Enclosing interface:
CfnOptionGroup.OptionSettingProperty
@Stability(Stable)
public static final class CfnOptionGroup.OptionSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOptionGroup.OptionSettingProperty>
A builder for
CfnOptionGroup.OptionSettingProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnOptionGroup.OptionSettingProperty.getName()
Sets the value ofCfnOptionGroup.OptionSettingProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnOptionGroup.OptionSettingProperty.getName()
- Parameters:
name
- The name of the option that has settings that you can set.- Returns:
this
-
value
Sets the value ofCfnOptionGroup.OptionSettingProperty.getValue()
- Parameters:
value
- The current value of the option setting.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOptionGroup.OptionSettingProperty>
- Returns:
- a new instance of
CfnOptionGroup.OptionSettingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-