Struct aws_sdk_appmesh::types::builders::GatewayRouteSpecBuilder
source · #[non_exhaustive]pub struct GatewayRouteSpecBuilder { /* private fields */ }
Expand description
A builder for GatewayRouteSpec
.
Implementations§
source§impl GatewayRouteSpecBuilder
impl GatewayRouteSpecBuilder
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 get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
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 get_http_route(&self) -> &Option<HttpGatewayRoute>
pub fn get_http_route(&self) -> &Option<HttpGatewayRoute>
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 get_http2_route(&self) -> &Option<HttpGatewayRoute>
pub fn get_http2_route(&self) -> &Option<HttpGatewayRoute>
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 get_grpc_route(&self) -> &Option<GrpcGatewayRoute>
pub fn get_grpc_route(&self) -> &Option<GrpcGatewayRoute>
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
.
Trait Implementations§
source§impl Clone for GatewayRouteSpecBuilder
impl Clone for GatewayRouteSpecBuilder
source§fn clone(&self) -> GatewayRouteSpecBuilder
fn clone(&self) -> GatewayRouteSpecBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GatewayRouteSpecBuilder
impl Debug for GatewayRouteSpecBuilder
source§impl Default for GatewayRouteSpecBuilder
impl Default for GatewayRouteSpecBuilder
source§fn default() -> GatewayRouteSpecBuilder
fn default() -> GatewayRouteSpecBuilder
source§impl PartialEq for GatewayRouteSpecBuilder
impl PartialEq for GatewayRouteSpecBuilder
source§fn eq(&self, other: &GatewayRouteSpecBuilder) -> bool
fn eq(&self, other: &GatewayRouteSpecBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.