Struct aws_sdk_workspaces::model::WorkspaceRequest
source · [−]#[non_exhaustive]pub struct WorkspaceRequest {
pub directory_id: Option<String>,
pub user_name: Option<String>,
pub bundle_id: Option<String>,
pub volume_encryption_key: Option<String>,
pub user_volume_encryption_enabled: Option<bool>,
pub root_volume_encryption_enabled: Option<bool>,
pub workspace_properties: Option<WorkspaceProperties>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes the information used to create 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.directory_id: Option<String>
The identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories
to list the available directories.
user_name: Option<String>
The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
bundle_id: Option<String>
The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles
to list the available bundles.
volume_encryption_key: Option<String>
The symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
user_volume_encryption_enabled: Option<bool>
Indicates whether the data stored on the user volume is encrypted.
root_volume_encryption_enabled: Option<bool>
Indicates whether the data stored on the root volume is encrypted.
workspace_properties: Option<WorkspaceProperties>
The WorkSpace properties.
The tags for the WorkSpace.
Implementations
sourceimpl WorkspaceRequest
impl WorkspaceRequest
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories
to list the available directories.
sourcepub fn user_name(&self) -> Option<&str>
pub fn user_name(&self) -> Option<&str>
The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
sourcepub fn bundle_id(&self) -> Option<&str>
pub fn bundle_id(&self) -> Option<&str>
The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles
to list the available bundles.
sourcepub fn volume_encryption_key(&self) -> Option<&str>
pub fn volume_encryption_key(&self) -> Option<&str>
The symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
sourcepub fn user_volume_encryption_enabled(&self) -> Option<bool>
pub fn user_volume_encryption_enabled(&self) -> Option<bool>
Indicates whether the data stored on the user volume is encrypted.
sourcepub fn root_volume_encryption_enabled(&self) -> Option<bool>
pub fn root_volume_encryption_enabled(&self) -> Option<bool>
Indicates whether the data stored on the root volume is encrypted.
sourcepub fn workspace_properties(&self) -> Option<&WorkspaceProperties>
pub fn workspace_properties(&self) -> Option<&WorkspaceProperties>
The WorkSpace properties.
The tags for the WorkSpace.
sourceimpl WorkspaceRequest
impl WorkspaceRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorkspaceRequest
Trait Implementations
sourceimpl Clone for WorkspaceRequest
impl Clone for WorkspaceRequest
sourcefn clone(&self) -> WorkspaceRequest
fn clone(&self) -> WorkspaceRequest
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 WorkspaceRequest
impl Debug for WorkspaceRequest
sourceimpl PartialEq<WorkspaceRequest> for WorkspaceRequest
impl PartialEq<WorkspaceRequest> for WorkspaceRequest
sourcefn eq(&self, other: &WorkspaceRequest) -> bool
fn eq(&self, other: &WorkspaceRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WorkspaceRequest) -> bool
fn ne(&self, other: &WorkspaceRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for WorkspaceRequest
Auto Trait Implementations
impl RefUnwindSafe for WorkspaceRequest
impl Send for WorkspaceRequest
impl Sync for WorkspaceRequest
impl Unpin for WorkspaceRequest
impl UnwindSafe for WorkspaceRequest
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