#[non_exhaustive]pub struct SubnetMappingBuilder { /* private fields */ }
Expand description
A builder for SubnetMapping
.
Implementations§
source§impl SubnetMappingBuilder
impl SubnetMappingBuilder
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The ID of the subnet.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The ID of the subnet.
sourcepub fn allocation_id(self, input: impl Into<String>) -> Self
pub fn allocation_id(self, input: impl Into<String>) -> Self
\[Network Load Balancers\] The allocation ID of the Elastic IP address for an internet-facing load balancer.
sourcepub fn set_allocation_id(self, input: Option<String>) -> Self
pub fn set_allocation_id(self, input: Option<String>) -> Self
\[Network Load Balancers\] The allocation ID of the Elastic IP address for an internet-facing load balancer.
sourcepub fn get_allocation_id(&self) -> &Option<String>
pub fn get_allocation_id(&self) -> &Option<String>
\[Network Load Balancers\] The allocation ID of the Elastic IP address for an internet-facing load balancer.
sourcepub fn private_ipv4_address(self, input: impl Into<String>) -> Self
pub fn private_ipv4_address(self, input: impl Into<String>) -> Self
\[Network Load Balancers\] The private IPv4 address for an internal load balancer.
sourcepub fn set_private_ipv4_address(self, input: Option<String>) -> Self
pub fn set_private_ipv4_address(self, input: Option<String>) -> Self
\[Network Load Balancers\] The private IPv4 address for an internal load balancer.
sourcepub fn get_private_ipv4_address(&self) -> &Option<String>
pub fn get_private_ipv4_address(&self) -> &Option<String>
\[Network Load Balancers\] The private IPv4 address for an internal load balancer.
sourcepub fn ipv6_address(self, input: impl Into<String>) -> Self
pub fn ipv6_address(self, input: impl Into<String>) -> Self
\[Network Load Balancers\] The IPv6 address.
sourcepub fn set_ipv6_address(self, input: Option<String>) -> Self
pub fn set_ipv6_address(self, input: Option<String>) -> Self
\[Network Load Balancers\] The IPv6 address.
sourcepub fn get_ipv6_address(&self) -> &Option<String>
pub fn get_ipv6_address(&self) -> &Option<String>
\[Network Load Balancers\] The IPv6 address.
sourcepub fn build(self) -> SubnetMapping
pub fn build(self) -> SubnetMapping
Consumes the builder and constructs a SubnetMapping
.
Trait Implementations§
source§impl Clone for SubnetMappingBuilder
impl Clone for SubnetMappingBuilder
source§fn clone(&self) -> SubnetMappingBuilder
fn clone(&self) -> SubnetMappingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SubnetMappingBuilder
impl Debug for SubnetMappingBuilder
source§impl Default for SubnetMappingBuilder
impl Default for SubnetMappingBuilder
source§fn default() -> SubnetMappingBuilder
fn default() -> SubnetMappingBuilder
source§impl PartialEq for SubnetMappingBuilder
impl PartialEq for SubnetMappingBuilder
impl StructuralPartialEq for SubnetMappingBuilder
Auto Trait Implementations§
impl Freeze for SubnetMappingBuilder
impl RefUnwindSafe for SubnetMappingBuilder
impl Send for SubnetMappingBuilder
impl Sync for SubnetMappingBuilder
impl Unpin for SubnetMappingBuilder
impl UnwindSafe for SubnetMappingBuilder
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