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.BuilderdefaultRoute(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.BuilderuriPathRoute(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.migrationhubrefactorspaces.model.MigrationHubRefactorSpacesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaDefaultRouteInput.builder().When the
Consumercompletes,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.
DEFAULTindicates 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_PATHindicates a route that is based on a URI path.- Parameters:
routeType- The route type of the route.DEFAULTindicates 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_PATHindicates 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.
DEFAULTindicates 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_PATHindicates a route that is based on a URI path.- Parameters:
routeType- The route type of the route.DEFAULTindicates 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_PATHindicates 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.Builderavoiding the need to create one manually viaUriPathRouteInput.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-