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:
  • Constructor Details

    • CreateWorkspacesResult

      public CreateWorkspacesResult()
  • Method Details

    • 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) or withFailedRequests(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 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

      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 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

      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.

      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

      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 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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateWorkspacesResult clone()
      Overrides:
      clone in class Object