Struct aws_sdk_workspaces::model::selfservice_permissions::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for SelfservicePermissions
Implementations
sourceimpl Builder
impl Builder
sourcepub fn restart_workspace(self, input: ReconnectEnum) -> Self
pub fn restart_workspace(self, input: ReconnectEnum) -> Self
Specifies whether users can restart their WorkSpace.
sourcepub fn set_restart_workspace(self, input: Option<ReconnectEnum>) -> Self
pub fn set_restart_workspace(self, input: Option<ReconnectEnum>) -> Self
Specifies whether users can restart their WorkSpace.
sourcepub fn increase_volume_size(self, input: ReconnectEnum) -> Self
pub fn increase_volume_size(self, input: ReconnectEnum) -> Self
Specifies whether users can increase the volume size of the drives on their WorkSpace.
sourcepub fn set_increase_volume_size(self, input: Option<ReconnectEnum>) -> Self
pub fn set_increase_volume_size(self, input: Option<ReconnectEnum>) -> Self
Specifies whether users can increase the volume size of the drives on their WorkSpace.
sourcepub fn change_compute_type(self, input: ReconnectEnum) -> Self
pub fn change_compute_type(self, input: ReconnectEnum) -> Self
Specifies whether users can change the compute type (bundle) for their WorkSpace.
sourcepub fn set_change_compute_type(self, input: Option<ReconnectEnum>) -> Self
pub fn set_change_compute_type(self, input: Option<ReconnectEnum>) -> Self
Specifies whether users can change the compute type (bundle) for their WorkSpace.
sourcepub fn switch_running_mode(self, input: ReconnectEnum) -> Self
pub fn switch_running_mode(self, input: ReconnectEnum) -> Self
Specifies whether users can switch the running mode of their WorkSpace.
sourcepub fn set_switch_running_mode(self, input: Option<ReconnectEnum>) -> Self
pub fn set_switch_running_mode(self, input: Option<ReconnectEnum>) -> Self
Specifies whether users can switch the running mode of their WorkSpace.
sourcepub fn rebuild_workspace(self, input: ReconnectEnum) -> Self
pub fn rebuild_workspace(self, input: ReconnectEnum) -> Self
Specifies whether users can rebuild the operating system of a WorkSpace to its original state.
sourcepub fn set_rebuild_workspace(self, input: Option<ReconnectEnum>) -> Self
pub fn set_rebuild_workspace(self, input: Option<ReconnectEnum>) -> Self
Specifies whether users can rebuild the operating system of a WorkSpace to its original state.
sourcepub fn build(self) -> SelfservicePermissions
pub fn build(self) -> SelfservicePermissions
Consumes the builder and constructs a SelfservicePermissions
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more