public static interface CreateNetworkInsightsPathRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateNetworkInsightsPathRequest.Builder,CreateNetworkInsightsPathRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateNetworkInsightsPathRequest.Builder sourceIp(String sourceIp)
The IP address of the source.
sourceIp
- The IP address of the source.CreateNetworkInsightsPathRequest.Builder destinationIp(String destinationIp)
The IP address of the destination.
destinationIp
- The IP address of the destination.CreateNetworkInsightsPathRequest.Builder source(String source)
The ID or ARN of the source. If the resource is in another account, you must specify an ARN.
source
- The ID or ARN of the source. If the resource is in another account, you must specify an ARN.CreateNetworkInsightsPathRequest.Builder destination(String destination)
The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.
destination
- The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.CreateNetworkInsightsPathRequest.Builder protocol(String protocol)
The protocol.
CreateNetworkInsightsPathRequest.Builder protocol(Protocol protocol)
The protocol.
CreateNetworkInsightsPathRequest.Builder destinationPort(Integer destinationPort)
The destination port.
destinationPort
- The destination port.CreateNetworkInsightsPathRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to add to the path.
tagSpecifications
- The tags to add to the path.CreateNetworkInsightsPathRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to add to the path.
tagSpecifications
- The tags to add to the path.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 via TagSpecification.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #tagSpecifications(List
.
tagSpecifications
- a consumer that will call methods on
TagSpecification.Builder
#tagSpecifications(java.util.Collection)
CreateNetworkInsightsPathRequest.Builder dryRun(Boolean 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 is UnauthorizedOperation
.
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 is UnauthorizedOperation
.CreateNetworkInsightsPathRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
ensure idempotency.CreateNetworkInsightsPathRequest.Builder filterAtSource(PathRequestFilter 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.
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.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 via PathRequestFilter.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to filterAtSource(PathRequestFilter)
.
filterAtSource
- a consumer that will call methods on PathRequestFilter.Builder
filterAtSource(PathRequestFilter)
CreateNetworkInsightsPathRequest.Builder filterAtDestination(PathRequestFilter 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.
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.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 via PathRequestFilter.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to filterAtDestination(PathRequestFilter)
.
filterAtDestination
- a consumer that will call methods on PathRequestFilter.Builder
filterAtDestination(PathRequestFilter)
CreateNetworkInsightsPathRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateNetworkInsightsPathRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.