Struct aws_sdk_appmesh::model::grpc_gateway_route::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GrpcGatewayRoute
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn match(self, input: GrpcGatewayRouteMatch) -> Self
pub fn match(self, input: GrpcGatewayRouteMatch) -> Self
An object that represents the criteria for determining a request match.
sourcepub fn set_match(self, input: Option<GrpcGatewayRouteMatch>) -> Self
pub fn set_match(self, input: Option<GrpcGatewayRouteMatch>) -> Self
An object that represents the criteria for determining a request match.
sourcepub fn action(self, input: GrpcGatewayRouteAction) -> Self
pub fn action(self, input: GrpcGatewayRouteAction) -> Self
An object that represents the action to take if a match is determined.
sourcepub fn set_action(self, input: Option<GrpcGatewayRouteAction>) -> Self
pub fn set_action(self, input: Option<GrpcGatewayRouteAction>) -> Self
An object that represents the action to take if a match is determined.
sourcepub fn build(self) -> GrpcGatewayRoute
pub fn build(self) -> GrpcGatewayRoute
Consumes the builder and constructs a GrpcGatewayRoute
.