Class CreateWorkspacesResult

    • Constructor Detail

      • CreateWorkspacesResult

        public CreateWorkspacesResult()
    • 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​(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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object