Interface CreateRouteRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateRouteRequest.Builder,
,CreateRouteRequest> MigrationHubRefactorSpacesRequest.Builder
,SdkBuilder<CreateRouteRequest.Builder,
,CreateRouteRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateRouteRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier
(String applicationIdentifier) The ID of the application within which the route is being created.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default CreateRouteRequest.Builder
defaultRoute
(Consumer<DefaultRouteInput.Builder> defaultRoute) Configuration for the default route type.defaultRoute
(DefaultRouteInput defaultRoute) Configuration for the default route type.environmentIdentifier
(String environmentIdentifier) The ID of the environment in which the route is created.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The route type of the route.The route type of the route.serviceIdentifier
(String serviceIdentifier) The ID of the service in which the route is created.The tags to assign to the route.default CreateRouteRequest.Builder
uriPathRoute
(Consumer<UriPathRouteInput.Builder> uriPathRoute) The configuration for the URI path route type.uriPathRoute
(UriPathRouteInput uriPathRoute) The configuration for the URI path route type.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.migrationhubrefactorspaces.model.MigrationHubRefactorSpacesRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationIdentifier
The ID of the application within which the route is being created.
- Parameters:
applicationIdentifier
- The ID of the application within which the route is being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultRoute
Configuration for the default route type.
- Parameters:
defaultRoute
- Configuration for the default route type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultRoute
Configuration for the default route type.
This is a convenience method that creates an instance of theDefaultRouteInput.Builder
avoiding the need to create one manually viaDefaultRouteInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultRoute(DefaultRouteInput)
.- Parameters:
defaultRoute
- a consumer that will call methods onDefaultRouteInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentIdentifier
The ID of the environment in which the route is created.
- Parameters:
environmentIdentifier
- The ID of the environment in which the route is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeType
The route type of the route.
DEFAULT
indicates that all traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.URI_PATH
indicates a route that is based on a URI path.- Parameters:
routeType
- The route type of the route.DEFAULT
indicates that all traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.URI_PATH
indicates a route that is based on a URI path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeType
The route type of the route.
DEFAULT
indicates that all traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.URI_PATH
indicates a route that is based on a URI path.- Parameters:
routeType
- The route type of the route.DEFAULT
indicates that all traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.URI_PATH
indicates a route that is based on a URI path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceIdentifier
The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.
- Parameters:
serviceIdentifier
- The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
- Parameters:
tags
- The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uriPathRoute
The configuration for the URI path route type.
- Parameters:
uriPathRoute
- The configuration for the URI path route type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uriPathRoute
The configuration for the URI path route type.
This is a convenience method that creates an instance of theUriPathRouteInput.Builder
avoiding the need to create one manually viaUriPathRouteInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touriPathRoute(UriPathRouteInput)
.- Parameters:
uriPathRoute
- a consumer that will call methods onUriPathRouteInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateRouteRequest.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
CreateRouteRequest.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.
-