public static interface UpdateRouteRequest.Builder extends AppMeshRequest.Builder, SdkPojo, CopyableBuilder<UpdateRouteRequest.Builder,UpdateRouteRequest>
Modifier and Type | Method and Description |
---|---|
UpdateRouteRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
UpdateRouteRequest.Builder |
meshName(String meshName)
The name of the service mesh in which the route resides.
|
UpdateRouteRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateRouteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateRouteRequest.Builder |
routeName(String routeName)
The name of the route to update.
|
default UpdateRouteRequest.Builder |
spec(Consumer<RouteSpec.Builder> spec)
The new route specification to apply.
|
UpdateRouteRequest.Builder |
spec(RouteSpec spec)
The new route specification to apply.
|
UpdateRouteRequest.Builder |
virtualRouterName(String virtualRouterName)
The name of the virtual router with which the route is associated.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateRouteRequest.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.UpdateRouteRequest.Builder meshName(String meshName)
The name of the service mesh in which the route resides.
meshName
- The name of the service mesh in which the route resides.UpdateRouteRequest.Builder routeName(String routeName)
The name of the route to update.
routeName
- The name of the route to update.UpdateRouteRequest.Builder spec(RouteSpec spec)
The new route specification to apply. This overwrites the existing data.
spec
- The new route specification to apply. This overwrites the existing data.default UpdateRouteRequest.Builder spec(Consumer<RouteSpec.Builder> spec)
The new route specification to apply. This overwrites the existing data.
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.Builder
spec(RouteSpec)
UpdateRouteRequest.Builder virtualRouterName(String virtualRouterName)
The name of the virtual router with which the route is associated.
virtualRouterName
- The name of the virtual router with which the route is associated.UpdateRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.