Class CfnNetworkInsightsPathPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNetworkInsightsPathPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsPathPropsMixin>
- Enclosing class:
CfnNetworkInsightsPathPropsMixin
@Stability(Stable)
public static final class CfnNetworkInsightsPathPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsPathPropsMixin>
A fluent builder for
CfnNetworkInsightsPathPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) destination(String destination) The ID or ARN of the destination.destinationIp(String destinationIp) The IP address of the destination.destinationPort(Number destinationPort) The destination port.filterAtDestination(CfnNetworkInsightsPathPropsMixin.PathFilterProperty filterAtDestination) Scopes the analysis to network paths that match specific filters at the destination.filterAtDestination(IResolvable filterAtDestination) Scopes the analysis to network paths that match specific filters at the destination.filterAtSource(CfnNetworkInsightsPathPropsMixin.PathFilterProperty filterAtSource) Scopes the analysis to network paths that match specific filters at the source.filterAtSource(IResolvable filterAtSource) Scopes the analysis to network paths that match specific filters at the source.The protocol.The ID or ARN of the source.The IP address of the source.The tags to add to the path.
-
Method Details
-
create
@Stability(Stable) public static CfnNetworkInsightsPathPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnNetworkInsightsPathPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnNetworkInsightsPathPropsMixin.Builder.
-
destination
The ID or ARN of the destination.If the resource is in another account, you must specify an ARN.
- Parameters:
destination- The ID or ARN of the destination. This parameter is required.- Returns:
this- See Also:
-
destinationIp
@Stability(Stable) public CfnNetworkInsightsPathPropsMixin.Builder destinationIp(String destinationIp) The IP address of the destination.- Parameters:
destinationIp- The IP address of the destination. This parameter is required.- Returns:
this- See Also:
-
destinationPort
@Stability(Stable) public CfnNetworkInsightsPathPropsMixin.Builder destinationPort(Number destinationPort) The destination port.- Parameters:
destinationPort- The destination port. This parameter is required.- Returns:
this- See Also:
-
filterAtDestination
@Stability(Stable) public CfnNetworkInsightsPathPropsMixin.Builder filterAtDestination(IResolvable 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.
- Parameters:
filterAtDestination- Scopes the analysis to network paths that match specific filters at the destination. This parameter is required.- Returns:
this- See Also:
-
filterAtDestination
@Stability(Stable) public CfnNetworkInsightsPathPropsMixin.Builder filterAtDestination(CfnNetworkInsightsPathPropsMixin.PathFilterProperty 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.
- Parameters:
filterAtDestination- Scopes the analysis to network paths that match specific filters at the destination. This parameter is required.- Returns:
this- See Also:
-
filterAtSource
@Stability(Stable) public CfnNetworkInsightsPathPropsMixin.Builder filterAtSource(IResolvable 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.
- Parameters:
filterAtSource- Scopes the analysis to network paths that match specific filters at the source. This parameter is required.- Returns:
this- See Also:
-
filterAtSource
@Stability(Stable) public CfnNetworkInsightsPathPropsMixin.Builder filterAtSource(CfnNetworkInsightsPathPropsMixin.PathFilterProperty 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.
- Parameters:
filterAtSource- Scopes the analysis to network paths that match specific filters at the source. This parameter is required.- Returns:
this- See Also:
-
protocol
The protocol.- Parameters:
protocol- The protocol. This parameter is required.- Returns:
this- See Also:
-
source
The ID or ARN of the source.If the resource is in another account, you must specify an ARN.
- Parameters:
source- The ID or ARN of the source. This parameter is required.- Returns:
this- See Also:
-
sourceIp
The IP address of the source.- Parameters:
sourceIp- The IP address of the source. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnNetworkInsightsPathPropsMixin.Builder tags(List<? extends CfnTag> tags) The tags to add to the path.- Parameters:
tags- The tags to add to the path. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsPathPropsMixin>- Returns:
- a newly built instance of
CfnNetworkInsightsPathPropsMixin.
-