WorkspaceImage class

Describes a WorkSpace image.

  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)


WorkspaceImage({DateTime created, String description, String errorCode, String errorMessage, String imageId, String name, OperatingSystem operatingSystem, String ownerAccountId, WorkspaceImageRequiredTenancy requiredTenancy, WorkspaceImageState state})
WorkspaceImage.fromJson(Map<String, dynamic> json)


created DateTime
The date when the image was created. If the image has been shared, the AWS account that the image has been shared with sees the original creation date of the image.
@UnixDateTimeConverter(), @JsonKey(name: 'Created'), final
description String
The description of the image.
@JsonKey(name: 'Description'), final
errorCode String
The error code that is returned for the image.
@JsonKey(name: 'ErrorCode'), final
errorMessage String
The text of the error message that is returned for the image.
@JsonKey(name: 'ErrorMessage'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
imageId String
The identifier of the image.
@JsonKey(name: 'ImageId'), final
name String
The name of the image.
@JsonKey(name: 'Name'), final
operatingSystem OperatingSystem
The operating system that the image is running.
@JsonKey(name: 'OperatingSystem'), final
ownerAccountId String
The identifier of the AWS account that owns the image.
@JsonKey(name: 'OwnerAccountId'), final
requiredTenancy 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.
@JsonKey(name: 'RequiredTenancy'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state WorkspaceImageState
The status of the image.
@JsonKey(name: 'State'), final


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]