@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() |
String |
description()
The description of the image.
|
boolean |
equals(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.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String imageId()
The identifier of the image.
public String name()
The name of the image.
public String description()
The description of the image.
public OperatingSystem operatingSystem()
The operating system that the image is running.
public 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()
.
WorkspaceImageState
public 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()
.
WorkspaceImageState
public 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.
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()
.
WorkspaceImageRequiredTenancy
public 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.
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()
.
WorkspaceImageRequiredTenancy
public String errorCode()
The error code that is returned for the image.
public String errorMessage()
The text of the error message that is returned for the image.
public WorkspaceImage.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<WorkspaceImage.Builder,WorkspaceImage>
public static WorkspaceImage.Builder builder()
public static Class<? extends WorkspaceImage.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.