Package com.pulumi.aws.ec2
Class NetworkInsightsPathArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.NetworkInsightsPathArgs.Builder
-
- Enclosing class:
- NetworkInsightsPathArgs
public static final class NetworkInsightsPathArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(NetworkInsightsPathArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(NetworkInsightsPathArgs defaults)
-
-
Method Detail
-
destination
public NetworkInsightsPathArgs.Builder destination(@Nullable com.pulumi.core.Output<java.lang.String> destination)
- Parameters:
destination- ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. Either the `destination` argument or the `destinationAddress` argument in the `filterAtSource` block must be specified.- Returns:
- builder
-
destination
public NetworkInsightsPathArgs.Builder destination(java.lang.String destination)
- Parameters:
destination- ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. Either the `destination` argument or the `destinationAddress` argument in the `filterAtSource` block must be specified.- Returns:
- builder
-
destinationIp
public NetworkInsightsPathArgs.Builder destinationIp(@Nullable com.pulumi.core.Output<java.lang.String> destinationIp)
- Parameters:
destinationIp- IP address of the destination resource.- Returns:
- builder
-
destinationIp
public NetworkInsightsPathArgs.Builder destinationIp(java.lang.String destinationIp)
- Parameters:
destinationIp- IP address of the destination resource.- Returns:
- builder
-
destinationPort
public NetworkInsightsPathArgs.Builder destinationPort(@Nullable com.pulumi.core.Output<java.lang.Integer> destinationPort)
- Parameters:
destinationPort- Destination port to analyze access to.- Returns:
- builder
-
destinationPort
public NetworkInsightsPathArgs.Builder destinationPort(java.lang.Integer destinationPort)
- Parameters:
destinationPort- Destination port to analyze access to.- Returns:
- builder
-
filterAtDestination
public NetworkInsightsPathArgs.Builder filterAtDestination(@Nullable com.pulumi.core.Output<NetworkInsightsPathFilterAtDestinationArgs> filterAtDestination)
- Parameters:
filterAtDestination- Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can't specify `destinationIp`. See below for details. Note that Terraform performs drift detection on this argument only when the value is provided.- Returns:
- builder
-
filterAtDestination
public NetworkInsightsPathArgs.Builder filterAtDestination(NetworkInsightsPathFilterAtDestinationArgs filterAtDestination)
- Parameters:
filterAtDestination- Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can't specify `destinationIp`. See below for details. Note that Terraform performs drift detection on this argument only when the value is provided.- Returns:
- builder
-
filterAtSource
public NetworkInsightsPathArgs.Builder filterAtSource(@Nullable com.pulumi.core.Output<NetworkInsightsPathFilterAtSourceArgs> filterAtSource)
- Parameters:
filterAtSource- Scopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can't specify `sourceIp` or `destinationPort`. See below for details. Note that Terraform performs drift detection on this argument only when the value is provided.- Returns:
- builder
-
filterAtSource
public NetworkInsightsPathArgs.Builder filterAtSource(NetworkInsightsPathFilterAtSourceArgs filterAtSource)
- Parameters:
filterAtSource- Scopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can't specify `sourceIp` or `destinationPort`. See below for details. Note that Terraform performs drift detection on this argument only when the value is provided.- Returns:
- builder
-
protocol
public NetworkInsightsPathArgs.Builder protocol(com.pulumi.core.Output<java.lang.String> protocol)
- Parameters:
protocol- Protocol to use for analysis. Valid options are `tcp` or `udp`. The following arguments are optional:- Returns:
- builder
-
protocol
public NetworkInsightsPathArgs.Builder protocol(java.lang.String protocol)
- Parameters:
protocol- Protocol to use for analysis. Valid options are `tcp` or `udp`. The following arguments are optional:- Returns:
- builder
-
region
public NetworkInsightsPathArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public NetworkInsightsPathArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
source
public NetworkInsightsPathArgs.Builder source(com.pulumi.core.Output<java.lang.String> source)
- Parameters:
source- ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.- Returns:
- builder
-
source
public NetworkInsightsPathArgs.Builder source(java.lang.String source)
- Parameters:
source- ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.- Returns:
- builder
-
sourceIp
public NetworkInsightsPathArgs.Builder sourceIp(@Nullable com.pulumi.core.Output<java.lang.String> sourceIp)
- Parameters:
sourceIp- IP address of the source resource.- Returns:
- builder
-
sourceIp
public NetworkInsightsPathArgs.Builder sourceIp(java.lang.String sourceIp)
- Parameters:
sourceIp- IP address of the source resource.- Returns:
- builder
-
tags
public NetworkInsightsPathArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public NetworkInsightsPathArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
build
public NetworkInsightsPathArgs build()
-
-