Struct aws_sdk_workspaces::operation::create_workspace_image::builders::CreateWorkspaceImageFluentBuilder
source · pub struct CreateWorkspaceImageFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateWorkspaceImage
.
Creates a new WorkSpace image from an existing WorkSpace.
Implementations§
source§impl CreateWorkspaceImageFluentBuilder
impl CreateWorkspaceImageFluentBuilder
sourcepub async fn send(
self
) -> Result<CreateWorkspaceImageOutput, SdkError<CreateWorkspaceImageError>>
pub async fn send( self ) -> Result<CreateWorkspaceImageOutput, SdkError<CreateWorkspaceImageError>>
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 async fn customize(
self
) -> Result<CustomizableOperation<CreateWorkspaceImage, AwsResponseRetryClassifier>, SdkError<CreateWorkspaceImageError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateWorkspaceImage, AwsResponseRetryClassifier>, SdkError<CreateWorkspaceImageError>>
Consumes 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 fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the new WorkSpace image.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the new WorkSpace image.
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The identifier of the source WorkSpace
sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The identifier of the source WorkSpace
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you must create an IAM policy that grants your IAM user permission to use workspaces:CreateTags
.
The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you must create an IAM policy that grants your IAM user permission to use workspaces:CreateTags
.
Trait Implementations§
source§impl Clone for CreateWorkspaceImageFluentBuilder
impl Clone for CreateWorkspaceImageFluentBuilder
source§fn clone(&self) -> CreateWorkspaceImageFluentBuilder
fn clone(&self) -> CreateWorkspaceImageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more