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