#[non_exhaustive]pub struct PrivateIpAddressSpecificationBuilder { /* private fields */ }
Expand description
A builder for PrivateIpAddressSpecification
.
Implementations§
source§impl PrivateIpAddressSpecificationBuilder
impl PrivateIpAddressSpecificationBuilder
sourcepub fn primary(self, input: bool) -> Self
pub fn primary(self, input: bool) -> Self
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
sourcepub fn set_primary(self, input: Option<bool>) -> Self
pub fn set_primary(self, input: Option<bool>) -> Self
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
sourcepub fn get_primary(&self) -> &Option<bool>
pub fn get_primary(&self) -> &Option<bool>
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
sourcepub fn private_ip_address(self, input: impl Into<String>) -> Self
pub fn private_ip_address(self, input: impl Into<String>) -> Self
The private IPv4 address.
sourcepub fn set_private_ip_address(self, input: Option<String>) -> Self
pub fn set_private_ip_address(self, input: Option<String>) -> Self
The private IPv4 address.
sourcepub fn get_private_ip_address(&self) -> &Option<String>
pub fn get_private_ip_address(&self) -> &Option<String>
The private IPv4 address.
sourcepub fn build(self) -> PrivateIpAddressSpecification
pub fn build(self) -> PrivateIpAddressSpecification
Consumes the builder and constructs a PrivateIpAddressSpecification
.
Trait Implementations§
source§impl Clone for PrivateIpAddressSpecificationBuilder
impl Clone for PrivateIpAddressSpecificationBuilder
source§fn clone(&self) -> PrivateIpAddressSpecificationBuilder
fn clone(&self) -> PrivateIpAddressSpecificationBuilder
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 Default for PrivateIpAddressSpecificationBuilder
impl Default for PrivateIpAddressSpecificationBuilder
source§fn default() -> PrivateIpAddressSpecificationBuilder
fn default() -> PrivateIpAddressSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PrivateIpAddressSpecificationBuilder
impl PartialEq for PrivateIpAddressSpecificationBuilder
source§fn eq(&self, other: &PrivateIpAddressSpecificationBuilder) -> bool
fn eq(&self, other: &PrivateIpAddressSpecificationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrivateIpAddressSpecificationBuilder
Auto Trait Implementations§
impl Freeze for PrivateIpAddressSpecificationBuilder
impl RefUnwindSafe for PrivateIpAddressSpecificationBuilder
impl Send for PrivateIpAddressSpecificationBuilder
impl Sync for PrivateIpAddressSpecificationBuilder
impl Unpin for PrivateIpAddressSpecificationBuilder
impl UnwindSafe for PrivateIpAddressSpecificationBuilder
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.