Class FailedCreateWorkspaceRequest
- java.lang.Object
-
- com.amazonaws.services.workspaces.model.FailedCreateWorkspaceRequest
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class FailedCreateWorkspaceRequest extends Object implements Serializable, Cloneable
Contains information about a WorkSpace that could not be created.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FailedCreateWorkspaceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailedCreateWorkspaceRequest
clone()
boolean
equals(Object obj)
String
getErrorCode()
The error code.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(String errorCode)
The error code.void
setErrorMessage(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.String
toString()
Returns a string representation of this object; useful for testing and debugging.FailedCreateWorkspaceRequest
withErrorCode(String errorCode)
The error code.FailedCreateWorkspaceRequest
withErrorMessage(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.
-
-
-
Method Detail
-
setWorkspaceRequest
public void setWorkspaceRequest(WorkspaceRequest workspaceRequest)
A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.
- Parameters:
workspaceRequest
- A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.
-
getWorkspaceRequest
public WorkspaceRequest getWorkspaceRequest()
A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.
- Returns:
- A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.
-
withWorkspaceRequest
public FailedCreateWorkspaceRequest withWorkspaceRequest(WorkspaceRequest workspaceRequest)
A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.
- Parameters:
workspaceRequest
- A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorCode
public void setErrorCode(String errorCode)
The error code.
- Parameters:
errorCode
- The error code.
-
getErrorCode
public String getErrorCode()
The error code.
- Returns:
- The error code.
-
withErrorCode
public FailedCreateWorkspaceRequest withErrorCode(String errorCode)
The error code.
- Parameters:
errorCode
- The error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorMessage
public void setErrorMessage(String errorMessage)
The textual error message.
- Parameters:
errorMessage
- The textual error message.
-
getErrorMessage
public String getErrorMessage()
The textual error message.
- Returns:
- The textual error message.
-
withErrorMessage
public FailedCreateWorkspaceRequest withErrorMessage(String errorMessage)
The textual error message.
- Parameters:
errorMessage
- The textual error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FailedCreateWorkspaceRequest clone()
-
-