public class DescribeWorkspaceDirectoriesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeWorkspaceDirectories operation.
Retrieves information about the AWS Directory Service directories in the region that are registered with Amazon WorkSpaces and are available to your account.
This operation supports pagination with the use of the
NextToken request and response parameters. If more
results are available, the NextToken response member
contains a token that you pass in the next call to this operation to
retrieve the next set of items.
NOOP| Constructor and Description |
|---|
DescribeWorkspaceDirectoriesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeWorkspaceDirectoriesRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDirectoryIds()
An array of strings that contains the directory identifiers to
retrieve information for.
|
String |
getNextToken()
The
NextToken value from a previous call to this
operation. |
int |
hashCode() |
void |
setDirectoryIds(Collection<String> directoryIds)
An array of strings that contains the directory identifiers to
retrieve information for.
|
void |
setNextToken(String nextToken)
The
NextToken value from a previous call to this
operation. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeWorkspaceDirectoriesRequest |
withDirectoryIds(Collection<String> directoryIds)
An array of strings that contains the directory identifiers to
retrieve information for.
|
DescribeWorkspaceDirectoriesRequest |
withDirectoryIds(String... directoryIds)
An array of strings that contains the directory identifiers to
retrieve information for.
|
DescribeWorkspaceDirectoriesRequest |
withNextToken(String nextToken)
The
NextToken value from a previous call to this
operation. |
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<String> getDirectoryIds()
Constraints:
Length: 1 - 25
public void setDirectoryIds(Collection<String> directoryIds)
Constraints:
Length: 1 - 25
directoryIds - An array of strings that contains the directory identifiers to
retrieve information for. If this member is null, all directories are
retrieved.public DescribeWorkspaceDirectoriesRequest withDirectoryIds(String... directoryIds)
NOTE: This method appends the values to the existing list (if
any). Use setDirectoryIds(java.util.Collection) or withDirectoryIds(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
directoryIds - An array of strings that contains the directory identifiers to
retrieve information for. If this member is null, all directories are
retrieved.public DescribeWorkspaceDirectoriesRequest withDirectoryIds(Collection<String> directoryIds)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
directoryIds - An array of strings that contains the directory identifiers to
retrieve information for. If this member is null, all directories are
retrieved.public String getNextToken()
NextToken value from a previous call to this
operation. Pass null if this is the first call.
Constraints:
Length: 1 - 63
NextToken value from a previous call to this
operation. Pass null if this is the first call.public void setNextToken(String nextToken)
NextToken value from a previous call to this
operation. Pass null if this is the first call.
Constraints:
Length: 1 - 63
nextToken - The NextToken value from a previous call to this
operation. Pass null if this is the first call.public DescribeWorkspaceDirectoriesRequest withNextToken(String nextToken)
NextToken value from a previous call to this
operation. Pass null if this is the first call.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 63
nextToken - The NextToken value from a previous call to this
operation. Pass null if this is the first call.public String toString()
toString in class ObjectObject.toString()public DescribeWorkspaceDirectoriesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.