Struct aws_sdk_computeoptimizer::operation::update_enrollment_status::builders::UpdateEnrollmentStatusOutputBuilder
source · #[non_exhaustive]pub struct UpdateEnrollmentStatusOutputBuilder { /* private fields */ }Expand description
A builder for UpdateEnrollmentStatusOutput.
Implementations§
source§impl UpdateEnrollmentStatusOutputBuilder
impl UpdateEnrollmentStatusOutputBuilder
sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The enrollment status of the account.
sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
The enrollment status of the account.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The reason for the enrollment status of the account. 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 enrollment status of the account. 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 enrollment status of the account. 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 build(self) -> UpdateEnrollmentStatusOutput
pub fn build(self) -> UpdateEnrollmentStatusOutput
Consumes the builder and constructs a UpdateEnrollmentStatusOutput.
Trait Implementations§
source§impl Clone for UpdateEnrollmentStatusOutputBuilder
impl Clone for UpdateEnrollmentStatusOutputBuilder
source§fn clone(&self) -> UpdateEnrollmentStatusOutputBuilder
fn clone(&self) -> UpdateEnrollmentStatusOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateEnrollmentStatusOutputBuilder
impl Default for UpdateEnrollmentStatusOutputBuilder
source§fn default() -> UpdateEnrollmentStatusOutputBuilder
fn default() -> UpdateEnrollmentStatusOutputBuilder
source§impl PartialEq for UpdateEnrollmentStatusOutputBuilder
impl PartialEq for UpdateEnrollmentStatusOutputBuilder
source§fn eq(&self, other: &UpdateEnrollmentStatusOutputBuilder) -> bool
fn eq(&self, other: &UpdateEnrollmentStatusOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateEnrollmentStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateEnrollmentStatusOutputBuilder
impl RefUnwindSafe for UpdateEnrollmentStatusOutputBuilder
impl Send for UpdateEnrollmentStatusOutputBuilder
impl Sync for UpdateEnrollmentStatusOutputBuilder
impl Unpin for UpdateEnrollmentStatusOutputBuilder
impl UnwindSafe for UpdateEnrollmentStatusOutputBuilder
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