@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeWorkspacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeWorkspacesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkspacesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBundleId()
The ID of the bundle.
|
String |
getDirectoryId()
The ID of the directory.
|
Integer |
getLimit()
The maximum number of items to return.
|
String |
getNextToken()
The token for the next set of results.
|
String |
getUserName()
The name of the directory user.
|
List<String> |
getWorkspaceIds()
The IDs of the WorkSpaces.
|
int |
hashCode() |
void |
setBundleId(String bundleId)
The ID of the bundle.
|
void |
setDirectoryId(String directoryId)
The ID of the directory.
|
void |
setLimit(Integer limit)
The maximum number of items to return.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setUserName(String userName)
The name of the directory user.
|
void |
setWorkspaceIds(Collection<String> workspaceIds)
The IDs of the WorkSpaces.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeWorkspacesRequest |
withBundleId(String bundleId)
The ID of the bundle.
|
DescribeWorkspacesRequest |
withDirectoryId(String directoryId)
The ID of the directory.
|
DescribeWorkspacesRequest |
withLimit(Integer limit)
The maximum number of items to return.
|
DescribeWorkspacesRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
DescribeWorkspacesRequest |
withUserName(String userName)
The name of the directory user.
|
DescribeWorkspacesRequest |
withWorkspaceIds(Collection<String> workspaceIds)
The IDs of the WorkSpaces.
|
DescribeWorkspacesRequest |
withWorkspaceIds(String... workspaceIds)
The IDs of the WorkSpaces.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getWorkspaceIds()
The IDs of the WorkSpaces. This parameter cannot be combined with any other filter.
Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
public void setWorkspaceIds(Collection<String> workspaceIds)
The IDs of the WorkSpaces. This parameter cannot be combined with any other filter.
Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
workspaceIds
- The IDs of the WorkSpaces. This parameter cannot be combined with any other filter.
Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
public DescribeWorkspacesRequest withWorkspaceIds(String... workspaceIds)
The IDs of the WorkSpaces. This parameter cannot be combined with any other filter.
Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
NOTE: This method appends the values to the existing list (if any). Use
setWorkspaceIds(java.util.Collection)
or withWorkspaceIds(java.util.Collection)
if you want to
override the existing values.
workspaceIds
- The IDs of the WorkSpaces. This parameter cannot be combined with any other filter.
Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
public DescribeWorkspacesRequest withWorkspaceIds(Collection<String> workspaceIds)
The IDs of the WorkSpaces. This parameter cannot be combined with any other filter.
Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
workspaceIds
- The IDs of the WorkSpaces. This parameter cannot be combined with any other filter.
Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
public void setDirectoryId(String directoryId)
The ID of the directory. In addition, you can optionally specify a specific directory user (see
UserName
). This parameter cannot be combined with any other filter.
directoryId
- The ID of the directory. In addition, you can optionally specify a specific directory user (see
UserName
). This parameter cannot be combined with any other filter.public String getDirectoryId()
The ID of the directory. In addition, you can optionally specify a specific directory user (see
UserName
). This parameter cannot be combined with any other filter.
UserName
). This parameter cannot be combined with any other filter.public DescribeWorkspacesRequest withDirectoryId(String directoryId)
The ID of the directory. In addition, you can optionally specify a specific directory user (see
UserName
). This parameter cannot be combined with any other filter.
directoryId
- The ID of the directory. In addition, you can optionally specify a specific directory user (see
UserName
). This parameter cannot be combined with any other filter.public void setUserName(String userName)
The name of the directory user. You must specify this parameter with DirectoryId
.
userName
- The name of the directory user. You must specify this parameter with DirectoryId
.public String getUserName()
The name of the directory user. You must specify this parameter with DirectoryId
.
DirectoryId
.public DescribeWorkspacesRequest withUserName(String userName)
The name of the directory user. You must specify this parameter with DirectoryId
.
userName
- The name of the directory user. You must specify this parameter with DirectoryId
.public void setBundleId(String bundleId)
The ID of the bundle. All WorkSpaces that are created from this bundle are retrieved. This parameter cannot be combined with any other filter.
bundleId
- The ID of the bundle. All WorkSpaces that are created from this bundle are retrieved. This parameter
cannot be combined with any other filter.public String getBundleId()
The ID of the bundle. All WorkSpaces that are created from this bundle are retrieved. This parameter cannot be combined with any other filter.
public DescribeWorkspacesRequest withBundleId(String bundleId)
The ID of the bundle. All WorkSpaces that are created from this bundle are retrieved. This parameter cannot be combined with any other filter.
bundleId
- The ID of the bundle. All WorkSpaces that are created from this bundle are retrieved. This parameter
cannot be combined with any other filter.public void setLimit(Integer limit)
The maximum number of items to return.
limit
- The maximum number of items to return.public Integer getLimit()
The maximum number of items to return.
public DescribeWorkspacesRequest withLimit(Integer limit)
The maximum number of items to return.
limit
- The maximum number of items to return.public void setNextToken(String nextToken)
The token for the next set of results. (You received this token from a previous call.)
nextToken
- The token for the next set of results. (You received this token from a previous call.)public String getNextToken()
The token for the next set of results. (You received this token from a previous call.)
public DescribeWorkspacesRequest withNextToken(String nextToken)
The token for the next set of results. (You received this token from a previous call.)
nextToken
- The token for the next set of results. (You received this token from a previous call.)public String toString()
toString
in class Object
Object.toString()
public DescribeWorkspacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.