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 fn as_input(&self) -> &CreateUserSettingsInputBuilder
pub fn as_input(&self) -> &CreateUserSettingsInputBuilder
Access the CreateUserSettings as a reference.
sourcepub async fn send(
self
) -> Result<CreateUserSettingsOutput, SdkError<CreateUserSettingsError, HttpResponse>>
pub async fn send( self ) -> Result<CreateUserSettingsOutput, SdkError<CreateUserSettingsError, 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<CreateUserSettingsOutput, CreateUserSettingsError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateUserSettingsOutput, CreateUserSettingsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_copy_allowed(&self) -> &Option<EnabledType>
pub fn get_copy_allowed(&self) -> &Option<EnabledType>
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 get_paste_allowed(&self) -> &Option<EnabledType>
pub fn get_paste_allowed(&self) -> &Option<EnabledType>
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 get_download_allowed(&self) -> &Option<EnabledType>
pub fn get_download_allowed(&self) -> &Option<EnabledType>
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 get_upload_allowed(&self) -> &Option<EnabledType>
pub fn get_upload_allowed(&self) -> &Option<EnabledType>
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.
sourcepub fn get_print_allowed(&self) -> &Option<EnabledType>
pub fn get_print_allowed(&self) -> &Option<EnabledType>
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.
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 get_disconnect_timeout_in_minutes(&self) -> &Option<i32>
pub fn get_disconnect_timeout_in_minutes(&self) -> &Option<i32>
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 get_idle_disconnect_timeout_in_minutes(&self) -> &Option<i32>
pub fn get_idle_disconnect_timeout_in_minutes(&self) -> &Option<i32>
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 Amazon Web Services 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 Amazon Web Services SDK.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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 Amazon Web Services SDK.
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
sourcepub fn customer_managed_key(self, input: impl Into<String>) -> Self
pub fn customer_managed_key(self, input: impl Into<String>) -> Self
The customer managed key used to encrypt sensitive information in the user settings.
sourcepub fn set_customer_managed_key(self, input: Option<String>) -> Self
pub fn set_customer_managed_key(self, input: Option<String>) -> Self
The customer managed key used to encrypt sensitive information in the user settings.
sourcepub fn get_customer_managed_key(&self) -> &Option<String>
pub fn get_customer_managed_key(&self) -> &Option<String>
The customer managed key used to encrypt sensitive information in the user settings.
sourcepub fn additional_encryption_context(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn additional_encryption_context( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to additionalEncryptionContext
.
To override the contents of this collection use set_additional_encryption_context
.
The additional encryption context of the user settings.
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 moreAuto Trait Implementations§
impl Freeze for CreateUserSettingsFluentBuilder
impl !RefUnwindSafe for CreateUserSettingsFluentBuilder
impl Send for CreateUserSettingsFluentBuilder
impl Sync for CreateUserSettingsFluentBuilder
impl Unpin for CreateUserSettingsFluentBuilder
impl !UnwindSafe for CreateUserSettingsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more