public class AbstractAmazonWorkspacesAsync extends AbstractAmazonWorkspaces implements AmazonWorkspacesAsync
AmazonWorkspacesAsync
. Convenient method
forms pass through to the corresponding overload that takes a request object
and an AsyncHandler
, which throws an
UnsupportedOperationException
.createTags, createWorkspaces, deleteTags, describeTags, describeWorkspaceBundles, describeWorkspaceBundles, describeWorkspaceDirectories, describeWorkspaceDirectories, describeWorkspaces, describeWorkspaces, getCachedResponseMetadata, rebootWorkspaces, rebuildWorkspaces, setEndpoint, setRegion, shutdown, terminateWorkspaces
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTags, createWorkspaces, deleteTags, describeTags, describeWorkspaceBundles, describeWorkspaceBundles, describeWorkspaceDirectories, describeWorkspaceDirectories, describeWorkspaces, describeWorkspaces, getCachedResponseMetadata, rebootWorkspaces, rebuildWorkspaces, setEndpoint, setRegion, shutdown, terminateWorkspaces
public Future<CreateTagsResult> createTagsAsync(CreateTagsRequest request)
AmazonWorkspacesAsync
Creates tags for a WorkSpace.
createTagsAsync
in interface AmazonWorkspacesAsync
request
- The request of the create tags action.public Future<CreateTagsResult> createTagsAsync(CreateTagsRequest request, AsyncHandler<CreateTagsRequest,CreateTagsResult> asyncHandler)
AmazonWorkspacesAsync
Creates tags for a WorkSpace.
createTagsAsync
in interface AmazonWorkspacesAsync
request
- The request of the create tags action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateWorkspacesResult> createWorkspacesAsync(CreateWorkspacesRequest request)
AmazonWorkspacesAsync
Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
createWorkspacesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the CreateWorkspaces operation.public Future<CreateWorkspacesResult> createWorkspacesAsync(CreateWorkspacesRequest request, AsyncHandler<CreateWorkspacesRequest,CreateWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
createWorkspacesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the CreateWorkspaces operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request)
AmazonWorkspacesAsync
Deletes tags from a WorkSpace.
deleteTagsAsync
in interface AmazonWorkspacesAsync
request
- The request of the delete tags action.public Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request, AsyncHandler<DeleteTagsRequest,DeleteTagsResult> asyncHandler)
AmazonWorkspacesAsync
Deletes tags from a WorkSpace.
deleteTagsAsync
in interface AmazonWorkspacesAsync
request
- The request of the delete tags action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request)
AmazonWorkspacesAsync
Describes tags for a WorkSpace.
describeTagsAsync
in interface AmazonWorkspacesAsync
request
- The request of the describe tags action.public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request, AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler)
AmazonWorkspacesAsync
Describes tags for a WorkSpace.
describeTagsAsync
in interface AmazonWorkspacesAsync
request
- The request of the describe tags action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest request)
AmazonWorkspacesAsync
Obtains information about the WorkSpace bundles that are available to your account in the specified region.
You can filter the results with either the BundleIds
parameter, or the Owner
parameter, but not both.
This operation supports pagination with the use of the
NextToken
request and response parameters. If more results
are available, the NextToken
response member contains a
token that you pass in the next call to this operation to retrieve the
next set of items.
describeWorkspaceBundlesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the DescribeWorkspaceBundles
operation.public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest request, AsyncHandler<DescribeWorkspaceBundlesRequest,DescribeWorkspaceBundlesResult> asyncHandler)
AmazonWorkspacesAsync
Obtains information about the WorkSpace bundles that are available to your account in the specified region.
You can filter the results with either the BundleIds
parameter, or the Owner
parameter, but not both.
This operation supports pagination with the use of the
NextToken
request and response parameters. If more results
are available, the NextToken
response member contains a
token that you pass in the next call to this operation to retrieve the
next set of items.
describeWorkspaceBundlesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the DescribeWorkspaceBundles
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync()
describeWorkspaceBundlesAsync
in interface AmazonWorkspacesAsync
describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest)
public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(AsyncHandler<DescribeWorkspaceBundlesRequest,DescribeWorkspaceBundlesResult> asyncHandler)
describeWorkspaceBundlesAsync
in interface AmazonWorkspacesAsync
describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest request)
AmazonWorkspacesAsync
Retrieves information about the AWS Directory Service directories in the region that are registered with Amazon WorkSpaces and are available to your account.
This operation supports pagination with the use of the
NextToken
request and response parameters. If more results
are available, the NextToken
response member contains a
token that you pass in the next call to this operation to retrieve the
next set of items.
describeWorkspaceDirectoriesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the DescribeWorkspaceDirectories
operation.public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest request, AsyncHandler<DescribeWorkspaceDirectoriesRequest,DescribeWorkspaceDirectoriesResult> asyncHandler)
AmazonWorkspacesAsync
Retrieves information about the AWS Directory Service directories in the region that are registered with Amazon WorkSpaces and are available to your account.
This operation supports pagination with the use of the
NextToken
request and response parameters. If more results
are available, the NextToken
response member contains a
token that you pass in the next call to this operation to retrieve the
next set of items.
describeWorkspaceDirectoriesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the DescribeWorkspaceDirectories
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync()
describeWorkspaceDirectoriesAsync
in interface AmazonWorkspacesAsync
describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest)
public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(AsyncHandler<DescribeWorkspaceDirectoriesRequest,DescribeWorkspaceDirectoriesResult> asyncHandler)
public Future<DescribeWorkspacesResult> describeWorkspacesAsync(DescribeWorkspacesRequest request)
AmazonWorkspacesAsync
Obtains information about the specified WorkSpaces.
Only one of the filter parameters, such as BundleId
,
DirectoryId
, or WorkspaceIds
, can be specified
at a time.
This operation supports pagination with the use of the
NextToken
request and response parameters. If more results
are available, the NextToken
response member contains a
token that you pass in the next call to this operation to retrieve the
next set of items.
describeWorkspacesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the DescribeWorkspaces operation.public Future<DescribeWorkspacesResult> describeWorkspacesAsync(DescribeWorkspacesRequest request, AsyncHandler<DescribeWorkspacesRequest,DescribeWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
Obtains information about the specified WorkSpaces.
Only one of the filter parameters, such as BundleId
,
DirectoryId
, or WorkspaceIds
, can be specified
at a time.
This operation supports pagination with the use of the
NextToken
request and response parameters. If more results
are available, the NextToken
response member contains a
token that you pass in the next call to this operation to retrieve the
next set of items.
describeWorkspacesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the DescribeWorkspaces operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWorkspacesResult> describeWorkspacesAsync()
describeWorkspacesAsync
in interface AmazonWorkspacesAsync
describeWorkspacesAsync(DescribeWorkspacesRequest)
public Future<DescribeWorkspacesResult> describeWorkspacesAsync(AsyncHandler<DescribeWorkspacesRequest,DescribeWorkspacesResult> asyncHandler)
describeWorkspacesAsync
in interface AmazonWorkspacesAsync
describeWorkspacesAsync(DescribeWorkspacesRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<RebootWorkspacesResult> rebootWorkspacesAsync(RebootWorkspacesRequest request)
AmazonWorkspacesAsync
Reboots the specified WorkSpaces.
To be able to reboot a WorkSpace, the WorkSpace must have a State
of AVAILABLE
, IMPAIRED
, or
INOPERABLE
.
This operation is asynchronous and will return before the WorkSpaces have rebooted.
rebootWorkspacesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the RebootWorkspaces operation.public Future<RebootWorkspacesResult> rebootWorkspacesAsync(RebootWorkspacesRequest request, AsyncHandler<RebootWorkspacesRequest,RebootWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
Reboots the specified WorkSpaces.
To be able to reboot a WorkSpace, the WorkSpace must have a State
of AVAILABLE
, IMPAIRED
, or
INOPERABLE
.
This operation is asynchronous and will return before the WorkSpaces have rebooted.
rebootWorkspacesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the RebootWorkspaces operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RebuildWorkspacesResult> rebuildWorkspacesAsync(RebuildWorkspacesRequest request)
AmazonWorkspacesAsync
Rebuilds the specified WorkSpaces.
Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. Rebuilding a WorkSpace causes the following to occur:
To be able to rebuild a WorkSpace, the WorkSpace must have a State
of AVAILABLE
or ERROR
.
This operation is asynchronous and will return before the WorkSpaces have been completely rebuilt.
rebuildWorkspacesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the RebuildWorkspaces operation.public Future<RebuildWorkspacesResult> rebuildWorkspacesAsync(RebuildWorkspacesRequest request, AsyncHandler<RebuildWorkspacesRequest,RebuildWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
Rebuilds the specified WorkSpaces.
Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. Rebuilding a WorkSpace causes the following to occur:
To be able to rebuild a WorkSpace, the WorkSpace must have a State
of AVAILABLE
or ERROR
.
This operation is asynchronous and will return before the WorkSpaces have been completely rebuilt.
rebuildWorkspacesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the RebuildWorkspaces operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TerminateWorkspacesResult> terminateWorkspacesAsync(TerminateWorkspacesRequest request)
AmazonWorkspacesAsync
Terminates the specified WorkSpaces.
Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is not maintained and will be destroyed. If you need to archive any user data, contact Amazon Web Services before terminating the WorkSpace.
You can terminate a WorkSpace that is in any state except
SUSPENDED
.
This operation is asynchronous and will return before the WorkSpaces have been completely terminated.
terminateWorkspacesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the TerminateWorkspaces operation.public Future<TerminateWorkspacesResult> terminateWorkspacesAsync(TerminateWorkspacesRequest request, AsyncHandler<TerminateWorkspacesRequest,TerminateWorkspacesResult> asyncHandler)
AmazonWorkspacesAsync
Terminates the specified WorkSpaces.
Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is not maintained and will be destroyed. If you need to archive any user data, contact Amazon Web Services before terminating the WorkSpace.
You can terminate a WorkSpace that is in any state except
SUSPENDED
.
This operation is asynchronous and will return before the WorkSpaces have been completely terminated.
terminateWorkspacesAsync
in interface AmazonWorkspacesAsync
request
- Contains the inputs for the TerminateWorkspaces operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.