Struct aws_sdk_appmesh::model::grpc_gateway_route_action::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GrpcGatewayRouteAction
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn target(self, input: GatewayRouteTarget) -> Self
pub fn target(self, input: GatewayRouteTarget) -> Self
An object that represents the target that traffic is routed to when a request matches the gateway route.
sourcepub fn set_target(self, input: Option<GatewayRouteTarget>) -> Self
pub fn set_target(self, input: Option<GatewayRouteTarget>) -> Self
An object that represents the target that traffic is routed to when a request matches the gateway route.
sourcepub fn rewrite(self, input: GrpcGatewayRouteRewrite) -> Self
pub fn rewrite(self, input: GrpcGatewayRouteRewrite) -> Self
The gateway route action to rewrite.
sourcepub fn set_rewrite(self, input: Option<GrpcGatewayRouteRewrite>) -> Self
pub fn set_rewrite(self, input: Option<GrpcGatewayRouteRewrite>) -> Self
The gateway route action to rewrite.
sourcepub fn build(self) -> GrpcGatewayRouteAction
pub fn build(self) -> GrpcGatewayRouteAction
Consumes the builder and constructs a GrpcGatewayRouteAction
.