@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailedWorkspaceChangeRequest extends Object implements Serializable, Cloneable, StructuredPojo
Describes a WorkSpace that could not be rebooted. (RebootWorkspaces), rebuilt (RebuildWorkspaces), restored (RestoreWorkspace), terminated (TerminateWorkspaces), started (StartWorkspaces), or stopped (StopWorkspaces).
Constructor and Description |
---|
FailedWorkspaceChangeRequest() |
Modifier and Type | Method and Description |
---|---|
FailedWorkspaceChangeRequest |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code that is returned if the WorkSpace cannot be rebooted.
|
String |
getErrorMessage()
The text of the error message that is returned if the WorkSpace cannot be rebooted.
|
String |
getWorkspaceId()
The identifier of the WorkSpace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code that is returned if the WorkSpace cannot be rebooted.
|
void |
setErrorMessage(String errorMessage)
The text of the error message that is returned if the WorkSpace cannot be rebooted.
|
void |
setWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
|
String |
toString()
Returns a string representation of this object.
|
FailedWorkspaceChangeRequest |
withErrorCode(String errorCode)
The error code that is returned if the WorkSpace cannot be rebooted.
|
FailedWorkspaceChangeRequest |
withErrorMessage(String errorMessage)
The text of the error message that is returned if the WorkSpace cannot be rebooted.
|
FailedWorkspaceChangeRequest |
withWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
|
public void setWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
workspaceId
- The identifier of the WorkSpace.public String getWorkspaceId()
The identifier of the WorkSpace.
public FailedWorkspaceChangeRequest withWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
workspaceId
- The identifier of the WorkSpace.public void setErrorCode(String errorCode)
The error code that is returned if the WorkSpace cannot be rebooted.
errorCode
- The error code that is returned if the WorkSpace cannot be rebooted.public String getErrorCode()
The error code that is returned if the WorkSpace cannot be rebooted.
public FailedWorkspaceChangeRequest withErrorCode(String errorCode)
The error code that is returned if the WorkSpace cannot be rebooted.
errorCode
- The error code that is returned if the WorkSpace cannot be rebooted.public void setErrorMessage(String errorMessage)
The text of the error message that is returned if the WorkSpace cannot be rebooted.
errorMessage
- The text of the error message that is returned if the WorkSpace cannot be rebooted.public String getErrorMessage()
The text of the error message that is returned if the WorkSpace cannot be rebooted.
public FailedWorkspaceChangeRequest withErrorMessage(String errorMessage)
The text of the error message that is returned if the WorkSpace cannot be rebooted.
errorMessage
- The text of the error message that is returned if the WorkSpace cannot be rebooted.public String toString()
toString
in class Object
Object.toString()
public FailedWorkspaceChangeRequest 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.