#[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 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 private_i_pv4_address(self, input: impl Into<String>) -> Self
pub fn private_i_pv4_address(self, input: impl Into<String>) -> Self
[Network Load Balancers] The private IPv4 address for an internal load balancer.
sourcepub fn set_private_i_pv4_address(self, input: Option<String>) -> Self
pub fn set_private_i_pv4_address(self, input: Option<String>) -> Self
[Network Load Balancers] The private IPv4 address for an internal load balancer.
sourcepub fn i_pv6_address(self, input: impl Into<String>) -> Self
pub fn i_pv6_address(self, input: impl Into<String>) -> Self
[Network Load Balancers] The IPv6 address.
sourcepub fn set_i_pv6_address(self, input: Option<String>) -> Self
pub fn set_i_pv6_address(self, input: Option<String>) -> Self
[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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<SubnetMappingBuilder> for SubnetMappingBuilder
impl PartialEq<SubnetMappingBuilder> for SubnetMappingBuilder
source§fn eq(&self, other: &SubnetMappingBuilder) -> bool
fn eq(&self, other: &SubnetMappingBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SubnetMappingBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more