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