public static interface GetRouteResponse.Builder extends MigrationHubRefactorSpacesResponse.Builder, SdkPojo, CopyableBuilder<GetRouteResponse.Builder,GetRouteResponse>
| Modifier and Type | Method and Description |
|---|---|
GetRouteResponse.Builder |
applicationId(String applicationId)
The ID of the application that the route belongs to.
|
GetRouteResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the route.
|
GetRouteResponse.Builder |
createdByAccountId(String createdByAccountId)
The Amazon Web Services account ID of the route creator.
|
GetRouteResponse.Builder |
createdTime(Instant createdTime)
The timestamp of when the route is created.
|
GetRouteResponse.Builder |
environmentId(String environmentId)
Unique identifier of the environment.
|
default GetRouteResponse.Builder |
error(Consumer<ErrorResponse.Builder> error)
Any error associated with the route resource.
|
GetRouteResponse.Builder |
error(ErrorResponse error)
Any error associated with the route resource.
|
GetRouteResponse.Builder |
includeChildPaths(Boolean includeChildPaths)
Indicates whether to match all subpaths of the given source path.
|
GetRouteResponse.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
A timestamp that indicates when the route was last updated.
|
GetRouteResponse.Builder |
methods(Collection<HttpMethod> methods)
A list of HTTP methods to match.
|
GetRouteResponse.Builder |
methods(HttpMethod... methods)
A list of HTTP methods to match.
|
GetRouteResponse.Builder |
methodsWithStrings(Collection<String> methods)
A list of HTTP methods to match.
|
GetRouteResponse.Builder |
methodsWithStrings(String... methods)
A list of HTTP methods to match.
|
GetRouteResponse.Builder |
ownerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the route owner.
|
GetRouteResponse.Builder |
pathResourceToId(Map<String,String> pathResourceToId)
A mapping of Amazon API Gateway path resources to resource IDs.
|
GetRouteResponse.Builder |
routeId(String routeId)
The unique identifier of the route.
|
GetRouteResponse.Builder |
routeType(RouteType routeType)
The type of route.
|
GetRouteResponse.Builder |
routeType(String routeType)
The type of route.
|
GetRouteResponse.Builder |
serviceId(String serviceId)
The unique identifier of the service.
|
GetRouteResponse.Builder |
sourcePath(String sourcePath)
The path to use to match traffic.
|
GetRouteResponse.Builder |
state(RouteState state)
The current state of the route.
|
GetRouteResponse.Builder |
state(String state)
The current state of the route.
|
GetRouteResponse.Builder |
tags(Map<String,String> tags)
The tags assigned to the route.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRouteResponse.Builder applicationId(String applicationId)
The ID of the application that the route belongs to.
applicationId - The ID of the application that the route belongs to.GetRouteResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the route.
arn - The Amazon Resource Name (ARN) of the route.GetRouteResponse.Builder createdByAccountId(String createdByAccountId)
The Amazon Web Services account ID of the route creator.
createdByAccountId - The Amazon Web Services account ID of the route creator.GetRouteResponse.Builder createdTime(Instant createdTime)
The timestamp of when the route is created.
createdTime - The timestamp of when the route is created.GetRouteResponse.Builder environmentId(String environmentId)
Unique identifier of the environment.
environmentId - Unique identifier of the environment.GetRouteResponse.Builder error(ErrorResponse error)
Any error associated with the route resource.
error - Any error associated with the route resource.default GetRouteResponse.Builder error(Consumer<ErrorResponse.Builder> error)
Any error associated with the route resource.
This is a convenience method that creates an instance of theErrorResponse.Builder avoiding the need
to create one manually via ErrorResponse.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to error(ErrorResponse).
error - a consumer that will call methods on ErrorResponse.Buildererror(ErrorResponse)GetRouteResponse.Builder includeChildPaths(Boolean includeChildPaths)
Indicates whether to match all subpaths of the given source path. If this value is false,
requests must match the source path exactly before they are forwarded to this route's service.
includeChildPaths - Indicates whether to match all subpaths of the given source path. If this value is false,
requests must match the source path exactly before they are forwarded to this route's service.GetRouteResponse.Builder lastUpdatedTime(Instant lastUpdatedTime)
A timestamp that indicates when the route was last updated.
lastUpdatedTime - A timestamp that indicates when the route was last updated.GetRouteResponse.Builder methodsWithStrings(Collection<String> methods)
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
methods - A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP
requests using that method are forwarded to this route’s service.GetRouteResponse.Builder methodsWithStrings(String... methods)
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
methods - A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP
requests using that method are forwarded to this route’s service.GetRouteResponse.Builder methods(Collection<HttpMethod> methods)
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
methods - A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP
requests using that method are forwarded to this route’s service.GetRouteResponse.Builder methods(HttpMethod... methods)
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
methods - A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP
requests using that method are forwarded to this route’s service.GetRouteResponse.Builder ownerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the route owner.
ownerAccountId - The Amazon Web Services account ID of the route owner.GetRouteResponse.Builder pathResourceToId(Map<String,String> pathResourceToId)
A mapping of Amazon API Gateway path resources to resource IDs.
pathResourceToId - A mapping of Amazon API Gateway path resources to resource IDs.GetRouteResponse.Builder routeId(String routeId)
The unique identifier of the route.
DEFAULT: 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_PATH: A route that is based on a URI path.
routeId - The unique identifier of the route.
DEFAULT: 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_PATH: A route that is based on a URI path.
GetRouteResponse.Builder routeType(String routeType)
The type of route.
GetRouteResponse.Builder routeType(RouteType routeType)
The type of route.
GetRouteResponse.Builder serviceId(String serviceId)
The unique identifier of the service.
serviceId - The unique identifier of the service.GetRouteResponse.Builder sourcePath(String sourcePath)
The path to use to match traffic. Paths must start with / and are relative to the base of the
application.
sourcePath - The path to use to match traffic. Paths must start with / and are relative to the base of
the application.GetRouteResponse.Builder state(String state)
The current state of the route.
state - The current state of the route.RouteState,
RouteStateGetRouteResponse.Builder state(RouteState state)
The current state of the route.
state - The current state of the route.RouteState,
RouteStateGetRouteResponse.Builder tags(Map<String,String> tags)
The tags assigned 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.
tags - The tags assigned 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.Copyright © 2022. All rights reserved.