Struct aws_sdk_workspaces::types::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>,
pub error_details: Option<Vec<ErrorDetails>>,
}
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.
error_details: Option<Vec<ErrorDetails>>
Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.
Implementations§
source§impl 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.
sourcepub fn error_details(&self) -> &[ErrorDetails]
pub fn error_details(&self) -> &[ErrorDetails]
Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .error_details.is_none()
.
source§impl WorkspaceImage
impl WorkspaceImage
sourcepub fn builder() -> WorkspaceImageBuilder
pub fn builder() -> WorkspaceImageBuilder
Creates a new builder-style object to manufacture WorkspaceImage
.
Trait Implementations§
source§impl Clone for WorkspaceImage
impl Clone for WorkspaceImage
source§fn clone(&self) -> WorkspaceImage
fn clone(&self) -> WorkspaceImage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkspaceImage
impl Debug for WorkspaceImage
source§impl PartialEq for WorkspaceImage
impl PartialEq for WorkspaceImage
source§fn eq(&self, other: &WorkspaceImage) -> bool
fn eq(&self, other: &WorkspaceImage) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkspaceImage
Auto Trait Implementations§
impl Freeze for WorkspaceImage
impl RefUnwindSafe for WorkspaceImage
impl Send for WorkspaceImage
impl Sync for WorkspaceImage
impl Unpin for WorkspaceImage
impl UnwindSafe for WorkspaceImage
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