Struct aws_sdk_appmesh::model::route_spec::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RouteSpec
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.
sourcepub fn http_route(self, input: HttpRoute) -> Self
pub fn http_route(self, input: HttpRoute) -> Self
An object that represents the specification of an HTTP route.
sourcepub fn set_http_route(self, input: Option<HttpRoute>) -> Self
pub fn set_http_route(self, input: Option<HttpRoute>) -> Self
An object that represents the specification of an HTTP route.
sourcepub fn tcp_route(self, input: TcpRoute) -> Self
pub fn tcp_route(self, input: TcpRoute) -> Self
An object that represents the specification of a TCP route.
sourcepub fn set_tcp_route(self, input: Option<TcpRoute>) -> Self
pub fn set_tcp_route(self, input: Option<TcpRoute>) -> Self
An object that represents the specification of a TCP route.
sourcepub fn http2_route(self, input: HttpRoute) -> Self
pub fn http2_route(self, input: HttpRoute) -> Self
An object that represents the specification of an HTTP/2 route.
sourcepub fn set_http2_route(self, input: Option<HttpRoute>) -> Self
pub fn set_http2_route(self, input: Option<HttpRoute>) -> Self
An object that represents the specification of an HTTP/2 route.
sourcepub fn grpc_route(self, input: GrpcRoute) -> Self
pub fn grpc_route(self, input: GrpcRoute) -> Self
An object that represents the specification of a gRPC route.
sourcepub fn set_grpc_route(self, input: Option<GrpcRoute>) -> Self
pub fn set_grpc_route(self, input: Option<GrpcRoute>) -> Self
An object that represents the specification of a gRPC route.