Struct aws_sdk_workspaces::model::WorkspaceImage
source · [−]#[non_exhaustive]pub struct WorkspaceImage {
pub image_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub operating_system: Option<OperatingSystem>,
pub state: Option<WorkspaceImageState>,
pub required_tenancy: Option<WorkspaceImageRequiredTenancy>,
pub error_code: Option<String>,
pub error_message: Option<String>,
pub created: Option<DateTime>,
pub owner_account_id: Option<String>,
pub updates: Option<UpdateResult>,
}
Expand description
Describes a WorkSpace image.
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.image_id: Option<String>
The identifier of the image.
name: Option<String>
The name of the image.
description: Option<String>
The description of the image.
operating_system: Option<OperatingSystem>
The operating system that the image is running.
state: Option<WorkspaceImageState>
The status of the image.
required_tenancy: Option<WorkspaceImageRequiredTenancy>
Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED
. For more information, see Bring Your Own Windows Desktop Images.
error_code: Option<String>
The error code that is returned for the image.
error_message: Option<String>
The text of the error message that is returned for the image.
created: Option<DateTime>
The date when the image was created. If the image has been shared, the Amazon Web Services account that the image has been shared with sees the original creation date of the image.
owner_account_id: Option<String>
The identifier of the Amazon Web Services account that owns the image.
updates: Option<UpdateResult>
The updates (if any) that are available for the specified image.
Implementations
sourceimpl WorkspaceImage
impl WorkspaceImage
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the image.
sourcepub fn operating_system(&self) -> Option<&OperatingSystem>
pub fn operating_system(&self) -> Option<&OperatingSystem>
The operating system that the image is running.
sourcepub fn state(&self) -> Option<&WorkspaceImageState>
pub fn state(&self) -> Option<&WorkspaceImageState>
The status of the image.
sourcepub fn required_tenancy(&self) -> Option<&WorkspaceImageRequiredTenancy>
pub fn required_tenancy(&self) -> Option<&WorkspaceImageRequiredTenancy>
Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED
. For more information, see Bring Your Own Windows Desktop Images.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The error code that is returned for the image.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The text of the error message that is returned for the image.
sourcepub fn created(&self) -> Option<&DateTime>
pub fn created(&self) -> Option<&DateTime>
The date when the image was created. If the image has been shared, the Amazon Web Services account that the image has been shared with sees the original creation date of the image.
sourcepub fn owner_account_id(&self) -> Option<&str>
pub fn owner_account_id(&self) -> Option<&str>
The identifier of the Amazon Web Services account that owns the image.
sourcepub fn updates(&self) -> Option<&UpdateResult>
pub fn updates(&self) -> Option<&UpdateResult>
The updates (if any) that are available for the specified image.
sourceimpl WorkspaceImage
impl WorkspaceImage
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorkspaceImage
Trait Implementations
sourceimpl Clone for WorkspaceImage
impl Clone for WorkspaceImage
sourcefn clone(&self) -> WorkspaceImage
fn clone(&self) -> WorkspaceImage
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 WorkspaceImage
impl Debug for WorkspaceImage
sourceimpl PartialEq<WorkspaceImage> for WorkspaceImage
impl PartialEq<WorkspaceImage> for WorkspaceImage
sourcefn eq(&self, other: &WorkspaceImage) -> bool
fn eq(&self, other: &WorkspaceImage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WorkspaceImage) -> bool
fn ne(&self, other: &WorkspaceImage) -> bool
This method tests for !=
.
impl StructuralPartialEq for WorkspaceImage
Auto Trait Implementations
impl RefUnwindSafe for WorkspaceImage
impl Send for WorkspaceImage
impl Sync for WorkspaceImage
impl Unpin for WorkspaceImage
impl UnwindSafe for WorkspaceImage
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