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 to create the route in.
|
CreateRouteRequest.Builder |
meshOwner(String meshOwner)
The AWS IAM account ID of the service mesh owner.
|
CreateRouteRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateRouteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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 |
tags(Collection<TagRef> tags)
Optional metadata that you can apply to the route to assist with categorization and organization.
|
CreateRouteRequest.Builder |
tags(Consumer<TagRef.Builder>... tags)
Optional metadata that you can apply to the route to assist with categorization and organization.
|
CreateRouteRequest.Builder |
tags(TagRef... tags)
Optional metadata that you can apply to the route to assist with categorization and organization.
|
CreateRouteRequest.Builder |
virtualRouterName(String virtualRouterName)
The name of the virtual router in which to create the route.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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 to create the route in.
meshName - The name of the service mesh to create the route in.CreateRouteRequest.Builder meshOwner(String meshOwner)
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
meshOwner - The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account
that you specify must share the mesh with your account before you can create the resource in the
service mesh. For more information about mesh sharing, see Working with shared
meshes.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 tags(Collection<TagRef> tags)
Optional metadata that you can apply to the route to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags - Optional metadata that you can apply to the route to assist with categorization and organization. Each
tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum
character length of 128 characters, and tag values can have a maximum length of 256 characters.CreateRouteRequest.Builder tags(TagRef... tags)
Optional metadata that you can apply to the route to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags - Optional metadata that you can apply to the route to assist with categorization and organization. Each
tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum
character length of 128 characters, and tag values can have a maximum length of 256 characters.CreateRouteRequest.Builder tags(Consumer<TagRef.Builder>... tags)
Optional metadata that you can apply to the route to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateRouteRequest.Builder virtualRouterName(String virtualRouterName)
The name of the virtual router in which to create the route. If the virtual router is in a shared mesh, then you must be the owner of the virtual router resource.
virtualRouterName - The name of the virtual router in which to create the route. If the virtual router is in a shared
mesh, then you must be the owner of the virtual router resource.CreateRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.