Interface StartRouteAnalysisRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartRouteAnalysisRequest.Builder,
,StartRouteAnalysisRequest> NetworkManagerRequest.Builder
,SdkBuilder<StartRouteAnalysisRequest.Builder,
,StartRouteAnalysisRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartRouteAnalysisRequest
public static interface StartRouteAnalysisRequest.Builder
extends NetworkManagerRequest.Builder, SdkPojo, CopyableBuilder<StartRouteAnalysisRequest.Builder,StartRouteAnalysisRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe destination.destination
(RouteAnalysisEndpointOptionsSpecification destination) The destination.globalNetworkId
(String globalNetworkId) The ID of the global network.includeReturnPath
(Boolean includeReturnPath) Indicates whether to analyze the return path.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The source from which traffic originates.The source from which traffic originates.useMiddleboxes
(Boolean useMiddleboxes) Indicates whether to include the location of middlebox appliances in the route analysis.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.networkmanager.model.NetworkManagerRequest.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
-
globalNetworkId
The ID of the global network.
- Parameters:
globalNetworkId
- The ID of the global network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source from which traffic originates.
- Parameters:
source
- The source from which traffic originates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default StartRouteAnalysisRequest.Builder source(Consumer<RouteAnalysisEndpointOptionsSpecification.Builder> source) The source from which traffic originates.
This is a convenience method that creates an instance of theRouteAnalysisEndpointOptionsSpecification.Builder
avoiding the need to create one manually viaRouteAnalysisEndpointOptionsSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(RouteAnalysisEndpointOptionsSpecification)
.- Parameters:
source
- a consumer that will call methods onRouteAnalysisEndpointOptionsSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destination
StartRouteAnalysisRequest.Builder destination(RouteAnalysisEndpointOptionsSpecification destination) The destination.
- Parameters:
destination
- The destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default StartRouteAnalysisRequest.Builder destination(Consumer<RouteAnalysisEndpointOptionsSpecification.Builder> destination) The destination.
This is a convenience method that creates an instance of theRouteAnalysisEndpointOptionsSpecification.Builder
avoiding the need to create one manually viaRouteAnalysisEndpointOptionsSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestination(RouteAnalysisEndpointOptionsSpecification)
.- Parameters:
destination
- a consumer that will call methods onRouteAnalysisEndpointOptionsSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includeReturnPath
Indicates whether to analyze the return path. The default is
false
.- Parameters:
includeReturnPath
- Indicates whether to analyze the return path. The default isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useMiddleboxes
Indicates whether to include the location of middlebox appliances in the route analysis. The default is
false
.- Parameters:
useMiddleboxes
- Indicates whether to include the location of middlebox appliances in the route analysis. The default isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartRouteAnalysisRequest.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
StartRouteAnalysisRequest.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.
-