Class CfnPentestPropsMixin.NetworkTrafficConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityagent.CfnPentestPropsMixin.NetworkTrafficConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPentestPropsMixin.NetworkTrafficConfigProperty>
- Enclosing interface:
CfnPentestPropsMixin.NetworkTrafficConfigProperty
@Stability(Stable)
public static final class CfnPentestPropsMixin.NetworkTrafficConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPentestPropsMixin.NetworkTrafficConfigProperty>
A builder for
CfnPentestPropsMixin.NetworkTrafficConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customHeaders(List<? extends Object> customHeaders) Sets the value ofCfnPentestPropsMixin.NetworkTrafficConfigProperty.getCustomHeaders()customHeaders(IResolvable customHeaders) Sets the value ofCfnPentestPropsMixin.NetworkTrafficConfigProperty.getCustomHeaders()Sets the value ofCfnPentestPropsMixin.NetworkTrafficConfigProperty.getRules()rules(IResolvable rules) Sets the value ofCfnPentestPropsMixin.NetworkTrafficConfigProperty.getRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customHeaders
@Stability(Stable) public CfnPentestPropsMixin.NetworkTrafficConfigProperty.Builder customHeaders(IResolvable customHeaders) Sets the value ofCfnPentestPropsMixin.NetworkTrafficConfigProperty.getCustomHeaders()- Parameters:
customHeaders- the value to be set.- Returns:
this
-
customHeaders
@Stability(Stable) public CfnPentestPropsMixin.NetworkTrafficConfigProperty.Builder customHeaders(List<? extends Object> customHeaders) Sets the value ofCfnPentestPropsMixin.NetworkTrafficConfigProperty.getCustomHeaders()- Parameters:
customHeaders- the value to be set.- Returns:
this
-
rules
@Stability(Stable) public CfnPentestPropsMixin.NetworkTrafficConfigProperty.Builder rules(IResolvable rules) Sets the value ofCfnPentestPropsMixin.NetworkTrafficConfigProperty.getRules()- Parameters:
rules- the value to be set.- Returns:
this
-
rules
@Stability(Stable) public CfnPentestPropsMixin.NetworkTrafficConfigProperty.Builder rules(List<? extends Object> rules) Sets the value ofCfnPentestPropsMixin.NetworkTrafficConfigProperty.getRules()- Parameters:
rules- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPentestPropsMixin.NetworkTrafficConfigProperty>- Returns:
- a new instance of
CfnPentestPropsMixin.NetworkTrafficConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-