Struct aws_sdk_ec2::input::unassign_ipv6_addresses_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UnassignIpv6AddressesInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> Result<UnassignIpv6AddressesInput, BuildError>
pub fn build(self) -> Result<UnassignIpv6AddressesInput, BuildError>
Consumes the builder and constructs a UnassignIpv6AddressesInput
.