Class CfnNetworkInsightsPath.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkInsightsPath.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsPath>
- Enclosing class:
CfnNetworkInsightsPath
@Stability(Stable)
public static final class CfnNetworkInsightsPath.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsPath>
A fluent builder for
CfnNetworkInsightsPath
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
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
(IResolvable filterAtDestination) Scopes the analysis to network paths that match specific filters at the destination.filterAtDestination
(CfnNetworkInsightsPath.PathFilterProperty filterAtDestination) Scopes the analysis to network paths that match specific filters at the destination.filterAtSource
(IResolvable filterAtSource) Scopes the analysis to network paths that match specific filters at the source.filterAtSource
(CfnNetworkInsightsPath.PathFilterProperty 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 CfnNetworkInsightsPath.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnNetworkInsightsPath.Builder
.
-
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:
-
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
The IP address of the destination.- Parameters:
destinationIp
- The IP address of the destination. This parameter is required.- Returns:
this
- See Also:
-
destinationPort
The destination port.- Parameters:
destinationPort
- The destination port. This parameter is required.- Returns:
this
- See Also:
-
filterAtDestination
@Stability(Stable) public CfnNetworkInsightsPath.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 CfnNetworkInsightsPath.Builder filterAtDestination(CfnNetworkInsightsPath.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
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 CfnNetworkInsightsPath.Builder filterAtSource(CfnNetworkInsightsPath.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:
-
sourceIp
The IP address of the source.- Parameters:
sourceIp
- The IP address of the source. This parameter is required.- Returns:
this
- See Also:
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsPath>
- Returns:
- a newly built instance of
CfnNetworkInsightsPath
.
-