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