Class CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty>
- Enclosing interface:
CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty
@Stability(Stable)
public static final class CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationAddresses(List<String> destinationAddresses) destinationPortRanges(List<? extends Object> destinationPortRanges) destinationPortRanges(IResolvable destinationPortRanges) sourceAddresses(List<String> sourceAddresses) sourcePortRanges(List<? extends Object> sourcePortRanges) sourcePortRanges(IResolvable sourcePortRanges)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationAddresses
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.Builder destinationAddresses(List<String> destinationAddresses) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.getDestinationAddresses()- Parameters:
destinationAddresses- The destination addresses.- Returns:
this
-
destinationPortRanges
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.Builder destinationPortRanges(IResolvable destinationPortRanges) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.getDestinationPortRanges()- Parameters:
destinationPortRanges- The destination port ranges.- Returns:
this
-
destinationPortRanges
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.Builder destinationPortRanges(List<? extends Object> destinationPortRanges) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.getDestinationPortRanges()- Parameters:
destinationPortRanges- The destination port ranges.- Returns:
this
-
protocol
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.Builder protocol(String protocol) - Parameters:
protocol- The protocol.- Returns:
this
-
sourceAddresses
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.Builder sourceAddresses(List<String> sourceAddresses) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.getSourceAddresses()- Parameters:
sourceAddresses- The source addresses.- Returns:
this
-
sourcePortRanges
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.Builder sourcePortRanges(IResolvable sourcePortRanges) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.getSourcePortRanges()- Parameters:
sourcePortRanges- The source port ranges.- Returns:
this
-
sourcePortRanges
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.Builder sourcePortRanges(List<? extends Object> sourcePortRanges) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty.getSourcePortRanges()- Parameters:
sourcePortRanges- The source port ranges.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty>- Returns:
- a new instance of
CfnNetworkInsightsAnalysisPropsMixin.AnalysisPacketHeaderProperty - Throws:
NullPointerException- if any required attribute was not provided
-