Struct aws_sdk_codecatalyst::operation::stop_dev_environment::builders::StopDevEnvironmentFluentBuilder
source · pub struct StopDevEnvironmentFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StopDevEnvironment
.
Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev Environments do not consume compute minutes.
Implementations§
source§impl StopDevEnvironmentFluentBuilder
impl StopDevEnvironmentFluentBuilder
sourcepub fn as_input(&self) -> &StopDevEnvironmentInputBuilder
pub fn as_input(&self) -> &StopDevEnvironmentInputBuilder
Access the StopDevEnvironment as a reference.
sourcepub async fn send(
self
) -> Result<StopDevEnvironmentOutput, SdkError<StopDevEnvironmentError, HttpResponse>>
pub async fn send( self ) -> Result<StopDevEnvironmentOutput, SdkError<StopDevEnvironmentError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StopDevEnvironmentOutput, StopDevEnvironmentError, Self>
pub fn customize( self ) -> CustomizableOperation<StopDevEnvironmentOutput, StopDevEnvironmentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn space_name(self, input: impl Into<String>) -> Self
pub fn space_name(self, input: impl Into<String>) -> Self
The name of the space.
sourcepub fn set_space_name(self, input: Option<String>) -> Self
pub fn set_space_name(self, input: Option<String>) -> Self
The name of the space.
sourcepub fn get_space_name(&self) -> &Option<String>
pub fn get_space_name(&self) -> &Option<String>
The name of the space.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project in the space.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project in the space.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project in the space.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The system-generated unique ID of the Dev Environment.
Trait Implementations§
source§impl Clone for StopDevEnvironmentFluentBuilder
impl Clone for StopDevEnvironmentFluentBuilder
source§fn clone(&self) -> StopDevEnvironmentFluentBuilder
fn clone(&self) -> StopDevEnvironmentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more