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 get_network_interface_id(&self) -> &Option<String>
pub fn get_network_interface_id(&self) -> &Option<String>
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 get_assigned_private_ip_addresses(
&self
) -> &Option<Vec<AssignedPrivateIpAddress>>
pub fn get_assigned_private_ip_addresses( &self ) -> &Option<Vec<AssignedPrivateIpAddress>>
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 get_assigned_ipv4_prefixes(
&self
) -> &Option<Vec<Ipv4PrefixSpecification>>
pub fn get_assigned_ipv4_prefixes( &self ) -> &Option<Vec<Ipv4PrefixSpecification>>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssignPrivateIpAddressesOutputBuilder
impl Default for AssignPrivateIpAddressesOutputBuilder
source§fn default() -> AssignPrivateIpAddressesOutputBuilder
fn default() -> AssignPrivateIpAddressesOutputBuilder
source§impl PartialEq<AssignPrivateIpAddressesOutputBuilder> for AssignPrivateIpAddressesOutputBuilder
impl PartialEq<AssignPrivateIpAddressesOutputBuilder> for AssignPrivateIpAddressesOutputBuilder
source§fn eq(&self, other: &AssignPrivateIpAddressesOutputBuilder) -> bool
fn eq(&self, other: &AssignPrivateIpAddressesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.