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