@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeWorkspacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the DescribeWorkspaces operation.
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 identifier of a bundle to obtain the WorkSpaces for.
|
String |
getDirectoryId()
Specifies the directory identifier to which to limit the WorkSpaces.
|
Integer |
getLimit()
The maximum number of items to return.
|
String |
getNextToken()
The
NextToken value from a previous call to this operation. |
String |
getUserName()
Used with the
DirectoryId parameter to specify the directory user for whom to obtain the WorkSpace. |
List<String> |
getWorkspaceIds()
An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information.
|
int |
hashCode() |
void |
setBundleId(String bundleId)
The identifier of a bundle to obtain the WorkSpaces for.
|
void |
setDirectoryId(String directoryId)
Specifies the directory identifier to which to limit the WorkSpaces.
|
void |
setLimit(Integer limit)
The maximum number of items to return.
|
void |
setNextToken(String nextToken)
The
NextToken value from a previous call to this operation. |
void |
setUserName(String userName)
Used with the
DirectoryId parameter to specify the directory user for whom to obtain the WorkSpace. |
void |
setWorkspaceIds(Collection<String> workspaceIds)
An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeWorkspacesRequest |
withBundleId(String bundleId)
The identifier of a bundle to obtain the WorkSpaces for.
|
DescribeWorkspacesRequest |
withDirectoryId(String directoryId)
Specifies the directory identifier to which to limit the WorkSpaces.
|
DescribeWorkspacesRequest |
withLimit(Integer limit)
The maximum number of items to return.
|
DescribeWorkspacesRequest |
withNextToken(String nextToken)
The
NextToken value from a previous call to this operation. |
DescribeWorkspacesRequest |
withUserName(String userName)
Used with the
DirectoryId parameter to specify the directory user for whom to obtain the WorkSpace. |
DescribeWorkspacesRequest |
withWorkspaceIds(Collection<String> workspaceIds)
An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information.
|
DescribeWorkspacesRequest |
withWorkspaceIds(String... workspaceIds)
An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information.
|
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()
An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information. This parameter cannot be combined with any other filter parameter.
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)
An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information. This parameter cannot be combined with any other filter parameter.
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
- An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information. This
parameter cannot be combined with any other filter parameter.
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)
An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information. This parameter cannot be combined with any other filter parameter.
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
- An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information. This
parameter cannot be combined with any other filter parameter.
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)
An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information. This parameter cannot be combined with any other filter parameter.
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
- An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information. This
parameter cannot be combined with any other filter parameter.
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)
Specifies the directory identifier to which to limit the WorkSpaces. Optionally, you can specify a specific
directory user with the UserName
parameter. This parameter cannot be combined with any other filter
parameter.
directoryId
- Specifies the directory identifier to which to limit the WorkSpaces. Optionally, you can specify a
specific directory user with the UserName
parameter. This parameter cannot be combined with
any other filter parameter.public String getDirectoryId()
Specifies the directory identifier to which to limit the WorkSpaces. Optionally, you can specify a specific
directory user with the UserName
parameter. This parameter cannot be combined with any other filter
parameter.
UserName
parameter. This parameter cannot be combined with
any other filter parameter.public DescribeWorkspacesRequest withDirectoryId(String directoryId)
Specifies the directory identifier to which to limit the WorkSpaces. Optionally, you can specify a specific
directory user with the UserName
parameter. This parameter cannot be combined with any other filter
parameter.
directoryId
- Specifies the directory identifier to which to limit the WorkSpaces. Optionally, you can specify a
specific directory user with the UserName
parameter. This parameter cannot be combined with
any other filter parameter.public void setUserName(String userName)
Used with the DirectoryId
parameter to specify the directory user for whom to obtain the WorkSpace.
userName
- Used with the DirectoryId
parameter to specify the directory user for whom to obtain the
WorkSpace.public String getUserName()
Used with the DirectoryId
parameter to specify the directory user for whom to obtain the WorkSpace.
DirectoryId
parameter to specify the directory user for whom to obtain the
WorkSpace.public DescribeWorkspacesRequest withUserName(String userName)
Used with the DirectoryId
parameter to specify the directory user for whom to obtain the WorkSpace.
userName
- Used with the DirectoryId
parameter to specify the directory user for whom to obtain the
WorkSpace.public void setBundleId(String bundleId)
The identifier of a bundle to obtain the WorkSpaces for. All WorkSpaces that are created from this bundle will be retrieved. This parameter cannot be combined with any other filter parameter.
bundleId
- The identifier of a bundle to obtain the WorkSpaces for. All WorkSpaces that are created from this bundle
will be retrieved. This parameter cannot be combined with any other filter parameter.public String getBundleId()
The identifier of a bundle to obtain the WorkSpaces for. All WorkSpaces that are created from this bundle will be retrieved. This parameter cannot be combined with any other filter parameter.
public DescribeWorkspacesRequest withBundleId(String bundleId)
The identifier of a bundle to obtain the WorkSpaces for. All WorkSpaces that are created from this bundle will be retrieved. This parameter cannot be combined with any other filter parameter.
bundleId
- The identifier of a bundle to obtain the WorkSpaces for. All WorkSpaces that are created from this bundle
will be retrieved. This parameter cannot be combined with any other filter parameter.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 NextToken
value from a previous call to this operation. Pass null if this is the first call.
nextToken
- The NextToken
value from a previous call to this operation. Pass null if this is the first
call.public String getNextToken()
The NextToken
value from a previous call to this operation. Pass null if this is the first call.
NextToken
value from a previous call to this operation. Pass null if this is the first
call.public DescribeWorkspacesRequest withNextToken(String nextToken)
The NextToken
value from a previous call to this operation. Pass null if this is the first call.
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 Object
Object.toString()
public DescribeWorkspacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.