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 get_first_address(&self) -> &Option<String>
pub fn get_first_address(&self) -> &Option<String>
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 get_last_address(&self) -> &Option<String>
pub fn get_last_address(&self) -> &Option<String>
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 get_address_count(&self) -> &Option<i32>
pub fn get_address_count(&self) -> &Option<i32>
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 get_available_address_count(&self) -> &Option<i32>
pub fn get_available_address_count(&self) -> &Option<i32>
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 ==
.impl StructuralPartialEq for PublicIpv4PoolRangeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PublicIpv4PoolRangeBuilder
impl Send for PublicIpv4PoolRangeBuilder
impl Sync for PublicIpv4PoolRangeBuilder
impl Unpin for PublicIpv4PoolRangeBuilder
impl UnwindSafe for PublicIpv4PoolRangeBuilder
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