public static interface RouteSummary.Builder extends SdkPojo, CopyableBuilder<RouteSummary.Builder,RouteSummary>
| Modifier and Type | Method and Description |
|---|---|
RouteSummary.Builder |
appendSourcePath(Boolean appendSourcePath)
If set to
true, this option appends the source path to the service URL endpoint. |
RouteSummary.Builder |
applicationId(String applicationId)
The unique identifier of the application.
|
RouteSummary.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the route.
|
RouteSummary.Builder |
createdByAccountId(String createdByAccountId)
The Amazon Web Services account ID of the route creator.
|
RouteSummary.Builder |
createdTime(Instant createdTime)
A timestamp that indicates when the route is created.
|
RouteSummary.Builder |
environmentId(String environmentId)
The unique identifier of the environment.
|
default RouteSummary.Builder |
error(Consumer<ErrorResponse.Builder> error)
Any error associated with the route resource.
|
RouteSummary.Builder |
error(ErrorResponse error)
Any error associated with the route resource.
|
RouteSummary.Builder |
includeChildPaths(Boolean includeChildPaths)
Indicates whether to match all subpaths of the given source path.
|
RouteSummary.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
A timestamp that indicates when the route was last updated.
|
RouteSummary.Builder |
methods(Collection<HttpMethod> methods)
A list of HTTP methods to match.
|
RouteSummary.Builder |
methods(HttpMethod... methods)
A list of HTTP methods to match.
|
RouteSummary.Builder |
methodsWithStrings(Collection<String> methods)
A list of HTTP methods to match.
|
RouteSummary.Builder |
methodsWithStrings(String... methods)
A list of HTTP methods to match.
|
RouteSummary.Builder |
ownerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the route owner.
|
RouteSummary.Builder |
pathResourceToId(Map<String,String> pathResourceToId)
A mapping of Amazon API Gateway path resources to resource IDs.
|
RouteSummary.Builder |
routeId(String routeId)
The unique identifier of the route.
|
RouteSummary.Builder |
routeType(RouteType routeType)
The route type of the route.
|
RouteSummary.Builder |
routeType(String routeType)
The route type of the route.
|
RouteSummary.Builder |
serviceId(String serviceId)
The unique identifier of the service.
|
RouteSummary.Builder |
sourcePath(String sourcePath)
This is the path that Refactor Spaces uses to match traffic.
|
RouteSummary.Builder |
state(RouteState state)
The current state of the route.
|
RouteSummary.Builder |
state(String state)
The current state of the route.
|
RouteSummary.Builder |
tags(Map<String,String> tags)
The tags assigned to the route.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRouteSummary.Builder appendSourcePath(Boolean appendSourcePath)
If set to true, this option appends the source path to the service URL endpoint.
appendSourcePath - If set to true, this option appends the source path to the service URL endpoint.RouteSummary.Builder applicationId(String applicationId)
The unique identifier of the application.
applicationId - The unique identifier of the application.RouteSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the route.
arn - The Amazon Resource Name (ARN) of the route.RouteSummary.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.RouteSummary.Builder createdTime(Instant createdTime)
A timestamp that indicates when the route is created.
createdTime - A timestamp that indicates when the route is created.RouteSummary.Builder environmentId(String environmentId)
The unique identifier of the environment.
environmentId - The unique identifier of the environment.RouteSummary.Builder error(ErrorResponse error)
Any error associated with the route resource.
error - Any error associated with the route resource.default RouteSummary.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)RouteSummary.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.RouteSummary.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.RouteSummary.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.RouteSummary.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.RouteSummary.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.RouteSummary.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.RouteSummary.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.RouteSummary.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.RouteSummary.Builder routeId(String routeId)
The unique identifier of the route.
routeId - The unique identifier of the route.RouteSummary.Builder routeType(String routeType)
The route type of the route.
RouteSummary.Builder routeType(RouteType routeType)
The route type of the route.
RouteSummary.Builder serviceId(String serviceId)
The unique identifier of the service.
serviceId - The unique identifier of the service.RouteSummary.Builder sourcePath(String sourcePath)
This is the path that Refactor Spaces uses to match traffic. Paths must start with / and are
relative to the base of the application. To use path parameters in the source path, add a variable in curly
braces. For example, the resource path {user} represents a path parameter called 'user'.
sourcePath - This is the path that Refactor Spaces uses to match traffic. Paths must start with / and
are relative to the base of the application. To use path parameters in the source path, add a variable
in curly braces. For example, the resource path {user} represents a path parameter called 'user'.RouteSummary.Builder state(String state)
The current state of the route.
state - The current state of the route.RouteState,
RouteStateRouteSummary.Builder state(RouteState state)
The current state of the route.
state - The current state of the route.RouteState,
RouteStateRouteSummary.Builder tags(Map<String,String> tags)
The tags assigned to the route.
tags - The tags assigned to the route.Copyright © 2023. All rights reserved.