Struct aws_sdk_appmesh::model::http_route_match::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for HttpRouteMatch
Implementations
Specifies the path to match requests with. This parameter must always start with /
, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local
and you want the route to match requests to my-service.local/metrics
, your prefix should be /metrics
.
Specifies the path to match requests with. This parameter must always start with /
, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local
and you want the route to match requests to my-service.local/metrics
, your prefix should be /metrics
.
The client request path to match on.
The client request path to match on.
Appends an item to query_parameters
.
To override the contents of this collection use set_query_parameters
.
The client request query parameters to match on.
The client request query parameters to match on.
The client request method to match on. Specify only one.
The client request method to match on. Specify only one.
The client request scheme to match on. Specify only one. Applicable only for HTTP2 routes.
The client request scheme to match on. Specify only one. Applicable only for HTTP2 routes.
Appends an item to headers
.
To override the contents of this collection use set_headers
.
The client request headers to match on.
The client request headers to match on.
Consumes the builder and constructs a HttpRouteMatch
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more