public class FailedCreateWorkspaceRequest
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about a WorkSpace that could not be created.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
errorCode
The error code.
|
private java.lang.String |
errorMessage
The textual error message.
|
private WorkspaceRequest |
workspaceRequest
A WorkspaceRequest object that contains the information about the
WorkSpace that could not be created.
|
Constructor and Description |
---|
FailedCreateWorkspaceRequest() |
Modifier and Type | Method and Description |
---|---|
FailedCreateWorkspaceRequest |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getErrorCode()
The error code.
|
java.lang.String |
getErrorMessage()
The textual error message.
|
WorkspaceRequest |
getWorkspaceRequest()
A WorkspaceRequest object that contains the information about the
WorkSpace that could not be created.
|
int |
hashCode() |
void |
setErrorCode(java.lang.String errorCode)
The error code.
|
void |
setErrorMessage(java.lang.String errorMessage)
The textual error message.
|
void |
setWorkspaceRequest(WorkspaceRequest workspaceRequest)
A WorkspaceRequest object that contains the information about the
WorkSpace that could not be created.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FailedCreateWorkspaceRequest |
withErrorCode(java.lang.String errorCode)
The error code.
|
FailedCreateWorkspaceRequest |
withErrorMessage(java.lang.String errorMessage)
The textual error message.
|
FailedCreateWorkspaceRequest |
withWorkspaceRequest(WorkspaceRequest workspaceRequest)
A WorkspaceRequest object that contains the information about the
WorkSpace that could not be created.
|
private WorkspaceRequest workspaceRequest
A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.
private java.lang.String errorCode
The error code.
private java.lang.String errorMessage
The textual error message.
public void setWorkspaceRequest(WorkspaceRequest workspaceRequest)
A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.
workspaceRequest
- A WorkspaceRequest object that contains the information
about the WorkSpace that could not be created.public WorkspaceRequest getWorkspaceRequest()
A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.
public FailedCreateWorkspaceRequest withWorkspaceRequest(WorkspaceRequest workspaceRequest)
A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.
workspaceRequest
- A WorkspaceRequest object that contains the information
about the WorkSpace that could not be created.public void setErrorCode(java.lang.String errorCode)
The error code.
errorCode
- The error code.public java.lang.String getErrorCode()
The error code.
public FailedCreateWorkspaceRequest withErrorCode(java.lang.String errorCode)
The error code.
errorCode
- The error code.public void setErrorMessage(java.lang.String errorMessage)
The textual error message.
errorMessage
- The textual error message.public java.lang.String getErrorMessage()
The textual error message.
public FailedCreateWorkspaceRequest withErrorMessage(java.lang.String errorMessage)
The textual error message.
errorMessage
- The textual error message.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FailedCreateWorkspaceRequest clone()
clone
in class java.lang.Object