public static interface DescribeWorkspacesRequest.Builder extends WorkSpacesRequest.Builder, CopyableBuilder<DescribeWorkspacesRequest.Builder,DescribeWorkspacesRequest>
Modifier and Type | Method and Description |
---|---|
DescribeWorkspacesRequest.Builder |
bundleId(String bundleId)
The identifier of a bundle to obtain the WorkSpaces for.
|
DescribeWorkspacesRequest.Builder |
directoryId(String directoryId)
Specifies the directory identifier to which to limit the WorkSpaces.
|
DescribeWorkspacesRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
DescribeWorkspacesRequest.Builder |
nextToken(String nextToken)
The
NextToken value from a previous call to this operation. |
DescribeWorkspacesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DescribeWorkspacesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DescribeWorkspacesRequest.Builder |
userName(String userName)
Used with the
DirectoryId parameter to specify the directory user for whom to obtain the
WorkSpace. |
DescribeWorkspacesRequest.Builder |
workspaceIds(Collection<String> workspaceIds)
An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information.
|
DescribeWorkspacesRequest.Builder |
workspaceIds(String... workspaceIds)
An array of strings that contain the identifiers of the WorkSpaces for which to retrieve information.
|
build
overrideConfiguration
copy
applyMutation, build
DescribeWorkspacesRequest.Builder workspaceIds(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.
DescribeWorkspacesRequest.Builder workspaceIds(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.
DescribeWorkspacesRequest.Builder directoryId(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.DescribeWorkspacesRequest.Builder userName(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.DescribeWorkspacesRequest.Builder bundleId(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.DescribeWorkspacesRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- The maximum number of items to return.DescribeWorkspacesRequest.Builder nextToken(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.DescribeWorkspacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeWorkspacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.