Struct aws_sdk_ec2::types::builders::InstanceIpv6AddressBuilder
source · #[non_exhaustive]pub struct InstanceIpv6AddressBuilder { /* private fields */ }
Expand description
A builder for InstanceIpv6Address
.
Implementations§
source§impl InstanceIpv6AddressBuilder
impl InstanceIpv6AddressBuilder
sourcepub fn ipv6_address(self, input: impl Into<String>) -> Self
pub fn ipv6_address(self, input: impl Into<String>) -> Self
The IPv6 address.
sourcepub fn set_ipv6_address(self, input: Option<String>) -> Self
pub fn set_ipv6_address(self, input: Option<String>) -> Self
The IPv6 address.
sourcepub fn get_ipv6_address(&self) -> &Option<String>
pub fn get_ipv6_address(&self) -> &Option<String>
The IPv6 address.
sourcepub fn is_primary_ipv6(self, input: bool) -> Self
pub fn is_primary_ipv6(self, input: bool) -> Self
Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see RunInstances.
sourcepub fn set_is_primary_ipv6(self, input: Option<bool>) -> Self
pub fn set_is_primary_ipv6(self, input: Option<bool>) -> Self
Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see RunInstances.
sourcepub fn get_is_primary_ipv6(&self) -> &Option<bool>
pub fn get_is_primary_ipv6(&self) -> &Option<bool>
Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see RunInstances.
sourcepub fn build(self) -> InstanceIpv6Address
pub fn build(self) -> InstanceIpv6Address
Consumes the builder and constructs a InstanceIpv6Address
.
Trait Implementations§
source§impl Clone for InstanceIpv6AddressBuilder
impl Clone for InstanceIpv6AddressBuilder
source§fn clone(&self) -> InstanceIpv6AddressBuilder
fn clone(&self) -> InstanceIpv6AddressBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceIpv6AddressBuilder
impl Debug for InstanceIpv6AddressBuilder
source§impl Default for InstanceIpv6AddressBuilder
impl Default for InstanceIpv6AddressBuilder
source§fn default() -> InstanceIpv6AddressBuilder
fn default() -> InstanceIpv6AddressBuilder
source§impl PartialEq for InstanceIpv6AddressBuilder
impl PartialEq for InstanceIpv6AddressBuilder
source§fn eq(&self, other: &InstanceIpv6AddressBuilder) -> bool
fn eq(&self, other: &InstanceIpv6AddressBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.