#[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 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 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<PrivateIpAddressSpecificationBuilder> for PrivateIpAddressSpecificationBuilder
impl PartialEq<PrivateIpAddressSpecificationBuilder> 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 ==.