@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonAppStreamAsyncClient extends AmazonAppStreamClient implements AmazonAppStreamAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
You can use Amazon AppStream 2.0 to stream desktop applications to any device running a web browser, without rewriting them.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AmazonAppStreamAsyncClient()
Deprecated.
|
AmazonAppStreamAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AmazonAppStreamAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonAppStreamAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AmazonAppStreamAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
associateFleet, builder, createDirectoryConfig, createFleet, createImageBuilder, createImageBuilderStreamingURL, createStack, createStreamingURL, deleteDirectoryConfig, deleteFleet, deleteImage, deleteImageBuilder, deleteStack, describeDirectoryConfigs, describeFleets, describeImageBuilders, describeImages, describeSessions, describeStacks, disassociateFleet, expireSession, getCachedResponseMetadata, listAssociatedFleets, listAssociatedStacks, startFleet, startImageBuilder, stopFleet, stopImageBuilder, updateDirectoryConfig, updateFleet, updateStack, waiters
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateFleet, createDirectoryConfig, createFleet, createImageBuilder, createImageBuilderStreamingURL, createStack, createStreamingURL, deleteDirectoryConfig, deleteFleet, deleteImage, deleteImageBuilder, deleteStack, describeDirectoryConfigs, describeFleets, describeImageBuilders, describeImages, describeSessions, describeStacks, disassociateFleet, expireSession, getCachedResponseMetadata, listAssociatedFleets, listAssociatedStacks, setEndpoint, setRegion, startFleet, startImageBuilder, stopFleet, stopImageBuilder, updateDirectoryConfig, updateFleet, updateStack, waiters
@Deprecated public AmazonAppStreamAsyncClient()
AmazonAppStreamAsyncClientBuilder.defaultClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AmazonAppStreamAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to Amazon AppStream (ex: proxy
settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AmazonAppStreamAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AmazonAppStreamAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonAppStreamAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public static AmazonAppStreamAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateFleetResult> associateFleetAsync(AssociateFleetRequest request)
AmazonAppStreamAsync
Associates the specified fleet with the specified stack.
associateFleetAsync
in interface AmazonAppStreamAsync
public Future<AssociateFleetResult> associateFleetAsync(AssociateFleetRequest request, AsyncHandler<AssociateFleetRequest,AssociateFleetResult> asyncHandler)
AmazonAppStreamAsync
Associates the specified fleet with the specified stack.
associateFleetAsync
in interface AmazonAppStreamAsync
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<CreateDirectoryConfigResult> createDirectoryConfigAsync(CreateDirectoryConfigRequest request)
AmazonAppStreamAsync
Creates a directory configuration.
createDirectoryConfigAsync
in interface AmazonAppStreamAsync
public Future<CreateDirectoryConfigResult> createDirectoryConfigAsync(CreateDirectoryConfigRequest request, AsyncHandler<CreateDirectoryConfigRequest,CreateDirectoryConfigResult> asyncHandler)
AmazonAppStreamAsync
Creates a directory configuration.
createDirectoryConfigAsync
in interface AmazonAppStreamAsync
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<CreateFleetResult> createFleetAsync(CreateFleetRequest request)
AmazonAppStreamAsync
Creates a fleet.
createFleetAsync
in interface AmazonAppStreamAsync
public Future<CreateFleetResult> createFleetAsync(CreateFleetRequest request, AsyncHandler<CreateFleetRequest,CreateFleetResult> asyncHandler)
AmazonAppStreamAsync
Creates a fleet.
createFleetAsync
in interface AmazonAppStreamAsync
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<CreateImageBuilderResult> createImageBuilderAsync(CreateImageBuilderRequest request)
createImageBuilderAsync
in interface AmazonAppStreamAsync
public Future<CreateImageBuilderResult> createImageBuilderAsync(CreateImageBuilderRequest request, AsyncHandler<CreateImageBuilderRequest,CreateImageBuilderResult> asyncHandler)
createImageBuilderAsync
in interface AmazonAppStreamAsync
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<CreateImageBuilderStreamingURLResult> createImageBuilderStreamingURLAsync(CreateImageBuilderStreamingURLRequest request)
createImageBuilderStreamingURLAsync
in interface AmazonAppStreamAsync
public Future<CreateImageBuilderStreamingURLResult> createImageBuilderStreamingURLAsync(CreateImageBuilderStreamingURLRequest request, AsyncHandler<CreateImageBuilderStreamingURLRequest,CreateImageBuilderStreamingURLResult> asyncHandler)
createImageBuilderStreamingURLAsync
in interface AmazonAppStreamAsync
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<CreateStackResult> createStackAsync(CreateStackRequest request)
AmazonAppStreamAsync
Creates a stack.
createStackAsync
in interface AmazonAppStreamAsync
public Future<CreateStackResult> createStackAsync(CreateStackRequest request, AsyncHandler<CreateStackRequest,CreateStackResult> asyncHandler)
AmazonAppStreamAsync
Creates a stack.
createStackAsync
in interface AmazonAppStreamAsync
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<CreateStreamingURLResult> createStreamingURLAsync(CreateStreamingURLRequest request)
AmazonAppStreamAsync
Creates a URL to start a streaming session for the specified user.
By default, the URL is valid only for one minute from the time that it is generated.
createStreamingURLAsync
in interface AmazonAppStreamAsync
public Future<CreateStreamingURLResult> createStreamingURLAsync(CreateStreamingURLRequest request, AsyncHandler<CreateStreamingURLRequest,CreateStreamingURLResult> asyncHandler)
AmazonAppStreamAsync
Creates a URL to start a streaming session for the specified user.
By default, the URL is valid only for one minute from the time that it is generated.
createStreamingURLAsync
in interface AmazonAppStreamAsync
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<DeleteDirectoryConfigResult> deleteDirectoryConfigAsync(DeleteDirectoryConfigRequest request)
AmazonAppStreamAsync
Deletes the specified directory configuration.
deleteDirectoryConfigAsync
in interface AmazonAppStreamAsync
public Future<DeleteDirectoryConfigResult> deleteDirectoryConfigAsync(DeleteDirectoryConfigRequest request, AsyncHandler<DeleteDirectoryConfigRequest,DeleteDirectoryConfigResult> asyncHandler)
AmazonAppStreamAsync
Deletes the specified directory configuration.
deleteDirectoryConfigAsync
in interface AmazonAppStreamAsync
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<DeleteFleetResult> deleteFleetAsync(DeleteFleetRequest request)
AmazonAppStreamAsync
Deletes the specified fleet.
deleteFleetAsync
in interface AmazonAppStreamAsync
public Future<DeleteFleetResult> deleteFleetAsync(DeleteFleetRequest request, AsyncHandler<DeleteFleetRequest,DeleteFleetResult> asyncHandler)
AmazonAppStreamAsync
Deletes the specified fleet.
deleteFleetAsync
in interface AmazonAppStreamAsync
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<DeleteImageResult> deleteImageAsync(DeleteImageRequest request)
deleteImageAsync
in interface AmazonAppStreamAsync
public Future<DeleteImageResult> deleteImageAsync(DeleteImageRequest request, AsyncHandler<DeleteImageRequest,DeleteImageResult> asyncHandler)
deleteImageAsync
in interface AmazonAppStreamAsync
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<DeleteImageBuilderResult> deleteImageBuilderAsync(DeleteImageBuilderRequest request)
deleteImageBuilderAsync
in interface AmazonAppStreamAsync
public Future<DeleteImageBuilderResult> deleteImageBuilderAsync(DeleteImageBuilderRequest request, AsyncHandler<DeleteImageBuilderRequest,DeleteImageBuilderResult> asyncHandler)
deleteImageBuilderAsync
in interface AmazonAppStreamAsync
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<DeleteStackResult> deleteStackAsync(DeleteStackRequest request)
AmazonAppStreamAsync
Deletes the specified stack. After this operation completes, the environment can no longer be activated and any reservations made for the stack are released.
deleteStackAsync
in interface AmazonAppStreamAsync
public Future<DeleteStackResult> deleteStackAsync(DeleteStackRequest request, AsyncHandler<DeleteStackRequest,DeleteStackResult> asyncHandler)
AmazonAppStreamAsync
Deletes the specified stack. After this operation completes, the environment can no longer be activated and any reservations made for the stack are released.
deleteStackAsync
in interface AmazonAppStreamAsync
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<DescribeDirectoryConfigsResult> describeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request)
AmazonAppStreamAsync
Describes the specified directory configurations.
describeDirectoryConfigsAsync
in interface AmazonAppStreamAsync
public Future<DescribeDirectoryConfigsResult> describeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request, AsyncHandler<DescribeDirectoryConfigsRequest,DescribeDirectoryConfigsResult> asyncHandler)
AmazonAppStreamAsync
Describes the specified directory configurations.
describeDirectoryConfigsAsync
in interface AmazonAppStreamAsync
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<DescribeFleetsResult> describeFleetsAsync(DescribeFleetsRequest request)
AmazonAppStreamAsync
Describes the specified fleets or all fleets in the account.
describeFleetsAsync
in interface AmazonAppStreamAsync
public Future<DescribeFleetsResult> describeFleetsAsync(DescribeFleetsRequest request, AsyncHandler<DescribeFleetsRequest,DescribeFleetsResult> asyncHandler)
AmazonAppStreamAsync
Describes the specified fleets or all fleets in the account.
describeFleetsAsync
in interface AmazonAppStreamAsync
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<DescribeImageBuildersResult> describeImageBuildersAsync(DescribeImageBuildersRequest request)
describeImageBuildersAsync
in interface AmazonAppStreamAsync
public Future<DescribeImageBuildersResult> describeImageBuildersAsync(DescribeImageBuildersRequest request, AsyncHandler<DescribeImageBuildersRequest,DescribeImageBuildersResult> asyncHandler)
describeImageBuildersAsync
in interface AmazonAppStreamAsync
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<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest request)
AmazonAppStreamAsync
Describes the specified images or all images in the account.
describeImagesAsync
in interface AmazonAppStreamAsync
public Future<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest request, AsyncHandler<DescribeImagesRequest,DescribeImagesResult> asyncHandler)
AmazonAppStreamAsync
Describes the specified images or all images in the account.
describeImagesAsync
in interface AmazonAppStreamAsync
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<DescribeSessionsResult> describeSessionsAsync(DescribeSessionsRequest request)
AmazonAppStreamAsync
Describes the streaming sessions for the specified stack and fleet. If a user ID is provided, only the streaming sessions for only that user are returned. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
describeSessionsAsync
in interface AmazonAppStreamAsync
public Future<DescribeSessionsResult> describeSessionsAsync(DescribeSessionsRequest request, AsyncHandler<DescribeSessionsRequest,DescribeSessionsResult> asyncHandler)
AmazonAppStreamAsync
Describes the streaming sessions for the specified stack and fleet. If a user ID is provided, only the streaming sessions for only that user are returned. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
describeSessionsAsync
in interface AmazonAppStreamAsync
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<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest request)
AmazonAppStreamAsync
Describes the specified stacks or all stacks in the account.
describeStacksAsync
in interface AmazonAppStreamAsync
public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest request, AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler)
AmazonAppStreamAsync
Describes the specified stacks or all stacks in the account.
describeStacksAsync
in interface AmazonAppStreamAsync
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<DisassociateFleetResult> disassociateFleetAsync(DisassociateFleetRequest request)
AmazonAppStreamAsync
Disassociates the specified fleet from the specified stack.
disassociateFleetAsync
in interface AmazonAppStreamAsync
public Future<DisassociateFleetResult> disassociateFleetAsync(DisassociateFleetRequest request, AsyncHandler<DisassociateFleetRequest,DisassociateFleetResult> asyncHandler)
AmazonAppStreamAsync
Disassociates the specified fleet from the specified stack.
disassociateFleetAsync
in interface AmazonAppStreamAsync
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<ExpireSessionResult> expireSessionAsync(ExpireSessionRequest request)
AmazonAppStreamAsync
Stops the specified streaming session.
expireSessionAsync
in interface AmazonAppStreamAsync
public Future<ExpireSessionResult> expireSessionAsync(ExpireSessionRequest request, AsyncHandler<ExpireSessionRequest,ExpireSessionResult> asyncHandler)
AmazonAppStreamAsync
Stops the specified streaming session.
expireSessionAsync
in interface AmazonAppStreamAsync
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<ListAssociatedFleetsResult> listAssociatedFleetsAsync(ListAssociatedFleetsRequest request)
AmazonAppStreamAsync
Lists the fleets associated with the specified stack.
listAssociatedFleetsAsync
in interface AmazonAppStreamAsync
public Future<ListAssociatedFleetsResult> listAssociatedFleetsAsync(ListAssociatedFleetsRequest request, AsyncHandler<ListAssociatedFleetsRequest,ListAssociatedFleetsResult> asyncHandler)
AmazonAppStreamAsync
Lists the fleets associated with the specified stack.
listAssociatedFleetsAsync
in interface AmazonAppStreamAsync
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<ListAssociatedStacksResult> listAssociatedStacksAsync(ListAssociatedStacksRequest request)
AmazonAppStreamAsync
Lists the stacks associated with the specified fleet.
listAssociatedStacksAsync
in interface AmazonAppStreamAsync
public Future<ListAssociatedStacksResult> listAssociatedStacksAsync(ListAssociatedStacksRequest request, AsyncHandler<ListAssociatedStacksRequest,ListAssociatedStacksResult> asyncHandler)
AmazonAppStreamAsync
Lists the stacks associated with the specified fleet.
listAssociatedStacksAsync
in interface AmazonAppStreamAsync
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<StartFleetResult> startFleetAsync(StartFleetRequest request)
AmazonAppStreamAsync
Starts the specified fleet.
startFleetAsync
in interface AmazonAppStreamAsync
public Future<StartFleetResult> startFleetAsync(StartFleetRequest request, AsyncHandler<StartFleetRequest,StartFleetResult> asyncHandler)
AmazonAppStreamAsync
Starts the specified fleet.
startFleetAsync
in interface AmazonAppStreamAsync
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<StartImageBuilderResult> startImageBuilderAsync(StartImageBuilderRequest request)
startImageBuilderAsync
in interface AmazonAppStreamAsync
public Future<StartImageBuilderResult> startImageBuilderAsync(StartImageBuilderRequest request, AsyncHandler<StartImageBuilderRequest,StartImageBuilderResult> asyncHandler)
startImageBuilderAsync
in interface AmazonAppStreamAsync
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<StopFleetResult> stopFleetAsync(StopFleetRequest request)
AmazonAppStreamAsync
Stops the specified fleet.
stopFleetAsync
in interface AmazonAppStreamAsync
public Future<StopFleetResult> stopFleetAsync(StopFleetRequest request, AsyncHandler<StopFleetRequest,StopFleetResult> asyncHandler)
AmazonAppStreamAsync
Stops the specified fleet.
stopFleetAsync
in interface AmazonAppStreamAsync
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<StopImageBuilderResult> stopImageBuilderAsync(StopImageBuilderRequest request)
stopImageBuilderAsync
in interface AmazonAppStreamAsync
public Future<StopImageBuilderResult> stopImageBuilderAsync(StopImageBuilderRequest request, AsyncHandler<StopImageBuilderRequest,StopImageBuilderResult> asyncHandler)
stopImageBuilderAsync
in interface AmazonAppStreamAsync
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<UpdateDirectoryConfigResult> updateDirectoryConfigAsync(UpdateDirectoryConfigRequest request)
AmazonAppStreamAsync
Updates the specified directory configuration.
updateDirectoryConfigAsync
in interface AmazonAppStreamAsync
public Future<UpdateDirectoryConfigResult> updateDirectoryConfigAsync(UpdateDirectoryConfigRequest request, AsyncHandler<UpdateDirectoryConfigRequest,UpdateDirectoryConfigResult> asyncHandler)
AmazonAppStreamAsync
Updates the specified directory configuration.
updateDirectoryConfigAsync
in interface AmazonAppStreamAsync
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<UpdateFleetResult> updateFleetAsync(UpdateFleetRequest request)
AmazonAppStreamAsync
Updates the specified fleet.
If the fleet is in the STOPPED
state, you can update any attribute except the fleet name. If the
fleet is in the RUNNING
state, you can update the DisplayName
and
ComputeCapacity
attributes. If the fleet is in the STARTING
or STOPPING
state, you can't update it.
updateFleetAsync
in interface AmazonAppStreamAsync
public Future<UpdateFleetResult> updateFleetAsync(UpdateFleetRequest request, AsyncHandler<UpdateFleetRequest,UpdateFleetResult> asyncHandler)
AmazonAppStreamAsync
Updates the specified fleet.
If the fleet is in the STOPPED
state, you can update any attribute except the fleet name. If the
fleet is in the RUNNING
state, you can update the DisplayName
and
ComputeCapacity
attributes. If the fleet is in the STARTING
or STOPPING
state, you can't update it.
updateFleetAsync
in interface AmazonAppStreamAsync
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<UpdateStackResult> updateStackAsync(UpdateStackRequest request)
AmazonAppStreamAsync
Updates the specified stack.
updateStackAsync
in interface AmazonAppStreamAsync
public Future<UpdateStackResult> updateStackAsync(UpdateStackRequest request, AsyncHandler<UpdateStackRequest,UpdateStackResult> asyncHandler)
AmazonAppStreamAsync
Updates the specified stack.
updateStackAsync
in interface AmazonAppStreamAsync
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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonAppStream
shutdown
in class AmazonAppStreamClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.