Interface CreateNetworkInsightsPathRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateNetworkInsightsPathRequest.Builder,
,CreateNetworkInsightsPathRequest> Ec2Request.Builder
,SdkBuilder<CreateNetworkInsightsPathRequest.Builder,
,CreateNetworkInsightsPathRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateNetworkInsightsPathRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.destination
(String destination) The ID or ARN of the destination.destinationIp
(String destinationIp) The IP address of the destination.destinationPort
(Integer destinationPort) The destination port.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.filterAtDestination
(Consumer<PathRequestFilter.Builder> filterAtDestination) Scopes the analysis to network paths that match specific filters at the destination.filterAtDestination
(PathRequestFilter filterAtDestination) Scopes the analysis to network paths that match specific filters at the destination.filterAtSource
(Consumer<PathRequestFilter.Builder> filterAtSource) Scopes the analysis to network paths that match specific filters at the source.filterAtSource
(PathRequestFilter filterAtSource) Scopes the analysis to network paths that match specific filters at the source.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The protocol.The protocol.The ID or ARN of the source.The IP address of the source.tagSpecifications
(Collection<TagSpecification> tagSpecifications) The tags to add to the path.tagSpecifications
(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to add to the path.tagSpecifications
(TagSpecification... tagSpecifications) The tags to add to the path.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sourceIp
The IP address of the source.
- Parameters:
sourceIp
- The IP address of the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationIp
The IP address of the destination.
- Parameters:
destinationIp
- The IP address of the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. If the resource is in another account, you must specify an ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. If the resource is in another account, you must specify an ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol.
- Parameters:
protocol
- The protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol.
- Parameters:
protocol
- The protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationPort
The destination port.
- Parameters:
destinationPort
- The destination port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateNetworkInsightsPathRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to add to the path.
- Parameters:
tagSpecifications
- The tags to add to the path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
The tags to add to the path.
- Parameters:
tagSpecifications
- The tags to add to the path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateNetworkInsightsPathRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to add to the path.
This is a convenience method that creates an instance of theTagSpecification.Builder
avoiding the need to create one manually viaTagSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagSpecifications(List<TagSpecification>)
.- Parameters:
tagSpecifications
- a consumer that will call methods onTagSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. If you specify this parameter, you can't specify the parameters for the source IP address or the destination port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterAtSource
default CreateNetworkInsightsPathRequest.Builder filterAtSource(Consumer<PathRequestFilter.Builder> 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.
This is a convenience method that creates an instance of thePathRequestFilter.Builder
avoiding the need to create one manually viaPathRequestFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterAtSource(PathRequestFilter)
.- Parameters:
filterAtSource
- a consumer that will call methods onPathRequestFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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. If you specify this parameter, you can't specify the parameter for the destination IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterAtDestination
default CreateNetworkInsightsPathRequest.Builder filterAtDestination(Consumer<PathRequestFilter.Builder> 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.
This is a convenience method that creates an instance of thePathRequestFilter.Builder
avoiding the need to create one manually viaPathRequestFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterAtDestination(PathRequestFilter)
.- Parameters:
filterAtDestination
- a consumer that will call methods onPathRequestFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateNetworkInsightsPathRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateNetworkInsightsPathRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-