@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspacesPoolError extends Object implements Serializable, Cloneable, StructuredPojo
Describes a pool error.
| Constructor and Description |
|---|
WorkspacesPoolError() |
| Modifier and Type | Method and Description |
|---|---|
WorkspacesPoolError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
The error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorMessage(String errorMessage)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
WorkspacesPoolError |
withErrorCode(String errorCode)
The error code.
|
WorkspacesPoolError |
withErrorCode(WorkspacesPoolErrorCode errorCode)
The error code.
|
WorkspacesPoolError |
withErrorMessage(String errorMessage)
The error message.
|
public void setErrorCode(String errorCode)
The error code.
errorCode - The error code.WorkspacesPoolErrorCodepublic String getErrorCode()
The error code.
WorkspacesPoolErrorCodepublic WorkspacesPoolError withErrorCode(String errorCode)
The error code.
errorCode - The error code.WorkspacesPoolErrorCodepublic WorkspacesPoolError withErrorCode(WorkspacesPoolErrorCode errorCode)
The error code.
errorCode - The error code.WorkspacesPoolErrorCodepublic void setErrorMessage(String errorMessage)
The error message.
errorMessage - The error message.public String getErrorMessage()
The error message.
public WorkspacesPoolError withErrorMessage(String errorMessage)
The error message.
errorMessage - The error message.public String toString()
toString in class ObjectObject.toString()public WorkspacesPoolError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.