Class DescribeWorkspaceDirectoriesResult

java.lang.Object
com.amazonaws.services.workspaces.model.DescribeWorkspaceDirectoriesResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeWorkspaceDirectoriesResult extends Object implements Serializable, Cloneable

Contains the results of the DescribeWorkspaceDirectories operation.

See Also:
  • Constructor Details

    • DescribeWorkspaceDirectoriesResult

      public DescribeWorkspaceDirectoriesResult()
  • Method Details

    • getDirectories

      public List<WorkspaceDirectory> getDirectories()

      An array of structures that contain information about the directories.

      Returns:
      An array of structures that contain information about the directories.
    • setDirectories

      public void setDirectories(Collection<WorkspaceDirectory> directories)

      An array of structures that contain information about the directories.

      Parameters:
      directories - An array of structures that contain information about the directories.
    • withDirectories

      public DescribeWorkspaceDirectoriesResult withDirectories(WorkspaceDirectory... directories)

      An array of structures that contain information about the directories.

      NOTE: This method appends the values to the existing list (if any). Use setDirectories(java.util.Collection) or withDirectories(java.util.Collection) if you want to override the existing values.

      Parameters:
      directories - An array of structures that contain information about the directories.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withDirectories

      public DescribeWorkspaceDirectoriesResult withDirectories(Collection<WorkspaceDirectory> directories)

      An array of structures that contain information about the directories.

      Parameters:
      directories - An array of structures that contain information about the directories.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to this operation to retrieve the next set of items. This token is valid for one day and must be used within that timeframe.

      Parameters:
      nextToken - If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to this operation to retrieve the next set of items. This token is valid for one day and must be used within that timeframe.
    • getNextToken

      public String getNextToken()

      If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to this operation to retrieve the next set of items. This token is valid for one day and must be used within that timeframe.

      Returns:
      If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to this operation to retrieve the next set of items. This token is valid for one day and must be used within that timeframe.
    • withNextToken

      public DescribeWorkspaceDirectoriesResult withNextToken(String nextToken)

      If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to this operation to retrieve the next set of items. This token is valid for one day and must be used within that timeframe.

      Parameters:
      nextToken - If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to this operation to retrieve the next set of items. This token is valid for one day and must be used within that timeframe.
      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

      Overrides:
      clone in class Object