public class CreateWorkspacesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the result of the CreateWorkspaces operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<FailedCreateWorkspaceRequest> |
failedRequests
An array of structures that represent the WorkSpaces that could not be
created.
|
private SdkInternalList<Workspace> |
pendingRequests
An array of structures that represent the WorkSpaces that were created.
|
Constructor and Description |
---|
CreateWorkspacesResult() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspacesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<FailedCreateWorkspaceRequest> |
getFailedRequests()
An array of structures that represent the WorkSpaces that could not be
created.
|
java.util.List<Workspace> |
getPendingRequests()
An array of structures that represent the WorkSpaces that were created.
|
int |
hashCode() |
void |
setFailedRequests(java.util.Collection<FailedCreateWorkspaceRequest> failedRequests)
An array of structures that represent the WorkSpaces that could not be
created.
|
void |
setPendingRequests(java.util.Collection<Workspace> pendingRequests)
An array of structures that represent the WorkSpaces that were created.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateWorkspacesResult |
withFailedRequests(java.util.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(java.util.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.
|
private SdkInternalList<FailedCreateWorkspaceRequest> failedRequests
An array of structures that represent the WorkSpaces that could not be created.
private SdkInternalList<Workspace> 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 java.util.List<FailedCreateWorkspaceRequest> getFailedRequests()
An array of structures that represent the WorkSpaces that could not be created.
public void setFailedRequests(java.util.Collection<FailedCreateWorkspaceRequest> failedRequests)
An array of structures that represent the WorkSpaces that could not be created.
failedRequests
- An array of structures that represent the WorkSpaces that could
not be created.public CreateWorkspacesResult withFailedRequests(FailedCreateWorkspaceRequest... failedRequests)
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)
or
withFailedRequests(java.util.Collection)
if you want to override
the existing values.
failedRequests
- An array of structures that represent the WorkSpaces that could
not be created.public CreateWorkspacesResult withFailedRequests(java.util.Collection<FailedCreateWorkspaceRequest> failedRequests)
An array of structures that represent the WorkSpaces that could not be created.
failedRequests
- An array of structures that represent the WorkSpaces that could
not be created.public java.util.List<Workspace> 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.
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(java.util.Collection<Workspace> 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.
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)
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)
or
withPendingRequests(java.util.Collection)
if you want to
override the existing values.
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(java.util.Collection<Workspace> 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.
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 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 CreateWorkspacesResult clone()
clone
in class java.lang.Object