Struct aws_sdk_ec2::types::builders::PtrUpdateStatusBuilder
source · #[non_exhaustive]pub struct PtrUpdateStatusBuilder { /* private fields */ }
Expand description
A builder for PtrUpdateStatus
.
Implementations§
source§impl PtrUpdateStatusBuilder
impl PtrUpdateStatusBuilder
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the PTR record update.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the PTR record update.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason for the PTR record update.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
The reason for the PTR record update.
sourcepub fn build(self) -> PtrUpdateStatus
pub fn build(self) -> PtrUpdateStatus
Consumes the builder and constructs a PtrUpdateStatus
.
Trait Implementations§
source§impl Clone for PtrUpdateStatusBuilder
impl Clone for PtrUpdateStatusBuilder
source§fn clone(&self) -> PtrUpdateStatusBuilder
fn clone(&self) -> PtrUpdateStatusBuilder
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 PtrUpdateStatusBuilder
impl Debug for PtrUpdateStatusBuilder
source§impl Default for PtrUpdateStatusBuilder
impl Default for PtrUpdateStatusBuilder
source§fn default() -> PtrUpdateStatusBuilder
fn default() -> PtrUpdateStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PtrUpdateStatusBuilder
impl PartialEq for PtrUpdateStatusBuilder
source§fn eq(&self, other: &PtrUpdateStatusBuilder) -> bool
fn eq(&self, other: &PtrUpdateStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PtrUpdateStatusBuilder
Auto Trait Implementations§
impl Freeze for PtrUpdateStatusBuilder
impl RefUnwindSafe for PtrUpdateStatusBuilder
impl Send for PtrUpdateStatusBuilder
impl Sync for PtrUpdateStatusBuilder
impl Unpin for PtrUpdateStatusBuilder
impl UnwindSafe for PtrUpdateStatusBuilder
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.