Struct aws_sdk_ec2::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesInputBuilder
source · #[non_exhaustive]pub struct UnassignPrivateIpAddressesInputBuilder { /* private fields */ }Expand description
A builder for UnassignPrivateIpAddressesInput.
Implementations§
source§impl UnassignPrivateIpAddressesInputBuilder
impl UnassignPrivateIpAddressesInputBuilder
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.
This field is required.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 private_ip_addresses(self, input: impl Into<String>) -> Self
pub fn private_ip_addresses(self, input: impl Into<String>) -> Self
Appends an item to private_ip_addresses.
To override the contents of this collection use set_private_ip_addresses.
The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.
sourcepub fn set_private_ip_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_private_ip_addresses(self, input: Option<Vec<String>>) -> Self
The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.
sourcepub fn get_private_ip_addresses(&self) -> &Option<Vec<String>>
pub fn get_private_ip_addresses(&self) -> &Option<Vec<String>>
The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.
sourcepub fn ipv4_prefixes(self, input: impl Into<String>) -> Self
pub fn ipv4_prefixes(self, input: impl Into<String>) -> Self
Appends an item to ipv4_prefixes.
To override the contents of this collection use set_ipv4_prefixes.
The IPv4 prefixes to unassign from the network interface.
sourcepub fn set_ipv4_prefixes(self, input: Option<Vec<String>>) -> Self
pub fn set_ipv4_prefixes(self, input: Option<Vec<String>>) -> Self
The IPv4 prefixes to unassign from the network interface.
sourcepub fn get_ipv4_prefixes(&self) -> &Option<Vec<String>>
pub fn get_ipv4_prefixes(&self) -> &Option<Vec<String>>
The IPv4 prefixes to unassign from the network interface.
sourcepub fn build(self) -> Result<UnassignPrivateIpAddressesInput, BuildError>
pub fn build(self) -> Result<UnassignPrivateIpAddressesInput, BuildError>
Consumes the builder and constructs a UnassignPrivateIpAddressesInput.
source§impl UnassignPrivateIpAddressesInputBuilder
impl UnassignPrivateIpAddressesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UnassignPrivateIpAddressesOutput, SdkError<UnassignPrivateIpAddressesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UnassignPrivateIpAddressesOutput, SdkError<UnassignPrivateIpAddressesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UnassignPrivateIpAddressesInputBuilder
impl Clone for UnassignPrivateIpAddressesInputBuilder
source§fn clone(&self) -> UnassignPrivateIpAddressesInputBuilder
fn clone(&self) -> UnassignPrivateIpAddressesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UnassignPrivateIpAddressesInputBuilder
impl Default for UnassignPrivateIpAddressesInputBuilder
source§fn default() -> UnassignPrivateIpAddressesInputBuilder
fn default() -> UnassignPrivateIpAddressesInputBuilder
source§impl PartialEq for UnassignPrivateIpAddressesInputBuilder
impl PartialEq for UnassignPrivateIpAddressesInputBuilder
source§fn eq(&self, other: &UnassignPrivateIpAddressesInputBuilder) -> bool
fn eq(&self, other: &UnassignPrivateIpAddressesInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnassignPrivateIpAddressesInputBuilder
Auto Trait Implementations§
impl Freeze for UnassignPrivateIpAddressesInputBuilder
impl RefUnwindSafe for UnassignPrivateIpAddressesInputBuilder
impl Send for UnassignPrivateIpAddressesInputBuilder
impl Sync for UnassignPrivateIpAddressesInputBuilder
impl Unpin for UnassignPrivateIpAddressesInputBuilder
impl UnwindSafe for UnassignPrivateIpAddressesInputBuilder
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