Class CfnEnvironment.OptionSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticbeanstalk.CfnEnvironment.OptionSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironment.OptionSettingProperty>
- Enclosing interface:
CfnEnvironment.OptionSettingProperty
@Stability(Stable)
public static final class CfnEnvironment.OptionSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironment.OptionSettingProperty>
A builder for
CfnEnvironment.OptionSettingProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnEnvironment.OptionSettingProperty.getNamespace()
optionName
(String optionName) Sets the value ofCfnEnvironment.OptionSettingProperty.getOptionName()
resourceName
(String resourceName) Sets the value ofCfnEnvironment.OptionSettingProperty.getResourceName()
Sets the value ofCfnEnvironment.OptionSettingProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
namespace
Sets the value ofCfnEnvironment.OptionSettingProperty.getNamespace()
- Parameters:
namespace
- A unique namespace that identifies the option's associated AWS resource. This parameter is required.- Returns:
this
-
optionName
@Stability(Stable) public CfnEnvironment.OptionSettingProperty.Builder optionName(String optionName) Sets the value ofCfnEnvironment.OptionSettingProperty.getOptionName()
- Parameters:
optionName
- The name of the configuration option. This parameter is required.- Returns:
this
-
resourceName
@Stability(Stable) public CfnEnvironment.OptionSettingProperty.Builder resourceName(String resourceName) Sets the value ofCfnEnvironment.OptionSettingProperty.getResourceName()
- Parameters:
resourceName
- A unique resource name for the option setting. Use it for a time–based scaling configuration option.- Returns:
this
-
value
Sets the value ofCfnEnvironment.OptionSettingProperty.getValue()
- Parameters:
value
- The current value for the configuration option.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEnvironment.OptionSettingProperty>
- Returns:
- a new instance of
CfnEnvironment.OptionSettingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-