Struct aws_sdk_appmesh::model::gateway_route_spec::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GatewayRouteSpec
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The ordering of the gateway routes spec.
sourcepub fn http_route(self, input: HttpGatewayRoute) -> Self
pub fn http_route(self, input: HttpGatewayRoute) -> Self
An object that represents the specification of an HTTP gateway route.
sourcepub fn set_http_route(self, input: Option<HttpGatewayRoute>) -> Self
pub fn set_http_route(self, input: Option<HttpGatewayRoute>) -> Self
An object that represents the specification of an HTTP gateway route.
sourcepub fn http2_route(self, input: HttpGatewayRoute) -> Self
pub fn http2_route(self, input: HttpGatewayRoute) -> Self
An object that represents the specification of an HTTP/2 gateway route.
sourcepub fn set_http2_route(self, input: Option<HttpGatewayRoute>) -> Self
pub fn set_http2_route(self, input: Option<HttpGatewayRoute>) -> Self
An object that represents the specification of an HTTP/2 gateway route.
sourcepub fn grpc_route(self, input: GrpcGatewayRoute) -> Self
pub fn grpc_route(self, input: GrpcGatewayRoute) -> Self
An object that represents the specification of a gRPC gateway route.
sourcepub fn set_grpc_route(self, input: Option<GrpcGatewayRoute>) -> Self
pub fn set_grpc_route(self, input: Option<GrpcGatewayRoute>) -> Self
An object that represents the specification of a gRPC gateway route.
sourcepub fn build(self) -> GatewayRouteSpec
pub fn build(self) -> GatewayRouteSpec
Consumes the builder and constructs a GatewayRouteSpec
.