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