Interface CreateRouteRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRouteRequest.Builder,CreateRouteRequest>,MigrationHubRefactorSpacesRequest.Builder,SdkBuilder<CreateRouteRequest.Builder,CreateRouteRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRouteRequest
public static interface CreateRouteRequest.Builder extends MigrationHubRefactorSpacesRequest.Builder, SdkPojo, CopyableBuilder<CreateRouteRequest.Builder,CreateRouteRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateRouteRequest.BuilderapplicationIdentifier(String applicationIdentifier)The ID of the application within which the route is being created.CreateRouteRequest.BuilderclientToken(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.CreateRouteRequest.BuilderdefaultRoute(DefaultRouteInput defaultRoute)Configuration for the default route type.CreateRouteRequest.BuilderenvironmentIdentifier(String environmentIdentifier)The ID of the environment in which the route is created.CreateRouteRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRouteRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRouteRequest.BuilderrouteType(String routeType)The route type of the route.CreateRouteRequest.BuilderrouteType(RouteType routeType)The route type of the route.CreateRouteRequest.BuilderserviceIdentifier(String serviceIdentifier)The ID of the service in which the route is created.CreateRouteRequest.Buildertags(Map<String,String> tags)The tags to assign to the route.default CreateRouteRequest.BuilderuriPathRoute(Consumer<UriPathRouteInput.Builder> uriPathRoute)The configuration for the URI path route type.CreateRouteRequest.BuilderuriPathRoute(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 Detail
-
applicationIdentifier
CreateRouteRequest.Builder applicationIdentifier(String 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
CreateRouteRequest.Builder clientToken(String 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
CreateRouteRequest.Builder defaultRoute(DefaultRouteInput 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
default CreateRouteRequest.Builder defaultRoute(Consumer<DefaultRouteInput.Builder> 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:
defaultRoute(DefaultRouteInput)
-
environmentIdentifier
CreateRouteRequest.Builder environmentIdentifier(String 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
CreateRouteRequest.Builder routeType(String 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,RouteType
-
routeType
CreateRouteRequest.Builder routeType(RouteType 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,RouteType
-
serviceIdentifier
CreateRouteRequest.Builder serviceIdentifier(String 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
CreateRouteRequest.Builder tags(Map<String,String> 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
CreateRouteRequest.Builder uriPathRoute(UriPathRouteInput 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
default CreateRouteRequest.Builder uriPathRoute(Consumer<UriPathRouteInput.Builder> 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:
uriPathRoute(UriPathRouteInput)
-
overrideConfiguration
CreateRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-