Struct aws_sdk_cloud9::operation::describe_environment_status::builders::DescribeEnvironmentStatusOutputBuilder
source · #[non_exhaustive]pub struct DescribeEnvironmentStatusOutputBuilder { /* private fields */ }Expand description
A builder for DescribeEnvironmentStatusOutput.
Implementations§
source§impl DescribeEnvironmentStatusOutputBuilder
impl DescribeEnvironmentStatusOutputBuilder
sourcepub fn status(self, input: EnvironmentStatus) -> Self
pub fn status(self, input: EnvironmentStatus) -> Self
The status of the environment. Available values include:
-
connecting: The environment is connecting. -
creating: The environment is being created. -
deleting: The environment is being deleted. -
error: The environment is in an error state. -
ready: The environment is ready. -
stopped: The environment is stopped. -
stopping: The environment is stopping.
sourcepub fn set_status(self, input: Option<EnvironmentStatus>) -> Self
pub fn set_status(self, input: Option<EnvironmentStatus>) -> Self
The status of the environment. Available values include:
-
connecting: The environment is connecting. -
creating: The environment is being created. -
deleting: The environment is being deleted. -
error: The environment is in an error state. -
ready: The environment is ready. -
stopped: The environment is stopped. -
stopping: The environment is stopping.
sourcepub fn get_status(&self) -> &Option<EnvironmentStatus>
pub fn get_status(&self) -> &Option<EnvironmentStatus>
The status of the environment. Available values include:
-
connecting: The environment is connecting. -
creating: The environment is being created. -
deleting: The environment is being deleted. -
error: The environment is in an error state. -
ready: The environment is ready. -
stopped: The environment is stopped. -
stopping: The environment is stopping.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
Any informational message about the status of the environment.
This field is required.sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
Any informational message about the status of the environment.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
Any informational message about the status of the environment.
sourcepub fn build(self) -> Result<DescribeEnvironmentStatusOutput, BuildError>
pub fn build(self) -> Result<DescribeEnvironmentStatusOutput, BuildError>
Consumes the builder and constructs a DescribeEnvironmentStatusOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DescribeEnvironmentStatusOutputBuilder
impl Clone for DescribeEnvironmentStatusOutputBuilder
source§fn clone(&self) -> DescribeEnvironmentStatusOutputBuilder
fn clone(&self) -> DescribeEnvironmentStatusOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeEnvironmentStatusOutputBuilder
impl Default for DescribeEnvironmentStatusOutputBuilder
source§fn default() -> DescribeEnvironmentStatusOutputBuilder
fn default() -> DescribeEnvironmentStatusOutputBuilder
source§impl PartialEq for DescribeEnvironmentStatusOutputBuilder
impl PartialEq for DescribeEnvironmentStatusOutputBuilder
source§fn eq(&self, other: &DescribeEnvironmentStatusOutputBuilder) -> bool
fn eq(&self, other: &DescribeEnvironmentStatusOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeEnvironmentStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeEnvironmentStatusOutputBuilder
impl RefUnwindSafe for DescribeEnvironmentStatusOutputBuilder
impl Send for DescribeEnvironmentStatusOutputBuilder
impl Sync for DescribeEnvironmentStatusOutputBuilder
impl Unpin for DescribeEnvironmentStatusOutputBuilder
impl UnwindSafe for DescribeEnvironmentStatusOutputBuilder
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