public class DescribeWorkspaceDirectoriesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the results of the DescribeWorkspaceDirectories operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<WorkspaceDirectory> |
directories
An array of structures that contain information about the directories.
|
private java.lang.String |
nextToken
If not null, more results are available.
|
Constructor and Description |
---|
DescribeWorkspaceDirectoriesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkspaceDirectoriesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<WorkspaceDirectory> |
getDirectories()
An array of structures that contain information about the directories.
|
java.lang.String |
getNextToken()
If not null, more results are available.
|
int |
hashCode() |
void |
setDirectories(java.util.Collection<WorkspaceDirectory> directories)
An array of structures that contain information about the directories.
|
void |
setNextToken(java.lang.String nextToken)
If not null, more results are available.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeWorkspaceDirectoriesResult |
withDirectories(java.util.Collection<WorkspaceDirectory> directories)
An array of structures that contain information about the directories.
|
DescribeWorkspaceDirectoriesResult |
withDirectories(WorkspaceDirectory... directories)
An array of structures that contain information about the directories.
|
DescribeWorkspaceDirectoriesResult |
withNextToken(java.lang.String nextToken)
If not null, more results are available.
|
private SdkInternalList<WorkspaceDirectory> directories
An array of structures that contain information about the directories.
private java.lang.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.
public java.util.List<WorkspaceDirectory> getDirectories()
An array of structures that contain information about the directories.
public void setDirectories(java.util.Collection<WorkspaceDirectory> directories)
An array of structures that contain information about the directories.
directories
- An array of structures that contain information about the
directories.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.
directories
- An array of structures that contain information about the
directories.public DescribeWorkspaceDirectoriesResult withDirectories(java.util.Collection<WorkspaceDirectory> directories)
An array of structures that contain information about the directories.
directories
- An array of structures that contain information about the
directories.public void setNextToken(java.lang.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.
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.public java.lang.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.
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.public DescribeWorkspaceDirectoriesResult withNextToken(java.lang.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.
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.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 DescribeWorkspaceDirectoriesResult clone()
clone
in class java.lang.Object