Class DescribeWorkspaceDirectoriesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.workspaces.model.DescribeWorkspaceDirectoriesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeWorkspaceDirectoriesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the DescribeWorkspaceDirectories operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeWorkspaceDirectoriesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeWorkspaceDirectoriesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getDirectoryIds()
An array of strings that contains the directory identifiers to retrieve information for.String
getNextToken()
TheNextToken
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)
TheNextToken
value from a previous call to this operation.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeWorkspaceDirectoriesRequest
withDirectoryIds(String... directoryIds)
An array of strings that contains the directory identifiers to retrieve information for.DescribeWorkspaceDirectoriesRequest
withDirectoryIds(Collection<String> directoryIds)
An array of strings that contains the directory identifiers to retrieve information for.DescribeWorkspaceDirectoriesRequest
withNextToken(String nextToken)
TheNextToken
value from a previous call to this operation.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getDirectoryIds
public List<String> getDirectoryIds()
An array of strings that contains the directory identifiers to retrieve information for. If this member is null, all directories are retrieved.
- Returns:
- An array of strings that contains the directory identifiers to retrieve information for. If this member is null, all directories are retrieved.
-
setDirectoryIds
public void setDirectoryIds(Collection<String> directoryIds)
An array of strings that contains the directory identifiers to retrieve information for. If this member is null, all directories are retrieved.
- Parameters:
directoryIds
- An array of strings that contains the directory identifiers to retrieve information for. If this member is null, all directories are retrieved.
-
withDirectoryIds
public DescribeWorkspaceDirectoriesRequest withDirectoryIds(String... directoryIds)
An array of strings that contains the directory identifiers to retrieve information for. If this member is null, all directories are retrieved.
NOTE: This method appends the values to the existing list (if any). Use
setDirectoryIds(java.util.Collection)
orwithDirectoryIds(java.util.Collection)
if you want to override the existing values.- Parameters:
directoryIds
- An array of strings that contains the directory identifiers to retrieve information for. If this member is null, all directories are retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDirectoryIds
public DescribeWorkspaceDirectoriesRequest withDirectoryIds(Collection<String> directoryIds)
An array of strings that contains the directory identifiers to retrieve information for. If this member is null, all directories are retrieved.
- Parameters:
directoryIds
- An array of strings that contains the directory identifiers to retrieve information for. If this member is null, all directories are retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
NextToken
value from a previous call to this operation. Pass null if this is the first call.- Parameters:
nextToken
- TheNextToken
value from a previous call to this operation. Pass null if this is the first call.
-
getNextToken
public String getNextToken()
The
NextToken
value from a previous call to this operation. Pass null if this is the first call.- Returns:
- The
NextToken
value from a previous call to this operation. Pass null if this is the first call.
-
withNextToken
public DescribeWorkspaceDirectoriesRequest withNextToken(String nextToken)
The
NextToken
value from a previous call to this operation. Pass null if this is the first call.- Parameters:
nextToken
- TheNextToken
value from a previous call to this operation. Pass null if this is the first call.- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeWorkspaceDirectoriesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-