Class CfnConfigurationPolicy.ParameterValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnConfigurationPolicy.ParameterValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationPolicy.ParameterValueProperty>
- Enclosing interface:
CfnConfigurationPolicy.ParameterValueProperty
@Stability(Stable)
public static final class CfnConfigurationPolicy.ParameterValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationPolicy.ParameterValueProperty>
A builder for
CfnConfigurationPolicy.ParameterValueProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanValue
(Boolean booleanValue) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getBooleanValue()
booleanValue
(IResolvable booleanValue) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getBooleanValue()
build()
Builds the configured instance.doubleValue
(Number doubleValue) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getDoubleValue()
Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getEnumList()
Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getEnumValue()
Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getInteger()
integerList
(List<? extends Number> integerList) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getIntegerList()
integerList
(IResolvable integerList) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getIntegerList()
Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getString()
stringList
(List<String> stringList) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getStringList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
booleanValue
@Stability(Stable) public CfnConfigurationPolicy.ParameterValueProperty.Builder booleanValue(Boolean booleanValue) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getBooleanValue()
- Parameters:
booleanValue
- A control parameter that is a boolean.- Returns:
this
-
booleanValue
@Stability(Stable) public CfnConfigurationPolicy.ParameterValueProperty.Builder booleanValue(IResolvable booleanValue) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getBooleanValue()
- Parameters:
booleanValue
- A control parameter that is a boolean.- Returns:
this
-
doubleValue
@Stability(Stable) public CfnConfigurationPolicy.ParameterValueProperty.Builder doubleValue(Number doubleValue) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getDoubleValue()
- Parameters:
doubleValue
- A control parameter that is a double.- Returns:
this
-
enumValue
@Stability(Stable) public CfnConfigurationPolicy.ParameterValueProperty.Builder enumValue(String enumValue) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getEnumValue()
- Parameters:
enumValue
- A control parameter that is an enum.- Returns:
this
-
enumList
@Stability(Stable) public CfnConfigurationPolicy.ParameterValueProperty.Builder enumList(List<String> enumList) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getEnumList()
- Parameters:
enumList
- A control parameter that is a list of enums.- Returns:
this
-
integer
@Stability(Stable) public CfnConfigurationPolicy.ParameterValueProperty.Builder integer(Number integer) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getInteger()
- Parameters:
integer
- A control parameter that is an integer.- Returns:
this
-
integerList
@Stability(Stable) public CfnConfigurationPolicy.ParameterValueProperty.Builder integerList(List<? extends Number> integerList) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getIntegerList()
- Parameters:
integerList
- A control parameter that is a list of integers.- Returns:
this
-
integerList
@Stability(Stable) public CfnConfigurationPolicy.ParameterValueProperty.Builder integerList(IResolvable integerList) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getIntegerList()
- Parameters:
integerList
- A control parameter that is a list of integers.- Returns:
this
-
string
@Stability(Stable) public CfnConfigurationPolicy.ParameterValueProperty.Builder string(String string) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getString()
- Parameters:
string
- A control parameter that is a string.- Returns:
this
-
stringList
@Stability(Stable) public CfnConfigurationPolicy.ParameterValueProperty.Builder stringList(List<String> stringList) Sets the value ofCfnConfigurationPolicy.ParameterValueProperty.getStringList()
- Parameters:
stringList
- A control parameter that is a list of strings.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationPolicy.ParameterValueProperty>
- Returns:
- a new instance of
CfnConfigurationPolicy.ParameterValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-