@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.
|
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 AWS account that owns the image.
|
String |
getRequiredTenancy()
Specifies whether the image is running on dedicated hardware.
|
String |
getState()
The status of the 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 |
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 AWS 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.
|
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 |
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 AWS 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.
|
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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS account that owns the image.
ownerAccountId
- The identifier of the AWS account that owns the image.public String getOwnerAccountId()
The identifier of the AWS account that owns the image.
public WorkspaceImage withOwnerAccountId(String ownerAccountId)
The identifier of the AWS account that owns the image.
ownerAccountId
- The identifier of the AWS account that owns the image.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.