Struct aws_sdk_ec2::types::builders::MovingAddressStatusBuilder
source · #[non_exhaustive]pub struct MovingAddressStatusBuilder { /* private fields */ }
Expand description
A builder for MovingAddressStatus
.
Implementations§
source§impl MovingAddressStatusBuilder
impl MovingAddressStatusBuilder
sourcepub fn move_status(self, input: MoveStatus) -> Self
pub fn move_status(self, input: MoveStatus) -> Self
The status of the Elastic IP address that's being moved or restored.
sourcepub fn set_move_status(self, input: Option<MoveStatus>) -> Self
pub fn set_move_status(self, input: Option<MoveStatus>) -> Self
The status of the Elastic IP address that's being moved or restored.
sourcepub fn get_move_status(&self) -> &Option<MoveStatus>
pub fn get_move_status(&self) -> &Option<MoveStatus>
The status of the Elastic IP address that's being moved or restored.
sourcepub fn set_public_ip(self, input: Option<String>) -> Self
pub fn set_public_ip(self, input: Option<String>) -> Self
The Elastic IP address.
sourcepub fn get_public_ip(&self) -> &Option<String>
pub fn get_public_ip(&self) -> &Option<String>
The Elastic IP address.
sourcepub fn build(self) -> MovingAddressStatus
pub fn build(self) -> MovingAddressStatus
Consumes the builder and constructs a MovingAddressStatus
.
Trait Implementations§
source§impl Clone for MovingAddressStatusBuilder
impl Clone for MovingAddressStatusBuilder
source§fn clone(&self) -> MovingAddressStatusBuilder
fn clone(&self) -> MovingAddressStatusBuilder
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 MovingAddressStatusBuilder
impl Debug for MovingAddressStatusBuilder
source§impl Default for MovingAddressStatusBuilder
impl Default for MovingAddressStatusBuilder
source§fn default() -> MovingAddressStatusBuilder
fn default() -> MovingAddressStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MovingAddressStatusBuilder
impl PartialEq for MovingAddressStatusBuilder
source§fn eq(&self, other: &MovingAddressStatusBuilder) -> bool
fn eq(&self, other: &MovingAddressStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MovingAddressStatusBuilder
Auto Trait Implementations§
impl Freeze for MovingAddressStatusBuilder
impl RefUnwindSafe for MovingAddressStatusBuilder
impl Send for MovingAddressStatusBuilder
impl Sync for MovingAddressStatusBuilder
impl Unpin for MovingAddressStatusBuilder
impl UnwindSafe for MovingAddressStatusBuilder
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.