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 NAT gateway ID.
sourcepub fn set_nat_gateway_id(self, input: Option<String>) -> Self
pub fn set_nat_gateway_id(self, input: Option<String>) -> Self
The NAT gateway ID.
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 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<AssignPrivateNatGatewayAddressOutputBuilder> for AssignPrivateNatGatewayAddressOutputBuilder
impl PartialEq<AssignPrivateNatGatewayAddressOutputBuilder> 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 ==.