Struct aws_sdk_workspacesweb::operation::update_user_settings::builders::UpdateUserSettingsInputBuilder
source · #[non_exhaustive]pub struct UpdateUserSettingsInputBuilder { /* private fields */ }
Expand description
A builder for UpdateUserSettingsInput
.
Implementations§
source§impl UpdateUserSettingsInputBuilder
impl UpdateUserSettingsInputBuilder
sourcepub fn user_settings_arn(self, input: impl Into<String>) -> Self
pub fn user_settings_arn(self, input: impl Into<String>) -> Self
The ARN of the user settings.
sourcepub fn set_user_settings_arn(self, input: Option<String>) -> Self
pub fn set_user_settings_arn(self, input: Option<String>) -> Self
The ARN of the user settings.
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.
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 return 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 return 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 build(self) -> Result<UpdateUserSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateUserSettingsInput, BuildError>
Consumes the builder and constructs a UpdateUserSettingsInput
.
Trait Implementations§
source§impl Clone for UpdateUserSettingsInputBuilder
impl Clone for UpdateUserSettingsInputBuilder
source§fn clone(&self) -> UpdateUserSettingsInputBuilder
fn clone(&self) -> UpdateUserSettingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateUserSettingsInputBuilder
impl Default for UpdateUserSettingsInputBuilder
source§fn default() -> UpdateUserSettingsInputBuilder
fn default() -> UpdateUserSettingsInputBuilder
source§impl PartialEq<UpdateUserSettingsInputBuilder> for UpdateUserSettingsInputBuilder
impl PartialEq<UpdateUserSettingsInputBuilder> for UpdateUserSettingsInputBuilder
source§fn eq(&self, other: &UpdateUserSettingsInputBuilder) -> bool
fn eq(&self, other: &UpdateUserSettingsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.