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.
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.
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<GrpcRouteBuilder> for GrpcRouteBuilder
impl PartialEq<GrpcRouteBuilder> 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 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