Class CreateWorkspacesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the result of the CreateWorkspaces operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An array of structures that represent the WorkSpaces that could not be created.An array of structures that represent the WorkSpaces that were created.int
hashCode()
void
setFailedRequests
(Collection<FailedCreateWorkspaceRequest> failedRequests) An array of structures that represent the WorkSpaces that could not be created.void
setPendingRequests
(Collection<Workspace> pendingRequests) An array of structures that represent the WorkSpaces that were created.toString()
Returns a string representation of this object; useful for testing and debugging.withFailedRequests
(FailedCreateWorkspaceRequest... failedRequests) An array of structures that represent the WorkSpaces that could not be created.withFailedRequests
(Collection<FailedCreateWorkspaceRequest> failedRequests) An array of structures that represent the WorkSpaces that could not be created.withPendingRequests
(Workspace... pendingRequests) An array of structures that represent the WorkSpaces that were created.withPendingRequests
(Collection<Workspace> pendingRequests) An array of structures that represent the WorkSpaces that were created.
-
Constructor Details
-
CreateWorkspacesResult
public CreateWorkspacesResult()
-
-
Method Details
-
getFailedRequests
An array of structures that represent the WorkSpaces that could not be created.
- Returns:
- An array of structures that represent the WorkSpaces that could not be created.
-
setFailedRequests
An array of structures that represent the WorkSpaces that could not be created.
- Parameters:
failedRequests
- An array of structures that represent the WorkSpaces that could not be created.
-
withFailedRequests
An array of structures that represent the WorkSpaces that could not be created.
NOTE: This method appends the values to the existing list (if any). Use
setFailedRequests(java.util.Collection)
orwithFailedRequests(java.util.Collection)
if you want to override the existing values.- Parameters:
failedRequests
- An array of structures that represent the WorkSpaces that could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailedRequests
public CreateWorkspacesResult withFailedRequests(Collection<FailedCreateWorkspaceRequest> failedRequests) An array of structures that represent the WorkSpaces that could not be created.
- Parameters:
failedRequests
- An array of structures that represent the WorkSpaces that could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPendingRequests
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in
WorkspaceId
is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.- Returns:
- An array of structures that represent the WorkSpaces that were
created.
Because this operation is asynchronous, the identifier in
WorkspaceId
is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.
-
setPendingRequests
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in
WorkspaceId
is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.- Parameters:
pendingRequests
- An array of structures that represent the WorkSpaces that were created.Because this operation is asynchronous, the identifier in
WorkspaceId
is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.
-
withPendingRequests
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in
WorkspaceId
is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.NOTE: This method appends the values to the existing list (if any). Use
setPendingRequests(java.util.Collection)
orwithPendingRequests(java.util.Collection)
if you want to override the existing values.- Parameters:
pendingRequests
- An array of structures that represent the WorkSpaces that were created.Because this operation is asynchronous, the identifier in
WorkspaceId
is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPendingRequests
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in
WorkspaceId
is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.- Parameters:
pendingRequests
- An array of structures that represent the WorkSpaces that were created.Because this operation is asynchronous, the identifier in
WorkspaceId
is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-