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 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 permission(self, input: Permission) -> Self
pub fn permission(self, input: Permission) -> Self
Indicates whether the action is enabled or disabled.
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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<UserSettingBuilder> for UserSettingBuilder
impl PartialEq<UserSettingBuilder> for UserSettingBuilder
source§fn eq(&self, other: &UserSettingBuilder) -> bool
fn eq(&self, other: &UserSettingBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.