Struct aws_sdk_workspaces::operation::start_workspaces::builders::StartWorkspacesFluentBuilder
source · pub struct StartWorkspacesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartWorkspaces
.
Starts the specified WorkSpaces.
You cannot start a WorkSpace unless it has a running mode of AutoStop
and a state of STOPPED
.
Implementations§
source§impl StartWorkspacesFluentBuilder
impl StartWorkspacesFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartWorkspaces, AwsResponseRetryClassifier>, SdkError<StartWorkspacesError>>
pub async fn customize( self ) -> Result<CustomizableOperation<StartWorkspaces, AwsResponseRetryClassifier>, SdkError<StartWorkspacesError>>
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<StartWorkspacesOutput, SdkError<StartWorkspacesError>>
pub async fn send( self ) -> Result<StartWorkspacesOutput, SdkError<StartWorkspacesError>>
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 start_workspace_requests(self, input: StartRequest) -> Self
pub fn start_workspace_requests(self, input: StartRequest) -> Self
Appends an item to StartWorkspaceRequests
.
To override the contents of this collection use set_start_workspace_requests
.
The WorkSpaces to start. You can specify up to 25 WorkSpaces.
sourcepub fn set_start_workspace_requests(
self,
input: Option<Vec<StartRequest>>
) -> Self
pub fn set_start_workspace_requests( self, input: Option<Vec<StartRequest>> ) -> Self
The WorkSpaces to start. You can specify up to 25 WorkSpaces.
Trait Implementations§
source§impl Clone for StartWorkspacesFluentBuilder
impl Clone for StartWorkspacesFluentBuilder
source§fn clone(&self) -> StartWorkspacesFluentBuilder
fn clone(&self) -> StartWorkspacesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more