Package com.pulumi.aws.ec2.inputs
Class NetworkInsightsPathState.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.NetworkInsightsPathState.Builder
-
- Enclosing class:
- NetworkInsightsPathState
public static final class NetworkInsightsPathState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(NetworkInsightsPathState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(NetworkInsightsPathState defaults)
-
-
Method Detail
-
arn
public NetworkInsightsPathState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the Network Insights Path.- Returns:
- builder
-
arn
public NetworkInsightsPathState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the Network Insights Path.- Returns:
- builder
-
destination
public NetworkInsightsPathState.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 NetworkInsightsPathState.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
-
destinationArn
public NetworkInsightsPathState.Builder destinationArn(@Nullable com.pulumi.core.Output<java.lang.String> destinationArn)
- Parameters:
destinationArn- ARN of the destination.- Returns:
- builder
-
destinationArn
public NetworkInsightsPathState.Builder destinationArn(java.lang.String destinationArn)
- Parameters:
destinationArn- ARN of the destination.- Returns:
- builder
-
destinationIp
public NetworkInsightsPathState.Builder destinationIp(@Nullable com.pulumi.core.Output<java.lang.String> destinationIp)
- Parameters:
destinationIp- IP address of the destination resource.- Returns:
- builder
-
destinationIp
public NetworkInsightsPathState.Builder destinationIp(java.lang.String destinationIp)
- Parameters:
destinationIp- IP address of the destination resource.- Returns:
- builder
-
destinationPort
public NetworkInsightsPathState.Builder destinationPort(@Nullable com.pulumi.core.Output<java.lang.Integer> destinationPort)
- Parameters:
destinationPort- Destination port to analyze access to.- Returns:
- builder
-
destinationPort
public NetworkInsightsPathState.Builder destinationPort(java.lang.Integer destinationPort)
- Parameters:
destinationPort- Destination port to analyze access to.- Returns:
- builder
-
filterAtDestination
public NetworkInsightsPathState.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 NetworkInsightsPathState.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 NetworkInsightsPathState.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 NetworkInsightsPathState.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 NetworkInsightsPathState.Builder protocol(@Nullable 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 NetworkInsightsPathState.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 NetworkInsightsPathState.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 NetworkInsightsPathState.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 NetworkInsightsPathState.Builder source(@Nullable 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 NetworkInsightsPathState.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
-
sourceArn
public NetworkInsightsPathState.Builder sourceArn(@Nullable com.pulumi.core.Output<java.lang.String> sourceArn)
- Parameters:
sourceArn- ARN of the source.- Returns:
- builder
-
sourceArn
public NetworkInsightsPathState.Builder sourceArn(java.lang.String sourceArn)
- Parameters:
sourceArn- ARN of the source.- Returns:
- builder
-
sourceIp
public NetworkInsightsPathState.Builder sourceIp(@Nullable com.pulumi.core.Output<java.lang.String> sourceIp)
- Parameters:
sourceIp- IP address of the source resource.- Returns:
- builder
-
sourceIp
public NetworkInsightsPathState.Builder sourceIp(java.lang.String sourceIp)
- Parameters:
sourceIp- IP address of the source resource.- Returns:
- builder
-
tags
public NetworkInsightsPathState.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 NetworkInsightsPathState.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
-
tagsAll
public NetworkInsightsPathState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public NetworkInsightsPathState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
build
public NetworkInsightsPathState build()
-
-