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