Struct aws_sdk_workspacesthinclient::operation::create_environment::builders::CreateEnvironmentInputBuilder
source · #[non_exhaustive]pub struct CreateEnvironmentInputBuilder { /* private fields */ }Expand description
A builder for CreateEnvironmentInput.
Implementations§
source§impl CreateEnvironmentInputBuilder
impl CreateEnvironmentInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateEnvironmentInput, BuildError>
pub fn build(self) -> Result<CreateEnvironmentInput, BuildError>
Consumes the builder and constructs a CreateEnvironmentInput.
source§impl CreateEnvironmentInputBuilder
impl CreateEnvironmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateEnvironmentOutput, SdkError<CreateEnvironmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateEnvironmentOutput, SdkError<CreateEnvironmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateEnvironmentInputBuilder
impl Clone for CreateEnvironmentInputBuilder
source§fn clone(&self) -> CreateEnvironmentInputBuilder
fn clone(&self) -> CreateEnvironmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateEnvironmentInputBuilder
impl Default for CreateEnvironmentInputBuilder
source§fn default() -> CreateEnvironmentInputBuilder
fn default() -> CreateEnvironmentInputBuilder
source§impl PartialEq for CreateEnvironmentInputBuilder
impl PartialEq for CreateEnvironmentInputBuilder
source§fn eq(&self, other: &CreateEnvironmentInputBuilder) -> bool
fn eq(&self, other: &CreateEnvironmentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.