Class CfnRuleGroupPropsMixin.TCPFlagFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnRuleGroupPropsMixin.TCPFlagFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.TCPFlagFieldProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.TCPFlagFieldProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.TCPFlagFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.TCPFlagFieldProperty>
A builder for
CfnRuleGroupPropsMixin.TCPFlagFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRuleGroupPropsMixin.TCPFlagFieldProperty.getFlags()Sets the value ofCfnRuleGroupPropsMixin.TCPFlagFieldProperty.getMasks()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flags
@Stability(Stable) public CfnRuleGroupPropsMixin.TCPFlagFieldProperty.Builder flags(List<String> flags) Sets the value ofCfnRuleGroupPropsMixin.TCPFlagFieldProperty.getFlags()- Parameters:
flags- Used in conjunction with theMaskssetting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in theMaskssetting.For the flags that are specified in the masks setting, the following must be true for the packet to match:
- The ones that are set in this flags setting must be set in the packet.
- The ones that are not set in this flags setting must also not be set in the packet.
- Returns:
this
-
masks
@Stability(Stable) public CfnRuleGroupPropsMixin.TCPFlagFieldProperty.Builder masks(List<String> masks) Sets the value ofCfnRuleGroupPropsMixin.TCPFlagFieldProperty.getMasks()- Parameters:
masks- The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupPropsMixin.TCPFlagFieldProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.TCPFlagFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-