@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailedWorkspaceChangeRequest extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a WorkSpace that could not be rebooted (RebootWorkspaces), rebuilt (RebuildWorkspaces), 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.
|
String |
getErrorMessage()
The textual error message.
|
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.
|
void |
setErrorMessage(String errorMessage)
The textual error message.
|
void |
setWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FailedWorkspaceChangeRequest |
withErrorCode(String errorCode)
The error code.
|
FailedWorkspaceChangeRequest |
withErrorMessage(String errorMessage)
The textual error message.
|
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.
errorCode
- The error code.public String getErrorCode()
The error code.
public FailedWorkspaceChangeRequest withErrorCode(String errorCode)
The error code.
errorCode
- The error code.public void setErrorMessage(String errorMessage)
The textual error message.
errorMessage
- The textual error message.public String getErrorMessage()
The textual error message.
public FailedWorkspaceChangeRequest withErrorMessage(String errorMessage)
The textual error message.
errorMessage
- The textual error message.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.