Struct aws_sdk_ec2::operation::create_transit_gateway_route::builders::CreateTransitGatewayRouteOutputBuilder
source · #[non_exhaustive]pub struct CreateTransitGatewayRouteOutputBuilder { /* private fields */ }
Expand description
A builder for CreateTransitGatewayRouteOutput
.
Implementations§
source§impl CreateTransitGatewayRouteOutputBuilder
impl CreateTransitGatewayRouteOutputBuilder
sourcepub fn route(self, input: TransitGatewayRoute) -> Self
pub fn route(self, input: TransitGatewayRoute) -> Self
Information about the route.
sourcepub fn set_route(self, input: Option<TransitGatewayRoute>) -> Self
pub fn set_route(self, input: Option<TransitGatewayRoute>) -> Self
Information about the route.
sourcepub fn get_route(&self) -> &Option<TransitGatewayRoute>
pub fn get_route(&self) -> &Option<TransitGatewayRoute>
Information about the route.
sourcepub fn build(self) -> CreateTransitGatewayRouteOutput
pub fn build(self) -> CreateTransitGatewayRouteOutput
Consumes the builder and constructs a CreateTransitGatewayRouteOutput
.
Trait Implementations§
source§impl Clone for CreateTransitGatewayRouteOutputBuilder
impl Clone for CreateTransitGatewayRouteOutputBuilder
source§fn clone(&self) -> CreateTransitGatewayRouteOutputBuilder
fn clone(&self) -> CreateTransitGatewayRouteOutputBuilder
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 Default for CreateTransitGatewayRouteOutputBuilder
impl Default for CreateTransitGatewayRouteOutputBuilder
source§fn default() -> CreateTransitGatewayRouteOutputBuilder
fn default() -> CreateTransitGatewayRouteOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateTransitGatewayRouteOutputBuilder
impl PartialEq for CreateTransitGatewayRouteOutputBuilder
source§fn eq(&self, other: &CreateTransitGatewayRouteOutputBuilder) -> bool
fn eq(&self, other: &CreateTransitGatewayRouteOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTransitGatewayRouteOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateTransitGatewayRouteOutputBuilder
impl RefUnwindSafe for CreateTransitGatewayRouteOutputBuilder
impl Send for CreateTransitGatewayRouteOutputBuilder
impl Sync for CreateTransitGatewayRouteOutputBuilder
impl Unpin for CreateTransitGatewayRouteOutputBuilder
impl UnwindSafe for CreateTransitGatewayRouteOutputBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.