GetImageResult class

Result data returned by getImage.

Constructors

GetImageResult({required List<GetImageApplication> applications, required String appstreamAgentVersion, required String arn, required String baseImageArn, required String createdTime, required String description, required String displayName, required String imageBuilderName, required bool imageBuilderSupported, required List<GetImageImagePermission> imagePermissions, bool? mostRecent, required String name, String? nameRegex, required String platform, required String publicBaseImageReleasedDate, required String region, required String state, required List<GetImageStateChangeReason> stateChangeReasons, String? type})
Creates a new GetImageResult. applications Application object that contains the following: appstreamAgentVersion Version of the AppStream 2.0 agent to use for instances that are launched from this image. Has a maximum length of 100 characters. arn ARN of the image. baseImageArn ARN of the image from which the image was created. createdTime Time at which this image was created. description Description of image. displayName Image name to display. imageBuilderName Name of the image builder that was used to created the private image. If the image is shared then the value is null. imageBuilderSupported Whether an image builder can be launched from this image. imagePermissions List of objects describing the image permissions containing the following: mostRecent Optional. name Name of the application. nameRegex Optional. platform Operating system platform of the image. Values will be from: WINDOWS | WINDOWS_SERVER_2016 | WINDOWS_SERVER_2019 | WINDOWS_SERVER_2022 | AMAZON_LINUX2 publicBaseImageReleasedDate Release date of base image if public. For private images, it is the release date of the base image that it was created from. region Required. state Current state of image. Image starts in PENDING state which changes to AVAILABLE if creation passes and FAILED if it fails. Values will be from: PENDING | AVAILABLE | FAILED | COPYING | DELETING | CREATING | IMPORTING. stateChangeReasons Reason for the last state change. type Optional.
const
GetImageResult.fromMap(Map<String, dynamic> map)
factory

Properties

applications → List<GetImageApplication>
Application object that contains the following:
final
appstreamAgentVersion → String
Version of the AppStream 2.0 agent to use for instances that are launched from this image. Has a maximum length of 100 characters.
final
arn → String
ARN of the image.
final
baseImageArn → String
ARN of the image from which the image was created.
final
createdTime → String
Time at which this image was created.
final
description → String
Description of image.
final
displayName → String
Image name to display.
final
hashCode → int
The hash code for this object.
no setterinherited
imageBuilderName → String
Name of the image builder that was used to created the private image. If the image is shared then the value is null.
final
imageBuilderSupported → bool
Whether an image builder can be launched from this image.
final
imagePermissions → List<GetImageImagePermission>
List of objects describing the image permissions containing the following:
final
mostRecent → bool?
final
name → String
Name of the application.
final
nameRegex → String?
final
platform → String
Operating system platform of the image. Values will be from: WINDOWS | WINDOWS_SERVER_2016 | WINDOWS_SERVER_2019 | WINDOWS_SERVER_2022 | AMAZON_LINUX2
final
publicBaseImageReleasedDate → String
Release date of base image if public. For private images, it is the release date of the base image that it was created from.
final
region → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String
Current state of image. Image starts in PENDING state which changes to AVAILABLE if creation passes and FAILED if it fails. Values will be from: PENDING | AVAILABLE | FAILED | COPYING | DELETING | CREATING | IMPORTING.
final
stateChangeReasons → List<GetImageStateChangeReason>
Reason for the last state change.
final
type → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited