#[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
source§fn eq(&self, other: &SubnetMappingBuilder) -> bool
fn eq(&self, other: &SubnetMappingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.