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<CreateTransitGatewayRouteOutputBuilder> for CreateTransitGatewayRouteOutputBuilder
impl PartialEq<CreateTransitGatewayRouteOutputBuilder> 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 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