Struct aws_sdk_ec2::operation::associate_nat_gateway_address::builders::AssociateNatGatewayAddressOutputBuilder
source · #[non_exhaustive]pub struct AssociateNatGatewayAddressOutputBuilder { /* private fields */ }Expand description
A builder for AssociateNatGatewayAddressOutput.
Implementations§
source§impl AssociateNatGatewayAddressOutputBuilder
impl AssociateNatGatewayAddressOutputBuilder
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.
The 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
The IP addresses.
sourcepub fn get_nat_gateway_addresses(&self) -> &Option<Vec<NatGatewayAddress>>
pub fn get_nat_gateway_addresses(&self) -> &Option<Vec<NatGatewayAddress>>
The IP addresses.
sourcepub fn build(self) -> AssociateNatGatewayAddressOutput
pub fn build(self) -> AssociateNatGatewayAddressOutput
Consumes the builder and constructs a AssociateNatGatewayAddressOutput.
Trait Implementations§
source§impl Clone for AssociateNatGatewayAddressOutputBuilder
impl Clone for AssociateNatGatewayAddressOutputBuilder
source§fn clone(&self) -> AssociateNatGatewayAddressOutputBuilder
fn clone(&self) -> AssociateNatGatewayAddressOutputBuilder
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 AssociateNatGatewayAddressOutputBuilder
impl Default for AssociateNatGatewayAddressOutputBuilder
source§fn default() -> AssociateNatGatewayAddressOutputBuilder
fn default() -> AssociateNatGatewayAddressOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AssociateNatGatewayAddressOutputBuilder> for AssociateNatGatewayAddressOutputBuilder
impl PartialEq<AssociateNatGatewayAddressOutputBuilder> for AssociateNatGatewayAddressOutputBuilder
source§fn eq(&self, other: &AssociateNatGatewayAddressOutputBuilder) -> bool
fn eq(&self, other: &AssociateNatGatewayAddressOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateNatGatewayAddressOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AssociateNatGatewayAddressOutputBuilder
impl Send for AssociateNatGatewayAddressOutputBuilder
impl Sync for AssociateNatGatewayAddressOutputBuilder
impl Unpin for AssociateNatGatewayAddressOutputBuilder
impl UnwindSafe for AssociateNatGatewayAddressOutputBuilder
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