Interface StartNetworkInsightsAnalysisRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartNetworkInsightsAnalysisRequest.Builder,
,StartNetworkInsightsAnalysisRequest> Ec2Request.Builder
,SdkBuilder<StartNetworkInsightsAnalysisRequest.Builder,
,StartNetworkInsightsAnalysisRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartNetworkInsightsAnalysisRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalAccounts
(String... additionalAccounts) The member accounts that contain resources that the path can traverse.additionalAccounts
(Collection<String> additionalAccounts) The member accounts that contain resources that the path can traverse.clientToken
(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.filterInArns
(String... filterInArns) The Amazon Resource Names (ARN) of the resources that the path must traverse.filterInArns
(Collection<String> filterInArns) The Amazon Resource Names (ARN) of the resources that the path must traverse.networkInsightsPathId
(String networkInsightsPathId) The ID of the path.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tagSpecifications
(Collection<TagSpecification> tagSpecifications) The tags to apply.tagSpecifications
(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply.tagSpecifications
(TagSpecification... tagSpecifications) The tags to apply.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
-
networkInsightsPathId
The ID of the path.
- Parameters:
networkInsightsPathId
- The ID of the path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAccounts
StartNetworkInsightsAnalysisRequest.Builder additionalAccounts(Collection<String> additionalAccounts) The member accounts that contain resources that the path can traverse.
- Parameters:
additionalAccounts
- The member accounts that contain resources that the path can traverse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAccounts
The member accounts that contain resources that the path can traverse.
- Parameters:
additionalAccounts
- The member accounts that contain resources that the path can traverse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterInArns
The Amazon Resource Names (ARN) of the resources that the path must traverse.
- Parameters:
filterInArns
- The Amazon Resource Names (ARN) of the resources that the path must traverse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterInArns
The Amazon Resource Names (ARN) of the resources that the path must traverse.
- Parameters:
filterInArns
- The Amazon Resource Names (ARN) of the resources that the path must traverse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
tagSpecifications
StartNetworkInsightsAnalysisRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to apply.
- Parameters:
tagSpecifications
- The tags to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
StartNetworkInsightsAnalysisRequest.Builder tagSpecifications(TagSpecification... tagSpecifications) The tags to apply.
- Parameters:
tagSpecifications
- The tags to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
StartNetworkInsightsAnalysisRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply.
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:
-
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.
-
overrideConfiguration
StartNetworkInsightsAnalysisRequest.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
StartNetworkInsightsAnalysisRequest.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.
-