Class AbstractAmazonWorkspacesAsync
- All Implemented Interfaces:
AmazonWorkspaces,AmazonWorkspacesAsync
AmazonWorkspacesAsync. Convenient method
forms pass through to the corresponding overload that takes a request object
and an AsyncHandler, which throws an
UnsupportedOperationException.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTagsAsync(CreateTagsRequest request) Creates tags for a WorkSpace.createTagsAsync(CreateTagsRequest request, AsyncHandler<CreateTagsRequest, CreateTagsResult> asyncHandler) Creates tags for a WorkSpace.Creates one or more WorkSpaces.createWorkspacesAsync(CreateWorkspacesRequest request, AsyncHandler<CreateWorkspacesRequest, CreateWorkspacesResult> asyncHandler) Creates one or more WorkSpaces.deleteTagsAsync(DeleteTagsRequest request) Deletes tags from a WorkSpace.deleteTagsAsync(DeleteTagsRequest request, AsyncHandler<DeleteTagsRequest, DeleteTagsResult> asyncHandler) Deletes tags from a WorkSpace.describeTagsAsync(DescribeTagsRequest request) Describes tags for a WorkSpace.describeTagsAsync(DescribeTagsRequest request, AsyncHandler<DescribeTagsRequest, DescribeTagsResult> asyncHandler) Describes tags for a WorkSpace.Simplified method form for invoking the DescribeWorkspaceBundles operation.describeWorkspaceBundlesAsync(AsyncHandler<DescribeWorkspaceBundlesRequest, DescribeWorkspaceBundlesResult> asyncHandler) Simplified method form for invoking the DescribeWorkspaceBundles operation with an AsyncHandler.Obtains information about the WorkSpace bundles that are available to your account in the specified region.describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest request, AsyncHandler<DescribeWorkspaceBundlesRequest, DescribeWorkspaceBundlesResult> asyncHandler) Obtains information about the WorkSpace bundles that are available to your account in the specified region.Simplified method form for invoking the DescribeWorkspaceDirectories operation.describeWorkspaceDirectoriesAsync(AsyncHandler<DescribeWorkspaceDirectoriesRequest, DescribeWorkspaceDirectoriesResult> asyncHandler) Simplified method form for invoking the DescribeWorkspaceDirectories operation with an AsyncHandler.Retrieves information about the AWS Directory Service directories in the region that are registered with Amazon WorkSpaces and are available to your account.describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest request, AsyncHandler<DescribeWorkspaceDirectoriesRequest, DescribeWorkspaceDirectoriesResult> asyncHandler) Retrieves information about the AWS Directory Service directories in the region that are registered with Amazon WorkSpaces and are available to your account.Simplified method form for invoking the DescribeWorkspaces operation.describeWorkspacesAsync(AsyncHandler<DescribeWorkspacesRequest, DescribeWorkspacesResult> asyncHandler) Simplified method form for invoking the DescribeWorkspaces operation with an AsyncHandler.Obtains information about the specified WorkSpaces.describeWorkspacesAsync(DescribeWorkspacesRequest request, AsyncHandler<DescribeWorkspacesRequest, DescribeWorkspacesResult> asyncHandler) Obtains information about the specified WorkSpaces.Reboots the specified WorkSpaces.rebootWorkspacesAsync(RebootWorkspacesRequest request, AsyncHandler<RebootWorkspacesRequest, RebootWorkspacesResult> asyncHandler) Reboots the specified WorkSpaces.Rebuilds the specified WorkSpaces.rebuildWorkspacesAsync(RebuildWorkspacesRequest request, AsyncHandler<RebuildWorkspacesRequest, RebuildWorkspacesResult> asyncHandler) Rebuilds the specified WorkSpaces.Terminates the specified WorkSpaces.terminateWorkspacesAsync(TerminateWorkspacesRequest request, AsyncHandler<TerminateWorkspacesRequest, TerminateWorkspacesResult> asyncHandler) Terminates the specified WorkSpaces.Methods inherited from class com.amazonaws.services.workspaces.AbstractAmazonWorkspaces
createTags, createWorkspaces, deleteTags, describeTags, describeWorkspaceBundles, describeWorkspaceBundles, describeWorkspaceDirectories, describeWorkspaceDirectories, describeWorkspaces, describeWorkspaces, getCachedResponseMetadata, rebootWorkspaces, rebuildWorkspaces, setEndpoint, setRegion, shutdown, terminateWorkspacesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.amazonaws.services.workspaces.AmazonWorkspaces
createTags, createWorkspaces, deleteTags, describeTags, describeWorkspaceBundles, describeWorkspaceBundles, describeWorkspaceDirectories, describeWorkspaceDirectories, describeWorkspaces, describeWorkspaces, getCachedResponseMetadata, rebootWorkspaces, rebuildWorkspaces, setEndpoint, setRegion, shutdown, terminateWorkspaces
-
Constructor Details
-
AbstractAmazonWorkspacesAsync
protected AbstractAmazonWorkspacesAsync()
-
-
Method Details
-
createTagsAsync
Description copied from interface:AmazonWorkspacesAsyncCreates tags for a WorkSpace.
- Specified by:
createTagsAsyncin interfaceAmazonWorkspacesAsync- Parameters:
request- The request of the create tags action.- Returns:
- A Java Future containing the result of the CreateTags operation returned by the service.
-
createTagsAsync
public Future<CreateTagsResult> createTagsAsync(CreateTagsRequest request, AsyncHandler<CreateTagsRequest, CreateTagsResult> asyncHandler) Description copied from interface:AmazonWorkspacesAsyncCreates tags for a WorkSpace.
- Specified by:
createTagsAsyncin interfaceAmazonWorkspacesAsync- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateTags operation returned by the service.
-
createWorkspacesAsync
Description copied from interface:AmazonWorkspacesAsyncCreates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
- Specified by:
createWorkspacesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
request- Contains the inputs for the CreateWorkspaces operation.- Returns:
- A Java Future containing the result of the CreateWorkspaces operation returned by the service.
-
createWorkspacesAsync
public Future<CreateWorkspacesResult> createWorkspacesAsync(CreateWorkspacesRequest request, AsyncHandler<CreateWorkspacesRequest, CreateWorkspacesResult> asyncHandler) Description copied from interface:AmazonWorkspacesAsyncCreates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
- Specified by:
createWorkspacesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateWorkspaces operation returned by the service.
-
deleteTagsAsync
Description copied from interface:AmazonWorkspacesAsyncDeletes tags from a WorkSpace.
- Specified by:
deleteTagsAsyncin interfaceAmazonWorkspacesAsync- Parameters:
request- The request of the delete tags action.- Returns:
- A Java Future containing the result of the DeleteTags operation returned by the service.
-
deleteTagsAsync
public Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request, AsyncHandler<DeleteTagsRequest, DeleteTagsResult> asyncHandler) Description copied from interface:AmazonWorkspacesAsyncDeletes tags from a WorkSpace.
- Specified by:
deleteTagsAsyncin interfaceAmazonWorkspacesAsync- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteTags operation returned by the service.
-
describeTagsAsync
Description copied from interface:AmazonWorkspacesAsyncDescribes tags for a WorkSpace.
- Specified by:
describeTagsAsyncin interfaceAmazonWorkspacesAsync- Parameters:
request- The request of the describe tags action.- Returns:
- A Java Future containing the result of the DescribeTags operation returned by the service.
-
describeTagsAsync
public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request, AsyncHandler<DescribeTagsRequest, DescribeTagsResult> asyncHandler) Description copied from interface:AmazonWorkspacesAsyncDescribes tags for a WorkSpace.
- Specified by:
describeTagsAsyncin interfaceAmazonWorkspacesAsync- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeTags operation returned by the service.
-
describeWorkspaceBundlesAsync
public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest request) Description copied from interface:AmazonWorkspacesAsyncObtains information about the WorkSpace bundles that are available to your account in the specified region.
You can filter the results with either the
BundleIdsparameter, or theOwnerparameter, but not both.This operation supports pagination with the use of the
NextTokenrequest and response parameters. If more results are available, theNextTokenresponse member contains a token that you pass in the next call to this operation to retrieve the next set of items.- Specified by:
describeWorkspaceBundlesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
request- Contains the inputs for the DescribeWorkspaceBundles operation.- Returns:
- A Java Future containing the result of the DescribeWorkspaceBundles operation returned by the service.
-
describeWorkspaceBundlesAsync
public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(DescribeWorkspaceBundlesRequest request, AsyncHandler<DescribeWorkspaceBundlesRequest, DescribeWorkspaceBundlesResult> asyncHandler) Description copied from interface:AmazonWorkspacesAsyncObtains information about the WorkSpace bundles that are available to your account in the specified region.
You can filter the results with either the
BundleIdsparameter, or theOwnerparameter, but not both.This operation supports pagination with the use of the
NextTokenrequest and response parameters. If more results are available, theNextTokenresponse member contains a token that you pass in the next call to this operation to retrieve the next set of items.- Specified by:
describeWorkspaceBundlesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeWorkspaceBundles operation returned by the service.
-
describeWorkspaceBundlesAsync
Simplified method form for invoking the DescribeWorkspaceBundles operation.- Specified by:
describeWorkspaceBundlesAsyncin interfaceAmazonWorkspacesAsync- See Also:
-
describeWorkspaceBundlesAsync
public Future<DescribeWorkspaceBundlesResult> describeWorkspaceBundlesAsync(AsyncHandler<DescribeWorkspaceBundlesRequest, DescribeWorkspaceBundlesResult> asyncHandler) Simplified method form for invoking the DescribeWorkspaceBundles operation with an AsyncHandler.- Specified by:
describeWorkspaceBundlesAsyncin interfaceAmazonWorkspacesAsync- See Also:
-
describeWorkspaceDirectoriesAsync
public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest request) Description copied from interface:AmazonWorkspacesAsyncRetrieves 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
NextTokenrequest and response parameters. If more results are available, theNextTokenresponse member contains a token that you pass in the next call to this operation to retrieve the next set of items.- Specified by:
describeWorkspaceDirectoriesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
request- Contains the inputs for the DescribeWorkspaceDirectories operation.- Returns:
- A Java Future containing the result of the DescribeWorkspaceDirectories operation returned by the service.
-
describeWorkspaceDirectoriesAsync
public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(DescribeWorkspaceDirectoriesRequest request, AsyncHandler<DescribeWorkspaceDirectoriesRequest, DescribeWorkspaceDirectoriesResult> asyncHandler) Description copied from interface:AmazonWorkspacesAsyncRetrieves 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
NextTokenrequest and response parameters. If more results are available, theNextTokenresponse member contains a token that you pass in the next call to this operation to retrieve the next set of items.- Specified by:
describeWorkspaceDirectoriesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeWorkspaceDirectories operation returned by the service.
-
describeWorkspaceDirectoriesAsync
Simplified method form for invoking the DescribeWorkspaceDirectories operation.- Specified by:
describeWorkspaceDirectoriesAsyncin interfaceAmazonWorkspacesAsync- See Also:
-
describeWorkspaceDirectoriesAsync
public Future<DescribeWorkspaceDirectoriesResult> describeWorkspaceDirectoriesAsync(AsyncHandler<DescribeWorkspaceDirectoriesRequest, DescribeWorkspaceDirectoriesResult> asyncHandler) Simplified method form for invoking the DescribeWorkspaceDirectories operation with an AsyncHandler.- Specified by:
describeWorkspaceDirectoriesAsyncin interfaceAmazonWorkspacesAsync- See Also:
-
describeWorkspacesAsync
Description copied from interface:AmazonWorkspacesAsyncObtains information about the specified WorkSpaces.
Only one of the filter parameters, such as
BundleId,DirectoryId, orWorkspaceIds, can be specified at a time.This operation supports pagination with the use of the
NextTokenrequest and response parameters. If more results are available, theNextTokenresponse member contains a token that you pass in the next call to this operation to retrieve the next set of items.- Specified by:
describeWorkspacesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
request- Contains the inputs for the DescribeWorkspaces operation.- Returns:
- A Java Future containing the result of the DescribeWorkspaces operation returned by the service.
-
describeWorkspacesAsync
public Future<DescribeWorkspacesResult> describeWorkspacesAsync(DescribeWorkspacesRequest request, AsyncHandler<DescribeWorkspacesRequest, DescribeWorkspacesResult> asyncHandler) Description copied from interface:AmazonWorkspacesAsyncObtains information about the specified WorkSpaces.
Only one of the filter parameters, such as
BundleId,DirectoryId, orWorkspaceIds, can be specified at a time.This operation supports pagination with the use of the
NextTokenrequest and response parameters. If more results are available, theNextTokenresponse member contains a token that you pass in the next call to this operation to retrieve the next set of items.- Specified by:
describeWorkspacesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeWorkspaces operation returned by the service.
-
describeWorkspacesAsync
Simplified method form for invoking the DescribeWorkspaces operation.- Specified by:
describeWorkspacesAsyncin interfaceAmazonWorkspacesAsync- See Also:
-
describeWorkspacesAsync
public Future<DescribeWorkspacesResult> describeWorkspacesAsync(AsyncHandler<DescribeWorkspacesRequest, DescribeWorkspacesResult> asyncHandler) Simplified method form for invoking the DescribeWorkspaces operation with an AsyncHandler.- Specified by:
describeWorkspacesAsyncin interfaceAmazonWorkspacesAsync- See Also:
-
rebootWorkspacesAsync
Description copied from interface:AmazonWorkspacesAsyncReboots the specified WorkSpaces.
To be able to reboot a WorkSpace, the WorkSpace must have a State of
AVAILABLE,IMPAIRED, orINOPERABLE.This operation is asynchronous and will return before the WorkSpaces have rebooted.
- Specified by:
rebootWorkspacesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
request- Contains the inputs for the RebootWorkspaces operation.- Returns:
- A Java Future containing the result of the RebootWorkspaces operation returned by the service.
-
rebootWorkspacesAsync
public Future<RebootWorkspacesResult> rebootWorkspacesAsync(RebootWorkspacesRequest request, AsyncHandler<RebootWorkspacesRequest, RebootWorkspacesResult> asyncHandler) Description copied from interface:AmazonWorkspacesAsyncReboots the specified WorkSpaces.
To be able to reboot a WorkSpace, the WorkSpace must have a State of
AVAILABLE,IMPAIRED, orINOPERABLE.This operation is asynchronous and will return before the WorkSpaces have rebooted.
- Specified by:
rebootWorkspacesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
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.- Returns:
- A Java Future containing the result of the RebootWorkspaces operation returned by the service.
-
rebuildWorkspacesAsync
Description copied from interface:AmazonWorkspacesAsyncRebuilds 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:
- The system is restored to the image of the bundle that the WorkSpace is created from. Any applications that have been installed, or system settings that have been made since the WorkSpace was created will be lost.
- The data drive (D drive) is re-created from the last automatic snapshot taken of the data drive. The current contents of the data drive are overwritten. Automatic snapshots of the data drive are taken every 12 hours, so the snapshot can be as much as 12 hours old.
To be able to rebuild a WorkSpace, the WorkSpace must have a State of
AVAILABLEorERROR.This operation is asynchronous and will return before the WorkSpaces have been completely rebuilt.
- Specified by:
rebuildWorkspacesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
request- Contains the inputs for the RebuildWorkspaces operation.- Returns:
- A Java Future containing the result of the RebuildWorkspaces operation returned by the service.
-
rebuildWorkspacesAsync
public Future<RebuildWorkspacesResult> rebuildWorkspacesAsync(RebuildWorkspacesRequest request, AsyncHandler<RebuildWorkspacesRequest, RebuildWorkspacesResult> asyncHandler) Description copied from interface:AmazonWorkspacesAsyncRebuilds 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:
- The system is restored to the image of the bundle that the WorkSpace is created from. Any applications that have been installed, or system settings that have been made since the WorkSpace was created will be lost.
- The data drive (D drive) is re-created from the last automatic snapshot taken of the data drive. The current contents of the data drive are overwritten. Automatic snapshots of the data drive are taken every 12 hours, so the snapshot can be as much as 12 hours old.
To be able to rebuild a WorkSpace, the WorkSpace must have a State of
AVAILABLEorERROR.This operation is asynchronous and will return before the WorkSpaces have been completely rebuilt.
- Specified by:
rebuildWorkspacesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
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.- Returns:
- A Java Future containing the result of the RebuildWorkspaces operation returned by the service.
-
terminateWorkspacesAsync
public Future<TerminateWorkspacesResult> terminateWorkspacesAsync(TerminateWorkspacesRequest request) Description copied from interface:AmazonWorkspacesAsyncTerminates 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.
- Specified by:
terminateWorkspacesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
request- Contains the inputs for the TerminateWorkspaces operation.- Returns:
- A Java Future containing the result of the TerminateWorkspaces operation returned by the service.
-
terminateWorkspacesAsync
public Future<TerminateWorkspacesResult> terminateWorkspacesAsync(TerminateWorkspacesRequest request, AsyncHandler<TerminateWorkspacesRequest, TerminateWorkspacesResult> asyncHandler) Description copied from interface:AmazonWorkspacesAsyncTerminates 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.
- Specified by:
terminateWorkspacesAsyncin interfaceAmazonWorkspacesAsync- Parameters:
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.- Returns:
- A Java Future containing the result of the TerminateWorkspaces operation returned by the service.
-