Class CfnConfigurationPolicy.ParameterConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnConfigurationPolicy.ParameterConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationPolicy.ParameterConfigurationProperty>
- Enclosing interface:
CfnConfigurationPolicy.ParameterConfigurationProperty
@Stability(Stable)
public static final class CfnConfigurationPolicy.ParameterConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationPolicy.ParameterConfigurationProperty>
A builder for
CfnConfigurationPolicy.ParameterConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.value(IResolvable value) Sets the value ofCfnConfigurationPolicy.ParameterConfigurationProperty.getValue()Sets the value ofCfnConfigurationPolicy.ParameterConfigurationProperty.getValue()Sets the value ofCfnConfigurationPolicy.ParameterConfigurationProperty.getValueType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
valueType
@Stability(Stable) public CfnConfigurationPolicy.ParameterConfigurationProperty.Builder valueType(String valueType) Sets the value ofCfnConfigurationPolicy.ParameterConfigurationProperty.getValueType()- Parameters:
valueType- Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior. This parameter is required. WhenValueTypeis set equal toDEFAULT, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. WhenValueTypeis set equal toDEFAULT, Security Hub ignores user-provided input for theValuefield.When
ValueTypeis set equal toCUSTOM, theValuefield can't be empty.- Returns:
this
-
value
@Stability(Stable) public CfnConfigurationPolicy.ParameterConfigurationProperty.Builder value(IResolvable value) Sets the value ofCfnConfigurationPolicy.ParameterConfigurationProperty.getValue()- Parameters:
value- The current value of a control parameter.- Returns:
this
-
value
@Stability(Stable) public CfnConfigurationPolicy.ParameterConfigurationProperty.Builder value(CfnConfigurationPolicy.ParameterValueProperty value) Sets the value ofCfnConfigurationPolicy.ParameterConfigurationProperty.getValue()- Parameters:
value- The current value of a control parameter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationPolicy.ParameterConfigurationProperty>- Returns:
- a new instance of
CfnConfigurationPolicy.ParameterConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-