Struct aws_sdk_codecatalyst::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder
source · pub struct StopDevEnvironmentSessionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StopDevEnvironmentSession
.
Stops a session for a specified Dev Environment.
Implementations§
source§impl StopDevEnvironmentSessionFluentBuilder
impl StopDevEnvironmentSessionFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StopDevEnvironmentSession, AwsResponseRetryClassifier>, SdkError<StopDevEnvironmentSessionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<StopDevEnvironmentSession, AwsResponseRetryClassifier>, SdkError<StopDevEnvironmentSessionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<StopDevEnvironmentSessionOutput, SdkError<StopDevEnvironmentSessionError>>
pub async fn send( self ) -> Result<StopDevEnvironmentSessionOutput, SdkError<StopDevEnvironmentSessionError>>
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 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 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 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. To obtain this ID, use ListDevEnvironments
.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The system-generated unique ID of the Dev Environment. To obtain this ID, use ListDevEnvironments
.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The system-generated unique ID of the Dev Environment session. This ID is returned by StartDevEnvironmentSession
.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The system-generated unique ID of the Dev Environment session. This ID is returned by StartDevEnvironmentSession
.
Trait Implementations§
source§impl Clone for StopDevEnvironmentSessionFluentBuilder
impl Clone for StopDevEnvironmentSessionFluentBuilder
source§fn clone(&self) -> StopDevEnvironmentSessionFluentBuilder
fn clone(&self) -> StopDevEnvironmentSessionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more