Struct aws_sdk_ec2::operation::assign_private_ip_addresses::builders::AssignPrivateIpAddressesOutputBuilder
source · #[non_exhaustive]pub struct AssignPrivateIpAddressesOutputBuilder { /* private fields */ }Expand description
A builder for AssignPrivateIpAddressesOutput.
Implementations§
source§impl AssignPrivateIpAddressesOutputBuilder
impl AssignPrivateIpAddressesOutputBuilder
sourcepub fn network_interface_id(self, input: impl Into<String>) -> Self
pub fn network_interface_id(self, input: impl Into<String>) -> Self
The ID of the network interface.
sourcepub fn set_network_interface_id(self, input: Option<String>) -> Self
pub fn set_network_interface_id(self, input: Option<String>) -> Self
The ID of the network interface.
sourcepub fn assigned_private_ip_addresses(
self,
input: AssignedPrivateIpAddress
) -> Self
pub fn assigned_private_ip_addresses( self, input: AssignedPrivateIpAddress ) -> Self
Appends an item to assigned_private_ip_addresses.
To override the contents of this collection use set_assigned_private_ip_addresses.
The private IP addresses assigned to the network interface.
sourcepub fn set_assigned_private_ip_addresses(
self,
input: Option<Vec<AssignedPrivateIpAddress>>
) -> Self
pub fn set_assigned_private_ip_addresses( self, input: Option<Vec<AssignedPrivateIpAddress>> ) -> Self
The private IP addresses assigned to the network interface.
sourcepub fn assigned_ipv4_prefixes(self, input: Ipv4PrefixSpecification) -> Self
pub fn assigned_ipv4_prefixes(self, input: Ipv4PrefixSpecification) -> Self
Appends an item to assigned_ipv4_prefixes.
To override the contents of this collection use set_assigned_ipv4_prefixes.
The IPv4 prefixes that are assigned to the network interface.
sourcepub fn set_assigned_ipv4_prefixes(
self,
input: Option<Vec<Ipv4PrefixSpecification>>
) -> Self
pub fn set_assigned_ipv4_prefixes( self, input: Option<Vec<Ipv4PrefixSpecification>> ) -> Self
The IPv4 prefixes that are assigned to the network interface.
sourcepub fn build(self) -> AssignPrivateIpAddressesOutput
pub fn build(self) -> AssignPrivateIpAddressesOutput
Consumes the builder and constructs a AssignPrivateIpAddressesOutput.
Trait Implementations§
source§impl Clone for AssignPrivateIpAddressesOutputBuilder
impl Clone for AssignPrivateIpAddressesOutputBuilder
source§fn clone(&self) -> AssignPrivateIpAddressesOutputBuilder
fn clone(&self) -> AssignPrivateIpAddressesOutputBuilder
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 AssignPrivateIpAddressesOutputBuilder
impl Default for AssignPrivateIpAddressesOutputBuilder
source§fn default() -> AssignPrivateIpAddressesOutputBuilder
fn default() -> AssignPrivateIpAddressesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AssignPrivateIpAddressesOutputBuilder> for AssignPrivateIpAddressesOutputBuilder
impl PartialEq<AssignPrivateIpAddressesOutputBuilder> for AssignPrivateIpAddressesOutputBuilder
source§fn eq(&self, other: &AssignPrivateIpAddressesOutputBuilder) -> bool
fn eq(&self, other: &AssignPrivateIpAddressesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.