@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceImage extends Object implements Serializable, Cloneable, StructuredPojo
Describes a WorkSpace image.
Constructor and Description |
---|
WorkspaceImage() |
Modifier and Type | Method and Description |
---|---|
WorkspaceImage |
clone() |
boolean |
equals(Object obj) |
Date |
getCreated()
The date when the image was created.
|
String |
getDescription()
The description of the image.
|
String |
getErrorCode()
The error code that is returned for the image.
|
List<ErrorDetails> |
getErrorDetails()
Additional details of the error returned for the image, including the possible causes of the errors and
troubleshooting information.
|
String |
getErrorMessage()
The text of the error message that is returned for the image.
|
String |
getImageId()
The identifier of the image.
|
String |
getName()
The name of the image.
|
OperatingSystem |
getOperatingSystem()
The operating system that the image is running.
|
String |
getOwnerAccountId()
The identifier of the Amazon Web Services account that owns the image.
|
String |
getRequiredTenancy()
Specifies whether the image is running on dedicated hardware.
|
String |
getState()
The status of the image.
|
UpdateResult |
getUpdates()
The updates (if any) that are available for the specified image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreated(Date created)
The date when the image was created.
|
void |
setDescription(String description)
The description of the image.
|
void |
setErrorCode(String errorCode)
The error code that is returned for the image.
|
void |
setErrorDetails(Collection<ErrorDetails> errorDetails)
Additional details of the error returned for the image, including the possible causes of the errors and
troubleshooting information.
|
void |
setErrorMessage(String errorMessage)
The text of the error message that is returned for the image.
|
void |
setImageId(String imageId)
The identifier of the image.
|
void |
setName(String name)
The name of the image.
|
void |
setOperatingSystem(OperatingSystem operatingSystem)
The operating system that the image is running.
|
void |
setOwnerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the image.
|
void |
setRequiredTenancy(String requiredTenancy)
Specifies whether the image is running on dedicated hardware.
|
void |
setState(String state)
The status of the image.
|
void |
setUpdates(UpdateResult updates)
The updates (if any) that are available for the specified image.
|
String |
toString()
Returns a string representation of this object.
|
WorkspaceImage |
withCreated(Date created)
The date when the image was created.
|
WorkspaceImage |
withDescription(String description)
The description of the image.
|
WorkspaceImage |
withErrorCode(String errorCode)
The error code that is returned for the image.
|
WorkspaceImage |
withErrorDetails(Collection<ErrorDetails> errorDetails)
Additional details of the error returned for the image, including the possible causes of the errors and
troubleshooting information.
|
WorkspaceImage |
withErrorDetails(ErrorDetails... errorDetails)
Additional details of the error returned for the image, including the possible causes of the errors and
troubleshooting information.
|
WorkspaceImage |
withErrorMessage(String errorMessage)
The text of the error message that is returned for the image.
|
WorkspaceImage |
withImageId(String imageId)
The identifier of the image.
|
WorkspaceImage |
withName(String name)
The name of the image.
|
WorkspaceImage |
withOperatingSystem(OperatingSystem operatingSystem)
The operating system that the image is running.
|
WorkspaceImage |
withOwnerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the image.
|
WorkspaceImage |
withRequiredTenancy(String requiredTenancy)
Specifies whether the image is running on dedicated hardware.
|
WorkspaceImage |
withRequiredTenancy(WorkspaceImageRequiredTenancy requiredTenancy)
Specifies whether the image is running on dedicated hardware.
|
WorkspaceImage |
withState(String state)
The status of the image.
|
WorkspaceImage |
withState(WorkspaceImageState state)
The status of the image.
|
WorkspaceImage |
withUpdates(UpdateResult updates)
The updates (if any) that are available for the specified image.
|
public void setImageId(String imageId)
The identifier of the image.
imageId
- The identifier of the image.public String getImageId()
The identifier of the image.
public WorkspaceImage withImageId(String imageId)
The identifier of the image.
imageId
- The identifier of the image.public void setName(String name)
The name of the image.
name
- The name of the image.public String getName()
The name of the image.
public WorkspaceImage withName(String name)
The name of the image.
name
- The name of the image.public void setDescription(String description)
The description of the image.
description
- The description of the image.public String getDescription()
The description of the image.
public WorkspaceImage withDescription(String description)
The description of the image.
description
- The description of the image.public void setOperatingSystem(OperatingSystem operatingSystem)
The operating system that the image is running.
operatingSystem
- The operating system that the image is running.public OperatingSystem getOperatingSystem()
The operating system that the image is running.
public WorkspaceImage withOperatingSystem(OperatingSystem operatingSystem)
The operating system that the image is running.
operatingSystem
- The operating system that the image is running.public void setState(String state)
The status of the image.
state
- The status of the image.WorkspaceImageState
public String getState()
The status of the image.
WorkspaceImageState
public WorkspaceImage withState(String state)
The status of the image.
state
- The status of the image.WorkspaceImageState
public WorkspaceImage withState(WorkspaceImageState state)
The status of the image.
state
- The status of the image.WorkspaceImageState
public void setRequiredTenancy(String 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.
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.WorkspaceImageRequiredTenancy
public String getRequiredTenancy()
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.
DEDICATED
. For more information, see Bring Your Own
Windows Desktop Images.WorkspaceImageRequiredTenancy
public WorkspaceImage withRequiredTenancy(String 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.
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.WorkspaceImageRequiredTenancy
public WorkspaceImage withRequiredTenancy(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.
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.WorkspaceImageRequiredTenancy
public void setErrorCode(String errorCode)
The error code that is returned for the image.
errorCode
- The error code that is returned for the image.public String getErrorCode()
The error code that is returned for the image.
public WorkspaceImage withErrorCode(String errorCode)
The error code that is returned for the image.
errorCode
- The error code that is returned for the image.public void setErrorMessage(String errorMessage)
The text of the error message that is returned for the image.
errorMessage
- The text of the error message that is returned for the image.public String getErrorMessage()
The text of the error message that is returned for the image.
public WorkspaceImage withErrorMessage(String errorMessage)
The text of the error message that is returned for the image.
errorMessage
- The text of the error message that is returned for the image.public void setCreated(Date 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.
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 Date getCreated()
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 WorkspaceImage withCreated(Date 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.
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 void setOwnerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the image.
ownerAccountId
- The identifier of the Amazon Web Services account that owns the image.public String getOwnerAccountId()
The identifier of the Amazon Web Services account that owns the image.
public WorkspaceImage withOwnerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the image.
ownerAccountId
- The identifier of the Amazon Web Services account that owns the image.public void setUpdates(UpdateResult updates)
The updates (if any) that are available for the specified image.
updates
- The updates (if any) that are available for the specified image.public UpdateResult getUpdates()
The updates (if any) that are available for the specified image.
public WorkspaceImage withUpdates(UpdateResult updates)
The updates (if any) that are available for the specified image.
updates
- The updates (if any) that are available for the specified image.public List<ErrorDetails> getErrorDetails()
Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.
public void setErrorDetails(Collection<ErrorDetails> errorDetails)
Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.
errorDetails
- Additional details of the error returned for the image, including the possible causes of the errors and
troubleshooting information.public WorkspaceImage withErrorDetails(ErrorDetails... errorDetails)
Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.
NOTE: This method appends the values to the existing list (if any). Use
setErrorDetails(java.util.Collection)
or withErrorDetails(java.util.Collection)
if you want to
override the existing values.
errorDetails
- Additional details of the error returned for the image, including the possible causes of the errors and
troubleshooting information.public WorkspaceImage withErrorDetails(Collection<ErrorDetails> errorDetails)
Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.
errorDetails
- Additional details of the error returned for the image, including the possible causes of the errors and
troubleshooting information.public String toString()
toString
in class Object
Object.toString()
public WorkspaceImage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.