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 for PublicIpv4PoolRangeBuilder
impl PartialEq 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 Freeze for PublicIpv4PoolRangeBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.