Struct aws_sdk_workspacesweb::operation::create_user_settings::builders::CreateUserSettingsFluentBuilder
source · pub struct CreateUserSettingsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateUserSettings
.
Creates a user settings resource that can be associated with a web portal. Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
Implementations§
source§impl CreateUserSettingsFluentBuilder
impl CreateUserSettingsFluentBuilder
sourcepub async fn send(
self
) -> Result<CreateUserSettingsOutput, SdkError<CreateUserSettingsError>>
pub async fn send( self ) -> Result<CreateUserSettingsOutput, SdkError<CreateUserSettingsError>>
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<CreateUserSettings, AwsResponseRetryClassifier>, SdkError<CreateUserSettingsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateUserSettings, AwsResponseRetryClassifier>, SdkError<CreateUserSettingsError>>
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 copy_allowed(self, input: EnabledType) -> Self
pub fn copy_allowed(self, input: EnabledType) -> Self
Specifies whether the user can copy text from the streaming session to the local device.
sourcepub fn set_copy_allowed(self, input: Option<EnabledType>) -> Self
pub fn set_copy_allowed(self, input: Option<EnabledType>) -> Self
Specifies whether the user can copy text from the streaming session to the local device.
sourcepub fn paste_allowed(self, input: EnabledType) -> Self
pub fn paste_allowed(self, input: EnabledType) -> Self
Specifies whether the user can paste text from the local device to the streaming session.
sourcepub fn set_paste_allowed(self, input: Option<EnabledType>) -> Self
pub fn set_paste_allowed(self, input: Option<EnabledType>) -> Self
Specifies whether the user can paste text from the local device to the streaming session.
sourcepub fn download_allowed(self, input: EnabledType) -> Self
pub fn download_allowed(self, input: EnabledType) -> Self
Specifies whether the user can download files from the streaming session to the local device.
sourcepub fn set_download_allowed(self, input: Option<EnabledType>) -> Self
pub fn set_download_allowed(self, input: Option<EnabledType>) -> Self
Specifies whether the user can download files from the streaming session to the local device.
sourcepub fn upload_allowed(self, input: EnabledType) -> Self
pub fn upload_allowed(self, input: EnabledType) -> Self
Specifies whether the user can upload files from the local device to the streaming session.
sourcepub fn set_upload_allowed(self, input: Option<EnabledType>) -> Self
pub fn set_upload_allowed(self, input: Option<EnabledType>) -> Self
Specifies whether the user can upload files from the local device to the streaming session.
sourcepub fn print_allowed(self, input: EnabledType) -> Self
pub fn print_allowed(self, input: EnabledType) -> Self
Specifies whether the user can print to the local device.
sourcepub fn set_print_allowed(self, input: Option<EnabledType>) -> Self
pub fn set_print_allowed(self, input: Option<EnabledType>) -> Self
Specifies whether the user can print to the local device.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags to add to the user settings resource. A tag is a key-value pair.
The tags to add to the user settings resource. A tag is a key-value pair.
sourcepub fn disconnect_timeout_in_minutes(self, input: i32) -> Self
pub fn disconnect_timeout_in_minutes(self, input: i32) -> Self
The amount of time that a streaming session remains active after users disconnect.
sourcepub fn set_disconnect_timeout_in_minutes(self, input: Option<i32>) -> Self
pub fn set_disconnect_timeout_in_minutes(self, input: Option<i32>) -> Self
The amount of time that a streaming session remains active after users disconnect.
sourcepub fn idle_disconnect_timeout_in_minutes(self, input: i32) -> Self
pub fn idle_disconnect_timeout_in_minutes(self, input: i32) -> Self
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
sourcepub fn set_idle_disconnect_timeout_in_minutes(self, input: Option<i32>) -> Self
pub fn set_idle_disconnect_timeout_in_minutes(self, input: Option<i32>) -> Self
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
Trait Implementations§
source§impl Clone for CreateUserSettingsFluentBuilder
impl Clone for CreateUserSettingsFluentBuilder
source§fn clone(&self) -> CreateUserSettingsFluentBuilder
fn clone(&self) -> CreateUserSettingsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more