Class CfnSecurityControl.ParameterConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnSecurityControl.ParameterConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityControl.ParameterConfigurationProperty>
- Enclosing interface:
CfnSecurityControl.ParameterConfigurationProperty
@Stability(Stable)
public static final class CfnSecurityControl.ParameterConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityControl.ParameterConfigurationProperty>
A builder for
CfnSecurityControl.ParameterConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.value(IResolvable value) Sets the value ofCfnSecurityControl.ParameterConfigurationProperty.getValue()Sets the value ofCfnSecurityControl.ParameterConfigurationProperty.getValue()Sets the value ofCfnSecurityControl.ParameterConfigurationProperty.getValueType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
valueType
@Stability(Stable) public CfnSecurityControl.ParameterConfigurationProperty.Builder valueType(String valueType) Sets the value ofCfnSecurityControl.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 CfnSecurityControl.ParameterConfigurationProperty.Builder value(IResolvable value) Sets the value ofCfnSecurityControl.ParameterConfigurationProperty.getValue()- Parameters:
value- The current value of a control parameter.- Returns:
this
-
value
@Stability(Stable) public CfnSecurityControl.ParameterConfigurationProperty.Builder value(CfnSecurityControl.ParameterValueProperty value) Sets the value ofCfnSecurityControl.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<CfnSecurityControl.ParameterConfigurationProperty>- Returns:
- a new instance of
CfnSecurityControl.ParameterConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-