public static interface CreateRouteRequest.Builder extends AppMeshRequest.Builder, SdkPojo, CopyableBuilder<CreateRouteRequest.Builder,CreateRouteRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateRouteRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateRouteRequest.Builder |
meshName(String meshName)
The name of the service mesh in which to create the route.
|
CreateRouteRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateRouteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateRouteRequest.Builder |
routeName(String routeName)
The name to use for the route.
|
default CreateRouteRequest.Builder |
spec(Consumer<RouteSpec.Builder> spec)
The route specification to apply.
|
CreateRouteRequest.Builder |
spec(RouteSpec spec)
The route specification to apply.
|
CreateRouteRequest.Builder |
virtualRouterName(String virtualRouterName)
The name of the virtual router in which to create the route.
|
buildoverrideConfigurationcopyapplyMutation, buildCreateRouteRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36
letters, numbers, hyphens, and underscores are allowed.CreateRouteRequest.Builder meshName(String meshName)
The name of the service mesh in which to create the route.
meshName - The name of the service mesh in which to create the route.CreateRouteRequest.Builder routeName(String routeName)
The name to use for the route.
routeName - The name to use for the route.CreateRouteRequest.Builder spec(RouteSpec spec)
The route specification to apply.
spec - The route specification to apply.default CreateRouteRequest.Builder spec(Consumer<RouteSpec.Builder> spec)
The route specification to apply.
This is a convenience that creates an instance of theRouteSpec.Builder avoiding the need to create
one manually via RouteSpec.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to spec(RouteSpec).spec - a consumer that will call methods on RouteSpec.Builderspec(RouteSpec)CreateRouteRequest.Builder virtualRouterName(String virtualRouterName)
The name of the virtual router in which to create the route.
virtualRouterName - The name of the virtual router in which to create the route.CreateRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.