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