Struct aws_sdk_ec2::model::public_ipv4_pool_range::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for PublicIpv4PoolRange
.
Implementations
sourceimpl Builder
impl Builder
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
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more