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 for AssignPrivateIpAddressesOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for AssignPrivateIpAddressesOutputBuilder
Auto Trait Implementations§
impl Freeze for AssignPrivateIpAddressesOutputBuilder
impl RefUnwindSafe for AssignPrivateIpAddressesOutputBuilder
impl Send for AssignPrivateIpAddressesOutputBuilder
impl Sync for AssignPrivateIpAddressesOutputBuilder
impl Unpin for AssignPrivateIpAddressesOutputBuilder
impl UnwindSafe for AssignPrivateIpAddressesOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more