Struct aws_sdk_workspaces::types::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>,
pub protocols: Option<Vec<Protocol>>,
pub operating_system_name: Option<OperatingSystemName>,
}
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.
The MANUAL
value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.
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.
protocols: Option<Vec<Protocol>>
The protocol. For more information, see Protocols for Amazon WorkSpaces.
-
Only available for WorkSpaces created with PCoIP bundles.
-
The
Protocols
property is case sensitive. Ensure you usePCOIP
orWSP
. -
Unavailable for Windows 7 WorkSpaces and WorkSpaces using GPU-based bundles (Graphics, GraphicsPro, Graphics.g4dn, and GraphicsPro.g4dn).
operating_system_name: Option<OperatingSystemName>
The name of the operating system.
Implementations§
source§impl 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.
The MANUAL
value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.
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.
sourcepub fn protocols(&self) -> &[Protocol]
pub fn protocols(&self) -> &[Protocol]
The protocol. For more information, see Protocols for Amazon WorkSpaces.
-
Only available for WorkSpaces created with PCoIP bundles.
-
The
Protocols
property is case sensitive. Ensure you usePCOIP
orWSP
. -
Unavailable for Windows 7 WorkSpaces and WorkSpaces using GPU-based bundles (Graphics, GraphicsPro, Graphics.g4dn, and GraphicsPro.g4dn).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .protocols.is_none()
.
sourcepub fn operating_system_name(&self) -> Option<&OperatingSystemName>
pub fn operating_system_name(&self) -> Option<&OperatingSystemName>
The name of the operating system.
source§impl WorkspaceProperties
impl WorkspaceProperties
sourcepub fn builder() -> WorkspacePropertiesBuilder
pub fn builder() -> WorkspacePropertiesBuilder
Creates a new builder-style object to manufacture WorkspaceProperties
.
Trait Implementations§
source§impl Clone for WorkspaceProperties
impl Clone for WorkspaceProperties
source§fn clone(&self) -> WorkspaceProperties
fn clone(&self) -> WorkspaceProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkspaceProperties
impl Debug for WorkspaceProperties
source§impl PartialEq for WorkspaceProperties
impl PartialEq for WorkspaceProperties
source§fn eq(&self, other: &WorkspaceProperties) -> bool
fn eq(&self, other: &WorkspaceProperties) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkspaceProperties
Auto Trait Implementations§
impl Freeze for WorkspaceProperties
impl RefUnwindSafe for WorkspaceProperties
impl Send for WorkspaceProperties
impl Sync for WorkspaceProperties
impl Unpin for WorkspaceProperties
impl UnwindSafe for WorkspaceProperties
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