Struct aws_sdk_appmesh::types::builders::TcpRouteBuilder
source · #[non_exhaustive]pub struct TcpRouteBuilder { /* private fields */ }
Expand description
A builder for TcpRoute
.
Implementations§
source§impl TcpRouteBuilder
impl TcpRouteBuilder
sourcepub fn action(self, input: TcpRouteAction) -> Self
pub fn action(self, input: TcpRouteAction) -> Self
The action to take if a match is determined.
This field is required.sourcepub fn set_action(self, input: Option<TcpRouteAction>) -> Self
pub fn set_action(self, input: Option<TcpRouteAction>) -> Self
The action to take if a match is determined.
sourcepub fn get_action(&self) -> &Option<TcpRouteAction>
pub fn get_action(&self) -> &Option<TcpRouteAction>
The action to take if a match is determined.
sourcepub fn timeout(self, input: TcpTimeout) -> Self
pub fn timeout(self, input: TcpTimeout) -> Self
An object that represents types of timeouts.
sourcepub fn set_timeout(self, input: Option<TcpTimeout>) -> Self
pub fn set_timeout(self, input: Option<TcpTimeout>) -> Self
An object that represents types of timeouts.
sourcepub fn get_timeout(&self) -> &Option<TcpTimeout>
pub fn get_timeout(&self) -> &Option<TcpTimeout>
An object that represents types of timeouts.
sourcepub fn match(self, input: TcpRouteMatch) -> Self
pub fn match(self, input: TcpRouteMatch) -> Self
An object that represents the criteria for determining a request match.
sourcepub fn set_match(self, input: Option<TcpRouteMatch>) -> Self
pub fn set_match(self, input: Option<TcpRouteMatch>) -> Self
An object that represents the criteria for determining a request match.
sourcepub fn get_match(&self) -> &Option<TcpRouteMatch>
pub fn get_match(&self) -> &Option<TcpRouteMatch>
An object that represents the criteria for determining a request match.
Trait Implementations§
source§impl Clone for TcpRouteBuilder
impl Clone for TcpRouteBuilder
source§fn clone(&self) -> TcpRouteBuilder
fn clone(&self) -> TcpRouteBuilder
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 TcpRouteBuilder
impl Debug for TcpRouteBuilder
source§impl Default for TcpRouteBuilder
impl Default for TcpRouteBuilder
source§fn default() -> TcpRouteBuilder
fn default() -> TcpRouteBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TcpRouteBuilder
impl PartialEq for TcpRouteBuilder
source§fn eq(&self, other: &TcpRouteBuilder) -> bool
fn eq(&self, other: &TcpRouteBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TcpRouteBuilder
Auto Trait Implementations§
impl Freeze for TcpRouteBuilder
impl RefUnwindSafe for TcpRouteBuilder
impl Send for TcpRouteBuilder
impl Sync for TcpRouteBuilder
impl Unpin for TcpRouteBuilder
impl UnwindSafe for TcpRouteBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.