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