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 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 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
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 Default for UpdateEnrollmentStatusOutputBuilder
impl Default for UpdateEnrollmentStatusOutputBuilder
source§fn default() -> UpdateEnrollmentStatusOutputBuilder
fn default() -> UpdateEnrollmentStatusOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateEnrollmentStatusOutputBuilder> for UpdateEnrollmentStatusOutputBuilder
impl PartialEq<UpdateEnrollmentStatusOutputBuilder> for UpdateEnrollmentStatusOutputBuilder
source§fn eq(&self, other: &UpdateEnrollmentStatusOutputBuilder) -> bool
fn eq(&self, other: &UpdateEnrollmentStatusOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateEnrollmentStatusOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more