#[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 ==
.