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 ==
.impl StructuralPartialEq for GatewayRouteSpecBuilder
Auto Trait Implementations§
impl Freeze for GatewayRouteSpecBuilder
impl RefUnwindSafe for GatewayRouteSpecBuilder
impl Send for GatewayRouteSpecBuilder
impl Sync for GatewayRouteSpecBuilder
impl Unpin for GatewayRouteSpecBuilder
impl UnwindSafe for GatewayRouteSpecBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more