Struct aws_sdk_workspaces::model::WorkspaceProperties
source · [−]#[non_exhaustive]pub struct WorkspaceProperties {
pub running_mode: Option<RunningMode>,
pub running_mode_auto_stop_timeout_in_minutes: Option<i32>,
pub root_volume_size_gib: Option<i32>,
pub user_volume_size_gib: Option<i32>,
pub compute_type_name: Option<Compute>,
}
Expand description
Describes a WorkSpace.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.running_mode: Option<RunningMode>
The running mode. For more information, see Manage the WorkSpace Running Mode.
running_mode_auto_stop_timeout_in_minutes: Option<i32>
The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
root_volume_size_gib: Option<i32>
The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
user_volume_size_gib: Option<i32>
The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
compute_type_name: Option<Compute>
The compute type. For more information, see Amazon WorkSpaces Bundles.
Implementations
sourceimpl WorkspaceProperties
impl WorkspaceProperties
sourcepub fn running_mode(&self) -> Option<&RunningMode>
pub fn running_mode(&self) -> Option<&RunningMode>
The running mode. For more information, see Manage the WorkSpace Running Mode.
sourcepub fn running_mode_auto_stop_timeout_in_minutes(&self) -> Option<i32>
pub fn running_mode_auto_stop_timeout_in_minutes(&self) -> Option<i32>
The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
sourcepub fn root_volume_size_gib(&self) -> Option<i32>
pub fn root_volume_size_gib(&self) -> Option<i32>
The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
sourcepub fn user_volume_size_gib(&self) -> Option<i32>
pub fn user_volume_size_gib(&self) -> Option<i32>
The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
sourcepub fn compute_type_name(&self) -> Option<&Compute>
pub fn compute_type_name(&self) -> Option<&Compute>
The compute type. For more information, see Amazon WorkSpaces Bundles.
sourceimpl WorkspaceProperties
impl WorkspaceProperties
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorkspaceProperties
Trait Implementations
sourceimpl Clone for WorkspaceProperties
impl Clone for WorkspaceProperties
sourcefn clone(&self) -> WorkspaceProperties
fn clone(&self) -> WorkspaceProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WorkspaceProperties
impl Debug for WorkspaceProperties
sourceimpl PartialEq<WorkspaceProperties> for WorkspaceProperties
impl PartialEq<WorkspaceProperties> for WorkspaceProperties
sourcefn eq(&self, other: &WorkspaceProperties) -> bool
fn eq(&self, other: &WorkspaceProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WorkspaceProperties) -> bool
fn ne(&self, other: &WorkspaceProperties) -> bool
This method tests for !=
.
impl StructuralPartialEq for WorkspaceProperties
Auto Trait Implementations
impl RefUnwindSafe for WorkspaceProperties
impl Send for WorkspaceProperties
impl Sync for WorkspaceProperties
impl Unpin for WorkspaceProperties
impl UnwindSafe for WorkspaceProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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