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 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
.
Trait Implementations§
source§impl Clone for GatewayRouteSpecBuilder
impl Clone for GatewayRouteSpecBuilder
source§fn clone(&self) -> GatewayRouteSpecBuilder
fn clone(&self) -> GatewayRouteSpecBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<GatewayRouteSpecBuilder> for GatewayRouteSpecBuilder
impl PartialEq<GatewayRouteSpecBuilder> for GatewayRouteSpecBuilder
source§fn eq(&self, other: &GatewayRouteSpecBuilder) -> bool
fn eq(&self, other: &GatewayRouteSpecBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GatewayRouteSpecBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more