@Generated(value="software.amazon.awssdk:codegen") public final class WorkspaceImage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspaceImage.Builder,WorkspaceImage>
Describes a WorkSpace image.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkspaceImage.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkspaceImage.Builder |
builder() |
Instant |
created()
The date when the image was created.
|
String |
description()
The description of the image.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorCode()
The error code that is returned for the image.
|
String |
errorMessage()
The text of the error message that is returned for the image.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageId()
The identifier of the image.
|
String |
name()
The name of the image.
|
OperatingSystem |
operatingSystem()
The operating system that the image is running.
|
String |
ownerAccountId()
The identifier of the Amazon Web Services account that owns the image.
|
WorkspaceImageRequiredTenancy |
requiredTenancy()
Specifies whether the image is running on dedicated hardware.
|
String |
requiredTenancyAsString()
Specifies whether the image is running on dedicated hardware.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkspaceImage.Builder> |
serializableBuilderClass() |
WorkspaceImageState |
state()
The status of the image.
|
String |
stateAsString()
The status of the image.
|
WorkspaceImage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UpdateResult |
updates()
The updates (if any) that are available for the specified image.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String imageId()
The identifier of the image.
public final String name()
The name of the image.
public final String description()
The description of the image.
public final OperatingSystem operatingSystem()
The operating system that the image is running.
public final WorkspaceImageState state()
The status of the image.
If the service returns an enum value that is not available in the current SDK version, state will return
WorkspaceImageState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
WorkspaceImageStatepublic final String stateAsString()
The status of the image.
If the service returns an enum value that is not available in the current SDK version, state will return
WorkspaceImageState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
WorkspaceImageStatepublic final WorkspaceImageRequiredTenancy requiredTenancy()
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.
If the service returns an enum value that is not available in the current SDK version, requiredTenancy
will return WorkspaceImageRequiredTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from requiredTenancyAsString().
DEDICATED. For more information, see Bring Your Own
Windows Desktop Images.WorkspaceImageRequiredTenancypublic final String requiredTenancyAsString()
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.
If the service returns an enum value that is not available in the current SDK version, requiredTenancy
will return WorkspaceImageRequiredTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from requiredTenancyAsString().
DEDICATED. For more information, see Bring Your Own
Windows Desktop Images.WorkspaceImageRequiredTenancypublic final String errorCode()
The error code that is returned for the image.
public final String errorMessage()
The text of the error message that is returned for the image.
public final Instant created()
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.
public final String ownerAccountId()
The identifier of the Amazon Web Services account that owns the image.
public final UpdateResult updates()
The updates (if any) that are available for the specified image.
public WorkspaceImage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkspaceImage.Builder,WorkspaceImage>public static WorkspaceImage.Builder builder()
public static Class<? extends WorkspaceImage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.