Struct aws_sdk_ec2::operation::assign_private_nat_gateway_address::builders::AssignPrivateNatGatewayAddressOutputBuilder
source · #[non_exhaustive]pub struct AssignPrivateNatGatewayAddressOutputBuilder { /* private fields */ }
Expand description
A builder for AssignPrivateNatGatewayAddressOutput
.
Implementations§
source§impl AssignPrivateNatGatewayAddressOutputBuilder
impl AssignPrivateNatGatewayAddressOutputBuilder
sourcepub fn nat_gateway_id(self, input: impl Into<String>) -> Self
pub fn nat_gateway_id(self, input: impl Into<String>) -> Self
The ID of the NAT gateway.
sourcepub fn set_nat_gateway_id(self, input: Option<String>) -> Self
pub fn set_nat_gateway_id(self, input: Option<String>) -> Self
The ID of the NAT gateway.
sourcepub fn get_nat_gateway_id(&self) -> &Option<String>
pub fn get_nat_gateway_id(&self) -> &Option<String>
The ID of the NAT gateway.
sourcepub fn nat_gateway_addresses(self, input: NatGatewayAddress) -> Self
pub fn nat_gateway_addresses(self, input: NatGatewayAddress) -> Self
Appends an item to nat_gateway_addresses
.
To override the contents of this collection use set_nat_gateway_addresses
.
NAT gateway IP addresses.
sourcepub fn set_nat_gateway_addresses(
self,
input: Option<Vec<NatGatewayAddress>>
) -> Self
pub fn set_nat_gateway_addresses( self, input: Option<Vec<NatGatewayAddress>> ) -> Self
NAT gateway IP addresses.
sourcepub fn get_nat_gateway_addresses(&self) -> &Option<Vec<NatGatewayAddress>>
pub fn get_nat_gateway_addresses(&self) -> &Option<Vec<NatGatewayAddress>>
NAT gateway IP addresses.
sourcepub fn build(self) -> AssignPrivateNatGatewayAddressOutput
pub fn build(self) -> AssignPrivateNatGatewayAddressOutput
Consumes the builder and constructs a AssignPrivateNatGatewayAddressOutput
.
Trait Implementations§
source§impl Clone for AssignPrivateNatGatewayAddressOutputBuilder
impl Clone for AssignPrivateNatGatewayAddressOutputBuilder
source§fn clone(&self) -> AssignPrivateNatGatewayAddressOutputBuilder
fn clone(&self) -> AssignPrivateNatGatewayAddressOutputBuilder
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 AssignPrivateNatGatewayAddressOutputBuilder
impl Default for AssignPrivateNatGatewayAddressOutputBuilder
source§fn default() -> AssignPrivateNatGatewayAddressOutputBuilder
fn default() -> AssignPrivateNatGatewayAddressOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssignPrivateNatGatewayAddressOutputBuilder
impl PartialEq for AssignPrivateNatGatewayAddressOutputBuilder
source§fn eq(&self, other: &AssignPrivateNatGatewayAddressOutputBuilder) -> bool
fn eq(&self, other: &AssignPrivateNatGatewayAddressOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssignPrivateNatGatewayAddressOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AssignPrivateNatGatewayAddressOutputBuilder
impl Send for AssignPrivateNatGatewayAddressOutputBuilder
impl Sync for AssignPrivateNatGatewayAddressOutputBuilder
impl Unpin for AssignPrivateNatGatewayAddressOutputBuilder
impl UnwindSafe for AssignPrivateNatGatewayAddressOutputBuilder
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.