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 get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
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 get_http_route(&self) -> &Option<HttpRoute>
pub fn get_http_route(&self) -> &Option<HttpRoute>
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 get_tcp_route(&self) -> &Option<TcpRoute>
pub fn get_tcp_route(&self) -> &Option<TcpRoute>
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 get_http2_route(&self) -> &Option<HttpRoute>
pub fn get_http2_route(&self) -> &Option<HttpRoute>
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.
sourcepub fn get_grpc_route(&self) -> &Option<GrpcRoute>
pub fn get_grpc_route(&self) -> &Option<GrpcRoute>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for RouteSpecBuilder
impl PartialEq for RouteSpecBuilder
source§fn eq(&self, other: &RouteSpecBuilder) -> bool
fn eq(&self, other: &RouteSpecBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.