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
impl StructuralPartialEq for RouteSpecBuilder
Auto Trait Implementations§
impl Freeze for RouteSpecBuilder
impl RefUnwindSafe for RouteSpecBuilder
impl Send for RouteSpecBuilder
impl Sync for RouteSpecBuilder
impl Unpin for RouteSpecBuilder
impl UnwindSafe for RouteSpecBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more