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