Struct aws_sdk_appmesh::types::builders::RouteSpecBuilder
source · #[non_exhaustive]pub struct RouteSpecBuilder { /* private fields */ }Expand description
A builder for RouteSpec.
Implementations§
source§impl RouteSpecBuilder
impl RouteSpecBuilder
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.
Trait Implementations§
source§impl Clone for RouteSpecBuilder
impl Clone for RouteSpecBuilder
source§fn clone(&self) -> RouteSpecBuilder
fn clone(&self) -> RouteSpecBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RouteSpecBuilder
impl Debug for RouteSpecBuilder
source§impl Default for RouteSpecBuilder
impl Default for RouteSpecBuilder
source§fn default() -> RouteSpecBuilder
fn default() -> RouteSpecBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RouteSpecBuilder> for RouteSpecBuilder
impl PartialEq<RouteSpecBuilder> for RouteSpecBuilder
source§fn eq(&self, other: &RouteSpecBuilder) -> bool
fn eq(&self, other: &RouteSpecBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.