#[non_exhaustive]pub struct AccountEnrollmentStatusBuilder { /* private fields */ }
Expand description
A builder for AccountEnrollmentStatus
.
Implementations§
source§impl AccountEnrollmentStatusBuilder
impl AccountEnrollmentStatusBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID.
sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The account enrollment status.
sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
The account enrollment status.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an organization require more time to be enrolled in the service.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an organization require more time to be enrolled in the service.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an organization require more time to be enrolled in the service.
sourcepub fn last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
sourcepub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
sourcepub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
sourcepub fn build(self) -> AccountEnrollmentStatus
pub fn build(self) -> AccountEnrollmentStatus
Consumes the builder and constructs a AccountEnrollmentStatus
.
Trait Implementations§
source§impl Clone for AccountEnrollmentStatusBuilder
impl Clone for AccountEnrollmentStatusBuilder
source§fn clone(&self) -> AccountEnrollmentStatusBuilder
fn clone(&self) -> AccountEnrollmentStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AccountEnrollmentStatusBuilder
impl Default for AccountEnrollmentStatusBuilder
source§fn default() -> AccountEnrollmentStatusBuilder
fn default() -> AccountEnrollmentStatusBuilder
source§impl PartialEq for AccountEnrollmentStatusBuilder
impl PartialEq for AccountEnrollmentStatusBuilder
source§fn eq(&self, other: &AccountEnrollmentStatusBuilder) -> bool
fn eq(&self, other: &AccountEnrollmentStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccountEnrollmentStatusBuilder
Auto Trait Implementations§
impl Freeze for AccountEnrollmentStatusBuilder
impl RefUnwindSafe for AccountEnrollmentStatusBuilder
impl Send for AccountEnrollmentStatusBuilder
impl Sync for AccountEnrollmentStatusBuilder
impl Unpin for AccountEnrollmentStatusBuilder
impl UnwindSafe for AccountEnrollmentStatusBuilder
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
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>
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>
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 more