Struct aws_sdk_appstream::types::builders::UserSettingBuilder
source · #[non_exhaustive]pub struct UserSettingBuilder { /* private fields */ }
Expand description
A builder for UserSetting
.
Implementations§
source§impl UserSettingBuilder
impl UserSettingBuilder
sourcepub fn action(self, input: Action) -> Self
pub fn action(self, input: Action) -> Self
The action that is enabled or disabled.
This field is required.sourcepub fn set_action(self, input: Option<Action>) -> Self
pub fn set_action(self, input: Option<Action>) -> Self
The action that is enabled or disabled.
sourcepub fn get_action(&self) -> &Option<Action>
pub fn get_action(&self) -> &Option<Action>
The action that is enabled or disabled.
sourcepub fn permission(self, input: Permission) -> Self
pub fn permission(self, input: Permission) -> Self
Indicates whether the action is enabled or disabled.
This field is required.sourcepub fn set_permission(self, input: Option<Permission>) -> Self
pub fn set_permission(self, input: Option<Permission>) -> Self
Indicates whether the action is enabled or disabled.
sourcepub fn get_permission(&self) -> &Option<Permission>
pub fn get_permission(&self) -> &Option<Permission>
Indicates whether the action is enabled or disabled.
sourcepub fn maximum_length(self, input: i32) -> Self
pub fn maximum_length(self, input: i32) -> Self
Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This can't be specified when the permission is DISABLED
.
This can only be specified for AlwaysOn and OnDemand fleets. The attribute is not supported on Elastic fleets.
The value can be between 1 and 20,971,520 (20 MB).
sourcepub fn set_maximum_length(self, input: Option<i32>) -> Self
pub fn set_maximum_length(self, input: Option<i32>) -> Self
Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This can't be specified when the permission is DISABLED
.
This can only be specified for AlwaysOn and OnDemand fleets. The attribute is not supported on Elastic fleets.
The value can be between 1 and 20,971,520 (20 MB).
sourcepub fn get_maximum_length(&self) -> &Option<i32>
pub fn get_maximum_length(&self) -> &Option<i32>
Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This can't be specified when the permission is DISABLED
.
This can only be specified for AlwaysOn and OnDemand fleets. The attribute is not supported on Elastic fleets.
The value can be between 1 and 20,971,520 (20 MB).
sourcepub fn build(self) -> UserSetting
pub fn build(self) -> UserSetting
Consumes the builder and constructs a UserSetting
.
Trait Implementations§
source§impl Clone for UserSettingBuilder
impl Clone for UserSettingBuilder
source§fn clone(&self) -> UserSettingBuilder
fn clone(&self) -> UserSettingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserSettingBuilder
impl Debug for UserSettingBuilder
source§impl Default for UserSettingBuilder
impl Default for UserSettingBuilder
source§fn default() -> UserSettingBuilder
fn default() -> UserSettingBuilder
source§impl PartialEq for UserSettingBuilder
impl PartialEq for UserSettingBuilder
source§fn eq(&self, other: &UserSettingBuilder) -> bool
fn eq(&self, other: &UserSettingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserSettingBuilder
Auto Trait Implementations§
impl Freeze for UserSettingBuilder
impl RefUnwindSafe for UserSettingBuilder
impl Send for UserSettingBuilder
impl Sync for UserSettingBuilder
impl Unpin for UserSettingBuilder
impl UnwindSafe for UserSettingBuilder
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