Struct aws_sdk_ec2::operation::unassign_ipv6_addresses::builders::UnassignIpv6AddressesInputBuilder
source · #[non_exhaustive]pub struct UnassignIpv6AddressesInputBuilder { /* private fields */ }
Expand description
A builder for UnassignIpv6AddressesInput
.
Implementations§
source§impl UnassignIpv6AddressesInputBuilder
impl UnassignIpv6AddressesInputBuilder
sourcepub fn ipv6_addresses(self, input: impl Into<String>) -> Self
pub fn ipv6_addresses(self, input: impl Into<String>) -> Self
Appends an item to ipv6_addresses
.
To override the contents of this collection use set_ipv6_addresses
.
The IPv6 addresses to unassign from the network interface.
sourcepub fn set_ipv6_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_ipv6_addresses(self, input: Option<Vec<String>>) -> Self
The IPv6 addresses to unassign from the network interface.
sourcepub fn get_ipv6_addresses(&self) -> &Option<Vec<String>>
pub fn get_ipv6_addresses(&self) -> &Option<Vec<String>>
The IPv6 addresses to unassign from the network interface.
sourcepub fn ipv6_prefixes(self, input: impl Into<String>) -> Self
pub fn ipv6_prefixes(self, input: impl Into<String>) -> Self
Appends an item to ipv6_prefixes
.
To override the contents of this collection use set_ipv6_prefixes
.
The IPv6 prefixes to unassign from the network interface.
sourcepub fn set_ipv6_prefixes(self, input: Option<Vec<String>>) -> Self
pub fn set_ipv6_prefixes(self, input: Option<Vec<String>>) -> Self
The IPv6 prefixes to unassign from the network interface.
sourcepub fn get_ipv6_prefixes(&self) -> &Option<Vec<String>>
pub fn get_ipv6_prefixes(&self) -> &Option<Vec<String>>
The IPv6 prefixes to unassign from the network interface.
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 build(self) -> Result<UnassignIpv6AddressesInput, BuildError>
pub fn build(self) -> Result<UnassignIpv6AddressesInput, BuildError>
Consumes the builder and constructs a UnassignIpv6AddressesInput
.
source§impl UnassignIpv6AddressesInputBuilder
impl UnassignIpv6AddressesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UnassignIpv6AddressesOutput, SdkError<UnassignIpv6AddressesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UnassignIpv6AddressesOutput, SdkError<UnassignIpv6AddressesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UnassignIpv6AddressesInputBuilder
impl Clone for UnassignIpv6AddressesInputBuilder
source§fn clone(&self) -> UnassignIpv6AddressesInputBuilder
fn clone(&self) -> UnassignIpv6AddressesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UnassignIpv6AddressesInputBuilder
impl Default for UnassignIpv6AddressesInputBuilder
source§fn default() -> UnassignIpv6AddressesInputBuilder
fn default() -> UnassignIpv6AddressesInputBuilder
source§impl PartialEq for UnassignIpv6AddressesInputBuilder
impl PartialEq for UnassignIpv6AddressesInputBuilder
source§fn eq(&self, other: &UnassignIpv6AddressesInputBuilder) -> bool
fn eq(&self, other: &UnassignIpv6AddressesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnassignIpv6AddressesInputBuilder
Auto Trait Implementations§
impl Freeze for UnassignIpv6AddressesInputBuilder
impl RefUnwindSafe for UnassignIpv6AddressesInputBuilder
impl Send for UnassignIpv6AddressesInputBuilder
impl Sync for UnassignIpv6AddressesInputBuilder
impl Unpin for UnassignIpv6AddressesInputBuilder
impl UnwindSafe for UnassignIpv6AddressesInputBuilder
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> 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