@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) |
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 |
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 |
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 |
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 |
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 |
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.
requiredTenancy
- Specifies whether the image is running on dedicated hardware. When bring your own license (BYOL) is
enabled, this value is set to DEDICATED.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.
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.
requiredTenancy
- Specifies whether the image is running on dedicated hardware. When bring your own license (BYOL) is
enabled, this value is set to DEDICATED.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.
requiredTenancy
- Specifies whether the image is running on dedicated hardware. When bring your own license (BYOL) is
enabled, this value is set to DEDICATED.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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.