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 fn as_input(&self) -> &StopDevEnvironmentSessionInputBuilder
pub fn as_input(&self) -> &StopDevEnvironmentSessionInputBuilder
Access the StopDevEnvironmentSession as a reference.
sourcepub async fn send(
self
) -> Result<StopDevEnvironmentSessionOutput, SdkError<StopDevEnvironmentSessionError, HttpResponse>>
pub async fn send( self ) -> Result<StopDevEnvironmentSessionOutput, SdkError<StopDevEnvironmentSessionError, 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<StopDevEnvironmentSessionOutput, StopDevEnvironmentSessionError, Self>
pub fn customize( self ) -> CustomizableOperation<StopDevEnvironmentSessionOutput, StopDevEnvironmentSessionError, 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. 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 get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
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
.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
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