Struct aws_sdk_appmesh::model::HttpGatewayRouteAction
source · #[non_exhaustive]pub struct HttpGatewayRouteAction { /* private fields */ }
Expand description
An object that represents the action to take if a match is determined.
Implementations§
source§impl HttpGatewayRouteAction
impl HttpGatewayRouteAction
sourcepub fn target(&self) -> Option<&GatewayRouteTarget>
pub fn target(&self) -> Option<&GatewayRouteTarget>
An object that represents the target that traffic is routed to when a request matches the gateway route.
sourcepub fn rewrite(&self) -> Option<&HttpGatewayRouteRewrite>
pub fn rewrite(&self) -> Option<&HttpGatewayRouteRewrite>
The gateway route action to rewrite.
source§impl HttpGatewayRouteAction
impl HttpGatewayRouteAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture HttpGatewayRouteAction
.
Trait Implementations§
source§impl Clone for HttpGatewayRouteAction
impl Clone for HttpGatewayRouteAction
source§fn clone(&self) -> HttpGatewayRouteAction
fn clone(&self) -> HttpGatewayRouteAction
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 more