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