Interface DescribeWorkspacesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeWorkspacesRequest.Builder,
,DescribeWorkspacesRequest> SdkBuilder<DescribeWorkspacesRequest.Builder,
,DescribeWorkspacesRequest> SdkPojo
,SdkRequest.Builder
,WorkSpacesRequest.Builder
- Enclosing class:
DescribeWorkspacesRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bundle.directoryId
(String directoryId) The identifier of the directory.The maximum number of items to return.If you received aNextToken
from a previous call that was paginated, provide this token to receive the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the directory user.workspaceIds
(String... workspaceIds) The identifiers of the WorkSpaces.workspaceIds
(Collection<String> workspaceIds) The identifiers of the WorkSpaces.workspaceName
(String workspaceName) The name of the user-decoupled WorkSpace.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesRequest.Builder
build
-
Method Details
-
workspaceIds
The identifiers of the WorkSpaces. You cannot combine this parameter 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.
- Parameters:
workspaceIds
- The identifiers of the WorkSpaces. You cannot combine this parameter 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceIds
The identifiers of the WorkSpaces. You cannot combine this parameter 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.
- Parameters:
workspaceIds
- The identifiers of the WorkSpaces. You cannot combine this parameter 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryId
The identifier of the directory. In addition, you can optionally specify a specific directory user (see
UserName
). You cannot combine this parameter with any other filter.- Parameters:
directoryId
- The identifier of the directory. In addition, you can optionally specify a specific directory user (seeUserName
). You cannot combine this parameter with any other filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userName
The name of the directory user. You must specify this parameter with
DirectoryId
.- Parameters:
userName
- The name of the directory user. You must specify this parameter withDirectoryId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleId
The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.
- Parameters:
bundleId
- The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of items to return.
- Parameters:
limit
- The maximum number of items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If you received a
NextToken
from a previous call that was paginated, provide this token to receive the next set of results.- Parameters:
nextToken
- If you received aNextToken
from a previous call that was paginated, provide this token to receive the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceName
The name of the user-decoupled WorkSpace.
- Parameters:
workspaceName
- The name of the user-decoupled WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeWorkspacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeWorkspacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-