@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSCloud9AsyncClient extends AWSCloud9Client implements AWSCloud9Async
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and release software in the cloud.
For more information about Cloud9, see the Cloud9 User Guide.
Cloud9 supports these operations:
CreateEnvironmentEC2
: Creates an Cloud9 development environment, launches an Amazon EC2 instance, and
then connects from the instance to the environment.
CreateEnvironmentMembership
: Adds an environment member to an environment.
DeleteEnvironment
: Deletes an environment. If an Amazon EC2 instance is connected to the environment,
also terminates the instance.
DeleteEnvironmentMembership
: Deletes an environment member from an environment.
DescribeEnvironmentMemberships
: Gets information about environment members for an environment.
DescribeEnvironments
: Gets information about environments.
DescribeEnvironmentStatus
: Gets status information for an environment.
ListEnvironments
: Gets a list of environment identifiers.
ListTagsForResource
: Gets the tags for an environment.
TagResource
: Adds tags to an environment.
UntagResource
: Removes tags from an environment.
UpdateEnvironment
: Changes the settings of an existing environment.
UpdateEnvironmentMembership
: Changes the settings of an existing environment member for an environment.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createEnvironmentEC2, createEnvironmentMembership, deleteEnvironment, deleteEnvironmentMembership, describeEnvironmentMemberships, describeEnvironments, describeEnvironmentStatus, getCachedResponseMetadata, listEnvironments, listTagsForResource, tagResource, untagResource, updateEnvironment, updateEnvironmentMembership
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, 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
createEnvironmentEC2, createEnvironmentMembership, deleteEnvironment, deleteEnvironmentMembership, describeEnvironmentMemberships, describeEnvironments, describeEnvironmentStatus, getCachedResponseMetadata, listEnvironments, listTagsForResource, tagResource, untagResource, updateEnvironment, updateEnvironmentMembership
public static AWSCloud9AsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateEnvironmentEC2Result> createEnvironmentEC2Async(CreateEnvironmentEC2Request request)
AWSCloud9Async
Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.
createEnvironmentEC2Async
in interface AWSCloud9Async
public Future<CreateEnvironmentEC2Result> createEnvironmentEC2Async(CreateEnvironmentEC2Request request, AsyncHandler<CreateEnvironmentEC2Request,CreateEnvironmentEC2Result> asyncHandler)
AWSCloud9Async
Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.
createEnvironmentEC2Async
in interface AWSCloud9Async
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<CreateEnvironmentMembershipResult> createEnvironmentMembershipAsync(CreateEnvironmentMembershipRequest request)
AWSCloud9Async
Adds an environment member to an Cloud9 development environment.
createEnvironmentMembershipAsync
in interface AWSCloud9Async
public Future<CreateEnvironmentMembershipResult> createEnvironmentMembershipAsync(CreateEnvironmentMembershipRequest request, AsyncHandler<CreateEnvironmentMembershipRequest,CreateEnvironmentMembershipResult> asyncHandler)
AWSCloud9Async
Adds an environment member to an Cloud9 development environment.
createEnvironmentMembershipAsync
in interface AWSCloud9Async
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<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request)
AWSCloud9Async
Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.
deleteEnvironmentAsync
in interface AWSCloud9Async
public Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request, AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
AWSCloud9Async
Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.
deleteEnvironmentAsync
in interface AWSCloud9Async
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<DeleteEnvironmentMembershipResult> deleteEnvironmentMembershipAsync(DeleteEnvironmentMembershipRequest request)
AWSCloud9Async
Deletes an environment member from a development environment.
deleteEnvironmentMembershipAsync
in interface AWSCloud9Async
public Future<DeleteEnvironmentMembershipResult> deleteEnvironmentMembershipAsync(DeleteEnvironmentMembershipRequest request, AsyncHandler<DeleteEnvironmentMembershipRequest,DeleteEnvironmentMembershipResult> asyncHandler)
AWSCloud9Async
Deletes an environment member from a development environment.
deleteEnvironmentMembershipAsync
in interface AWSCloud9Async
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<DescribeEnvironmentMembershipsResult> describeEnvironmentMembershipsAsync(DescribeEnvironmentMembershipsRequest request)
AWSCloud9Async
Gets information about environment members for an Cloud9 development environment.
describeEnvironmentMembershipsAsync
in interface AWSCloud9Async
public Future<DescribeEnvironmentMembershipsResult> describeEnvironmentMembershipsAsync(DescribeEnvironmentMembershipsRequest request, AsyncHandler<DescribeEnvironmentMembershipsRequest,DescribeEnvironmentMembershipsResult> asyncHandler)
AWSCloud9Async
Gets information about environment members for an Cloud9 development environment.
describeEnvironmentMembershipsAsync
in interface AWSCloud9Async
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<DescribeEnvironmentStatusResult> describeEnvironmentStatusAsync(DescribeEnvironmentStatusRequest request)
AWSCloud9Async
Gets status information for an Cloud9 development environment.
describeEnvironmentStatusAsync
in interface AWSCloud9Async
public Future<DescribeEnvironmentStatusResult> describeEnvironmentStatusAsync(DescribeEnvironmentStatusRequest request, AsyncHandler<DescribeEnvironmentStatusRequest,DescribeEnvironmentStatusResult> asyncHandler)
AWSCloud9Async
Gets status information for an Cloud9 development environment.
describeEnvironmentStatusAsync
in interface AWSCloud9Async
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<DescribeEnvironmentsResult> describeEnvironmentsAsync(DescribeEnvironmentsRequest request)
AWSCloud9Async
Gets information about Cloud9 development environments.
describeEnvironmentsAsync
in interface AWSCloud9Async
public Future<DescribeEnvironmentsResult> describeEnvironmentsAsync(DescribeEnvironmentsRequest request, AsyncHandler<DescribeEnvironmentsRequest,DescribeEnvironmentsResult> asyncHandler)
AWSCloud9Async
Gets information about Cloud9 development environments.
describeEnvironmentsAsync
in interface AWSCloud9Async
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<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request)
AWSCloud9Async
Gets a list of Cloud9 development environment identifiers.
listEnvironmentsAsync
in interface AWSCloud9Async
public Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request, AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
AWSCloud9Async
Gets a list of Cloud9 development environment identifiers.
listEnvironmentsAsync
in interface AWSCloud9Async
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSCloud9Async
Gets a list of the tags associated with an Cloud9 development environment.
listTagsForResourceAsync
in interface AWSCloud9Async
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSCloud9Async
Gets a list of the tags associated with an Cloud9 development environment.
listTagsForResourceAsync
in interface AWSCloud9Async
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSCloud9Async
Adds tags to an Cloud9 development environment.
Tags that you add to an Cloud9 environment by using this method will NOT be automatically propagated to underlying resources.
tagResourceAsync
in interface AWSCloud9Async
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSCloud9Async
Adds tags to an Cloud9 development environment.
Tags that you add to an Cloud9 environment by using this method will NOT be automatically propagated to underlying resources.
tagResourceAsync
in interface AWSCloud9Async
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSCloud9Async
Removes tags from an Cloud9 development environment.
untagResourceAsync
in interface AWSCloud9Async
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSCloud9Async
Removes tags from an Cloud9 development environment.
untagResourceAsync
in interface AWSCloud9Async
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<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request)
AWSCloud9Async
Changes the settings of an existing Cloud9 development environment.
updateEnvironmentAsync
in interface AWSCloud9Async
public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request, AsyncHandler<UpdateEnvironmentRequest,UpdateEnvironmentResult> asyncHandler)
AWSCloud9Async
Changes the settings of an existing Cloud9 development environment.
updateEnvironmentAsync
in interface AWSCloud9Async
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<UpdateEnvironmentMembershipResult> updateEnvironmentMembershipAsync(UpdateEnvironmentMembershipRequest request)
AWSCloud9Async
Changes the settings of an existing environment member for an Cloud9 development environment.
updateEnvironmentMembershipAsync
in interface AWSCloud9Async
public Future<UpdateEnvironmentMembershipResult> updateEnvironmentMembershipAsync(UpdateEnvironmentMembershipRequest request, AsyncHandler<UpdateEnvironmentMembershipRequest,UpdateEnvironmentMembershipResult> asyncHandler)
AWSCloud9Async
Changes the settings of an existing environment member for an Cloud9 development environment.
updateEnvironmentMembershipAsync
in interface AWSCloud9Async
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 AWSCloud9
shutdown
in class AWSCloud9Client