Struct aws_sdk_ec2::types::builders::PublicIpv4PoolRangeBuilder
source · #[non_exhaustive]pub struct PublicIpv4PoolRangeBuilder { /* private fields */ }Expand description
A builder for PublicIpv4PoolRange.
Implementations§
source§impl PublicIpv4PoolRangeBuilder
impl PublicIpv4PoolRangeBuilder
sourcepub fn first_address(self, input: impl Into<String>) -> Self
pub fn first_address(self, input: impl Into<String>) -> Self
The first IP address in the range.
sourcepub fn set_first_address(self, input: Option<String>) -> Self
pub fn set_first_address(self, input: Option<String>) -> Self
The first IP address in the range.
sourcepub fn last_address(self, input: impl Into<String>) -> Self
pub fn last_address(self, input: impl Into<String>) -> Self
The last IP address in the range.
sourcepub fn set_last_address(self, input: Option<String>) -> Self
pub fn set_last_address(self, input: Option<String>) -> Self
The last IP address in the range.
sourcepub fn address_count(self, input: i32) -> Self
pub fn address_count(self, input: i32) -> Self
The number of addresses in the range.
sourcepub fn set_address_count(self, input: Option<i32>) -> Self
pub fn set_address_count(self, input: Option<i32>) -> Self
The number of addresses in the range.
sourcepub fn available_address_count(self, input: i32) -> Self
pub fn available_address_count(self, input: i32) -> Self
The number of available addresses in the range.
sourcepub fn set_available_address_count(self, input: Option<i32>) -> Self
pub fn set_available_address_count(self, input: Option<i32>) -> Self
The number of available addresses in the range.
sourcepub fn build(self) -> PublicIpv4PoolRange
pub fn build(self) -> PublicIpv4PoolRange
Consumes the builder and constructs a PublicIpv4PoolRange.
Trait Implementations§
source§impl Clone for PublicIpv4PoolRangeBuilder
impl Clone for PublicIpv4PoolRangeBuilder
source§fn clone(&self) -> PublicIpv4PoolRangeBuilder
fn clone(&self) -> PublicIpv4PoolRangeBuilder
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 PublicIpv4PoolRangeBuilder
impl Debug for PublicIpv4PoolRangeBuilder
source§impl Default for PublicIpv4PoolRangeBuilder
impl Default for PublicIpv4PoolRangeBuilder
source§fn default() -> PublicIpv4PoolRangeBuilder
fn default() -> PublicIpv4PoolRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PublicIpv4PoolRangeBuilder> for PublicIpv4PoolRangeBuilder
impl PartialEq<PublicIpv4PoolRangeBuilder> for PublicIpv4PoolRangeBuilder
source§fn eq(&self, other: &PublicIpv4PoolRangeBuilder) -> bool
fn eq(&self, other: &PublicIpv4PoolRangeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.