#[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<CreateNatGatewayOutputBuilder> for CreateNatGatewayOutputBuilder
impl PartialEq<CreateNatGatewayOutputBuilder> 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 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