#[non_exhaustive]pub struct CreateNatGatewayOutputBuilder { /* private fields */ }
Expand description
A builder for CreateNatGatewayOutput
.
Implementations§
source§impl CreateNatGatewayOutputBuilder
impl CreateNatGatewayOutputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
sourcepub fn nat_gateway(self, input: NatGateway) -> Self
pub fn nat_gateway(self, input: NatGateway) -> Self
Information about the NAT gateway.
sourcepub fn set_nat_gateway(self, input: Option<NatGateway>) -> Self
pub fn set_nat_gateway(self, input: Option<NatGateway>) -> Self
Information about the NAT gateway.
sourcepub fn get_nat_gateway(&self) -> &Option<NatGateway>
pub fn get_nat_gateway(&self) -> &Option<NatGateway>
Information about the NAT gateway.
sourcepub fn build(self) -> CreateNatGatewayOutput
pub fn build(self) -> CreateNatGatewayOutput
Consumes the builder and constructs a CreateNatGatewayOutput
.
Trait Implementations§
source§impl Clone for CreateNatGatewayOutputBuilder
impl Clone for CreateNatGatewayOutputBuilder
source§fn clone(&self) -> CreateNatGatewayOutputBuilder
fn clone(&self) -> CreateNatGatewayOutputBuilder
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 CreateNatGatewayOutputBuilder
impl Default for CreateNatGatewayOutputBuilder
source§fn default() -> CreateNatGatewayOutputBuilder
fn default() -> CreateNatGatewayOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateNatGatewayOutputBuilder
impl PartialEq for CreateNatGatewayOutputBuilder
source§fn eq(&self, other: &CreateNatGatewayOutputBuilder) -> bool
fn eq(&self, other: &CreateNatGatewayOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateNatGatewayOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateNatGatewayOutputBuilder
impl RefUnwindSafe for CreateNatGatewayOutputBuilder
impl Send for CreateNatGatewayOutputBuilder
impl Sync for CreateNatGatewayOutputBuilder
impl Unpin for CreateNatGatewayOutputBuilder
impl UnwindSafe for CreateNatGatewayOutputBuilder
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.