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