Class CreateWorkspacesResult
- java.lang.Object
-
- com.amazonaws.services.workspaces.model.CreateWorkspacesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateWorkspacesResult extends Object implements Serializable, Cloneable
Contains the result of the CreateWorkspaces operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateWorkspacesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateWorkspacesResultclone()booleanequals(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.inthashCode()voidsetFailedRequests(Collection<FailedCreateWorkspaceRequest> failedRequests)An array of structures that represent the WorkSpaces that could not be created.voidsetPendingRequests(Collection<Workspace> pendingRequests)An array of structures that represent the WorkSpaces that were created.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateWorkspacesResultwithFailedRequests(FailedCreateWorkspaceRequest... failedRequests)An array of structures that represent the WorkSpaces that could not be created.CreateWorkspacesResultwithFailedRequests(Collection<FailedCreateWorkspaceRequest> failedRequests)An array of structures that represent the WorkSpaces that could not be created.CreateWorkspacesResultwithPendingRequests(Workspace... pendingRequests)An array of structures that represent the WorkSpaces that were created.CreateWorkspacesResultwithPendingRequests(Collection<Workspace> pendingRequests)An array of structures that represent the WorkSpaces that were created.
-
-
-
Method Detail
-
getFailedRequests
public List<FailedCreateWorkspaceRequest> 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
public void setFailedRequests(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.
-
withFailedRequests
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)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
public List<Workspace> getPendingRequests()
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in
WorkspaceIdis 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
WorkspaceIdis not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.
-
setPendingRequests
public void setPendingRequests(Collection<Workspace> pendingRequests)
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in
WorkspaceIdis 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
WorkspaceIdis not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.
-
withPendingRequests
public CreateWorkspacesResult withPendingRequests(Workspace... pendingRequests)
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in
WorkspaceIdis 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
WorkspaceIdis 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
public CreateWorkspacesResult withPendingRequests(Collection<Workspace> pendingRequests)
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in
WorkspaceIdis 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
WorkspaceIdis 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateWorkspacesResult clone()
-
-