Struct aws_sdk_appmesh::model::grpc_route::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GrpcRoute
.
Implementations§
source§impl Builder
impl Builder
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.