Struct aws_sdk_appmesh::types::builders::HttpRouteBuilder
source · #[non_exhaustive]pub struct HttpRouteBuilder { /* private fields */ }Expand description
A builder for HttpRoute.
Implementations§
source§impl HttpRouteBuilder
impl HttpRouteBuilder
sourcepub fn match(self, input: HttpRouteMatch) -> Self
pub fn match(self, input: HttpRouteMatch) -> Self
An object that represents the criteria for determining a request match.
sourcepub fn set_match(self, input: Option<HttpRouteMatch>) -> Self
pub fn set_match(self, input: Option<HttpRouteMatch>) -> Self
An object that represents the criteria for determining a request match.
sourcepub fn action(self, input: HttpRouteAction) -> Self
pub fn action(self, input: HttpRouteAction) -> Self
An object that represents the action to take if a match is determined.
sourcepub fn set_action(self, input: Option<HttpRouteAction>) -> Self
pub fn set_action(self, input: Option<HttpRouteAction>) -> Self
An object that represents the action to take if a match is determined.
sourcepub fn retry_policy(self, input: HttpRetryPolicy) -> Self
pub fn retry_policy(self, input: HttpRetryPolicy) -> Self
An object that represents a retry policy.
sourcepub fn set_retry_policy(self, input: Option<HttpRetryPolicy>) -> Self
pub fn set_retry_policy(self, input: Option<HttpRetryPolicy>) -> Self
An object that represents a retry policy.
sourcepub fn timeout(self, input: HttpTimeout) -> Self
pub fn timeout(self, input: HttpTimeout) -> Self
An object that represents types of timeouts.
sourcepub fn set_timeout(self, input: Option<HttpTimeout>) -> Self
pub fn set_timeout(self, input: Option<HttpTimeout>) -> Self
An object that represents types of timeouts.
Trait Implementations§
source§impl Clone for HttpRouteBuilder
impl Clone for HttpRouteBuilder
source§fn clone(&self) -> HttpRouteBuilder
fn clone(&self) -> HttpRouteBuilder
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 HttpRouteBuilder
impl Debug for HttpRouteBuilder
source§impl Default for HttpRouteBuilder
impl Default for HttpRouteBuilder
source§fn default() -> HttpRouteBuilder
fn default() -> HttpRouteBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<HttpRouteBuilder> for HttpRouteBuilder
impl PartialEq<HttpRouteBuilder> for HttpRouteBuilder
source§fn eq(&self, other: &HttpRouteBuilder) -> bool
fn eq(&self, other: &HttpRouteBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.