Struct aws_sdk_workspacesthinclient::operation::create_environment::builders::CreateEnvironmentFluentBuilder
source · pub struct CreateEnvironmentFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateEnvironment.
Creates an environment for your thin client devices.
Implementations§
source§impl CreateEnvironmentFluentBuilder
impl CreateEnvironmentFluentBuilder
sourcepub fn as_input(&self) -> &CreateEnvironmentInputBuilder
pub fn as_input(&self) -> &CreateEnvironmentInputBuilder
Access the CreateEnvironment as a reference.
sourcepub async fn send(
self
) -> Result<CreateEnvironmentOutput, SdkError<CreateEnvironmentError, HttpResponse>>
pub async fn send( self ) -> Result<CreateEnvironmentOutput, SdkError<CreateEnvironmentError, 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<CreateEnvironmentOutput, CreateEnvironmentError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateEnvironmentOutput, CreateEnvironmentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn desktop_arn(self, input: impl Into<String>) -> Self
pub fn desktop_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
sourcepub fn set_desktop_arn(self, input: Option<String>) -> Self
pub fn set_desktop_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
sourcepub fn get_desktop_arn(&self) -> &Option<String>
pub fn get_desktop_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
sourcepub fn desktop_endpoint(self, input: impl Into<String>) -> Self
pub fn desktop_endpoint(self, input: impl Into<String>) -> Self
The URL for the identity provider login (only for environments that use AppStream 2.0).
sourcepub fn set_desktop_endpoint(self, input: Option<String>) -> Self
pub fn set_desktop_endpoint(self, input: Option<String>) -> Self
The URL for the identity provider login (only for environments that use AppStream 2.0).
sourcepub fn get_desktop_endpoint(&self) -> &Option<String>
pub fn get_desktop_endpoint(&self) -> &Option<String>
The URL for the identity provider login (only for environments that use AppStream 2.0).
sourcepub fn software_set_update_schedule(
self,
input: SoftwareSetUpdateSchedule
) -> Self
pub fn software_set_update_schedule( self, input: SoftwareSetUpdateSchedule ) -> Self
An option to define if software updates should be applied within a maintenance window.
sourcepub fn set_software_set_update_schedule(
self,
input: Option<SoftwareSetUpdateSchedule>
) -> Self
pub fn set_software_set_update_schedule( self, input: Option<SoftwareSetUpdateSchedule> ) -> Self
An option to define if software updates should be applied within a maintenance window.
sourcepub fn get_software_set_update_schedule(
&self
) -> &Option<SoftwareSetUpdateSchedule>
pub fn get_software_set_update_schedule( &self ) -> &Option<SoftwareSetUpdateSchedule>
An option to define if software updates should be applied within a maintenance window.
sourcepub fn maintenance_window(self, input: MaintenanceWindow) -> Self
pub fn maintenance_window(self, input: MaintenanceWindow) -> Self
A specification for a time window to apply software updates.
sourcepub fn set_maintenance_window(self, input: Option<MaintenanceWindow>) -> Self
pub fn set_maintenance_window(self, input: Option<MaintenanceWindow>) -> Self
A specification for a time window to apply software updates.
sourcepub fn get_maintenance_window(&self) -> &Option<MaintenanceWindow>
pub fn get_maintenance_window(&self) -> &Option<MaintenanceWindow>
A specification for a time window to apply software updates.
sourcepub fn software_set_update_mode(self, input: SoftwareSetUpdateMode) -> Self
pub fn software_set_update_mode(self, input: SoftwareSetUpdateMode) -> Self
An option to define which software updates to apply.
sourcepub fn set_software_set_update_mode(
self,
input: Option<SoftwareSetUpdateMode>
) -> Self
pub fn set_software_set_update_mode( self, input: Option<SoftwareSetUpdateMode> ) -> Self
An option to define which software updates to apply.
sourcepub fn get_software_set_update_mode(&self) -> &Option<SoftwareSetUpdateMode>
pub fn get_software_set_update_mode(&self) -> &Option<SoftwareSetUpdateMode>
An option to define which software updates to apply.
sourcepub fn desired_software_set_id(self, input: impl Into<String>) -> Self
pub fn desired_software_set_id(self, input: impl Into<String>) -> Self
The ID of the software set to apply.
sourcepub fn set_desired_software_set_id(self, input: Option<String>) -> Self
pub fn set_desired_software_set_id(self, input: Option<String>) -> Self
The ID of the software set to apply.
sourcepub fn get_desired_software_set_id(&self) -> &Option<String>
pub fn get_desired_software_set_id(&self) -> &Option<String>
The ID of the software set to apply.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A map of the key-value pairs of the tag or tags to assign to the resource.
A map of the key-value pairs of the tag or tags to assign to the resource.
A map of the key-value pairs of the tag or tags to assign to the resource.
Trait Implementations§
source§impl Clone for CreateEnvironmentFluentBuilder
impl Clone for CreateEnvironmentFluentBuilder
source§fn clone(&self) -> CreateEnvironmentFluentBuilder
fn clone(&self) -> CreateEnvironmentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more