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 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 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 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.
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 ==.