public class CreateWorkspacesResult extends Object implements Serializable, Cloneable
Contains the result of the CreateWorkspaces operation.
| Constructor and Description |
|---|
CreateWorkspacesResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateWorkspacesResult |
clone() |
boolean |
equals(Object obj) |
List<FailedCreateWorkspaceRequest> |
getFailedRequests()
An array of structures that represent the WorkSpaces that could not be
created.
|
List<Workspace> |
getPendingRequests()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateWorkspacesResult |
withFailedRequests(Collection<FailedCreateWorkspaceRequest> failedRequests)
An array of structures that represent the WorkSpaces that could not be
created.
|
CreateWorkspacesResult |
withFailedRequests(FailedCreateWorkspaceRequest... failedRequests)
An array of structures that represent the WorkSpaces that could not be
created.
|
CreateWorkspacesResult |
withPendingRequests(Collection<Workspace> pendingRequests)
An array of structures that represent the WorkSpaces that were
created.
|
CreateWorkspacesResult |
withPendingRequests(Workspace... pendingRequests)
An array of structures that represent the WorkSpaces that were
created.
|
public List<FailedCreateWorkspaceRequest> getFailedRequests()
public void setFailedRequests(Collection<FailedCreateWorkspaceRequest> failedRequests)
failedRequests - An array of structures that represent the WorkSpaces that could not be
created.public CreateWorkspacesResult withFailedRequests(FailedCreateWorkspaceRequest... failedRequests)
NOTE: This method appends the values to the existing list (if
any). Use setFailedRequests(java.util.Collection) or withFailedRequests(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
failedRequests - An array of structures that represent the WorkSpaces that could not be
created.public CreateWorkspacesResult withFailedRequests(Collection<FailedCreateWorkspaceRequest> failedRequests)
Returns a reference to this object so that method calls can be chained together.
failedRequests - An array of structures that represent the WorkSpaces that could not be
created.public List<Workspace> getPendingRequests()
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.
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.
public void setPendingRequests(Collection<Workspace> pendingRequests)
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.
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.
public CreateWorkspacesResult withPendingRequests(Workspace... pendingRequests)
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) or withPendingRequests(java.util.Collection) if you want to override
the existing values.
Returns a reference to this object so that method calls can be chained together.
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.
public CreateWorkspacesResult withPendingRequests(Collection<Workspace> pendingRequests)
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 a reference to this object so that method calls can be chained together.
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.
public String toString()
toString in class ObjectObject.toString()public CreateWorkspacesResult clone()
Copyright © 2015. All rights reserved.