Class CfnNetworkInsightsPathMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNetworkInsightsPathMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsPathMixinProps>
- Enclosing interface:
CfnNetworkInsightsPathMixinProps
@Stability(Stable)
public static final class CfnNetworkInsightsPathMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsPathMixinProps>
A builder for
CfnNetworkInsightsPathMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(String destination) Sets the value ofCfnNetworkInsightsPathMixinProps.getDestination()destinationIp(String destinationIp) Sets the value ofCfnNetworkInsightsPathMixinProps.getDestinationIp()destinationPort(Number destinationPort) Sets the value ofCfnNetworkInsightsPathMixinProps.getDestinationPort()filterAtDestination(CfnNetworkInsightsPathPropsMixin.PathFilterProperty filterAtDestination) Sets the value ofCfnNetworkInsightsPathMixinProps.getFilterAtDestination()filterAtDestination(IResolvable filterAtDestination) Sets the value ofCfnNetworkInsightsPathMixinProps.getFilterAtDestination()filterAtSource(CfnNetworkInsightsPathPropsMixin.PathFilterProperty filterAtSource) Sets the value ofCfnNetworkInsightsPathMixinProps.getFilterAtSource()filterAtSource(IResolvable filterAtSource) Sets the value ofCfnNetworkInsightsPathMixinProps.getFilterAtSource()Sets the value ofCfnNetworkInsightsPathMixinProps.getProtocol()Sets the value ofCfnNetworkInsightsPathMixinProps.getSource()Sets the value ofCfnNetworkInsightsPathMixinProps.getSourceIp()Sets the value ofCfnNetworkInsightsPathMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
Sets the value ofCfnNetworkInsightsPathMixinProps.getDestination()- Parameters:
destination- The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.- Returns:
this
-
destinationIp
@Stability(Stable) public CfnNetworkInsightsPathMixinProps.Builder destinationIp(String destinationIp) Sets the value ofCfnNetworkInsightsPathMixinProps.getDestinationIp()- Parameters:
destinationIp- The IP address of the destination.- Returns:
this
-
destinationPort
@Stability(Stable) public CfnNetworkInsightsPathMixinProps.Builder destinationPort(Number destinationPort) Sets the value ofCfnNetworkInsightsPathMixinProps.getDestinationPort()- Parameters:
destinationPort- The destination port.- Returns:
this
-
filterAtDestination
@Stability(Stable) public CfnNetworkInsightsPathMixinProps.Builder filterAtDestination(IResolvable filterAtDestination) Sets the value ofCfnNetworkInsightsPathMixinProps.getFilterAtDestination()- Parameters:
filterAtDestination- Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can't specify the parameter for the destination IP address.- Returns:
this
-
filterAtDestination
@Stability(Stable) public CfnNetworkInsightsPathMixinProps.Builder filterAtDestination(CfnNetworkInsightsPathPropsMixin.PathFilterProperty filterAtDestination) Sets the value ofCfnNetworkInsightsPathMixinProps.getFilterAtDestination()- Parameters:
filterAtDestination- Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can't specify the parameter for the destination IP address.- Returns:
this
-
filterAtSource
@Stability(Stable) public CfnNetworkInsightsPathMixinProps.Builder filterAtSource(IResolvable filterAtSource) Sets the value ofCfnNetworkInsightsPathMixinProps.getFilterAtSource()- Parameters:
filterAtSource- Scopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can't specify the parameters for the source IP address or the destination port.- Returns:
this
-
filterAtSource
@Stability(Stable) public CfnNetworkInsightsPathMixinProps.Builder filterAtSource(CfnNetworkInsightsPathPropsMixin.PathFilterProperty filterAtSource) Sets the value ofCfnNetworkInsightsPathMixinProps.getFilterAtSource()- Parameters:
filterAtSource- Scopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can't specify the parameters for the source IP address or the destination port.- Returns:
this
-
protocol
Sets the value ofCfnNetworkInsightsPathMixinProps.getProtocol()- Parameters:
protocol- The protocol.- Returns:
this
-
source
Sets the value ofCfnNetworkInsightsPathMixinProps.getSource()- Parameters:
source- The ID or ARN of the source. If the resource is in another account, you must specify an ARN.- Returns:
this
-
sourceIp
Sets the value ofCfnNetworkInsightsPathMixinProps.getSourceIp()- Parameters:
sourceIp- The IP address of the source.- Returns:
this
-
tags
@Stability(Stable) public CfnNetworkInsightsPathMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnNetworkInsightsPathMixinProps.getTags()- Parameters:
tags- The tags to add to the path.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsPathMixinProps>- Returns:
- a new instance of
CfnNetworkInsightsPathMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-