@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonCodeGuruReviewerAsyncClient extends AmazonCodeGuruReviewerClient implements AmazonCodeGuruReviewerAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
This section provides documentation for the Amazon CodeGuru Reviewer API operations.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXassociateRepository, builder, describeRepositoryAssociation, disassociateRepository, getCachedResponseMetadata, listRepositoryAssociationsaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociateRepository, describeRepositoryAssociation, disassociateRepository, getCachedResponseMetadata, listRepositoryAssociationspublic static AmazonCodeGuruReviewerAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateRepositoryResult> associateRepositoryAsync(AssociateRepositoryRequest request)
AmazonCodeGuruReviewerAsyncAssociates an AWS CodeCommit repository with Amazon CodeGuru Reviewer. When you associate an AWS CodeCommit repository with Amazon CodeGuru Reviewer, Amazon CodeGuru Reviewer will provide recommendations for each pull request. You can view recommendations in the AWS CodeCommit repository.
You can associate a GitHub repository using the Amazon CodeGuru Reviewer console.
associateRepositoryAsync in interface AmazonCodeGuruReviewerAsyncpublic Future<AssociateRepositoryResult> associateRepositoryAsync(AssociateRepositoryRequest request, AsyncHandler<AssociateRepositoryRequest,AssociateRepositoryResult> asyncHandler)
AmazonCodeGuruReviewerAsyncAssociates an AWS CodeCommit repository with Amazon CodeGuru Reviewer. When you associate an AWS CodeCommit repository with Amazon CodeGuru Reviewer, Amazon CodeGuru Reviewer will provide recommendations for each pull request. You can view recommendations in the AWS CodeCommit repository.
You can associate a GitHub repository using the Amazon CodeGuru Reviewer console.
associateRepositoryAsync in interface AmazonCodeGuruReviewerAsyncasyncHandler - 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<DescribeRepositoryAssociationResult> describeRepositoryAssociationAsync(DescribeRepositoryAssociationRequest request)
AmazonCodeGuruReviewerAsyncDescribes a repository association.
describeRepositoryAssociationAsync in interface AmazonCodeGuruReviewerAsyncpublic Future<DescribeRepositoryAssociationResult> describeRepositoryAssociationAsync(DescribeRepositoryAssociationRequest request, AsyncHandler<DescribeRepositoryAssociationRequest,DescribeRepositoryAssociationResult> asyncHandler)
AmazonCodeGuruReviewerAsyncDescribes a repository association.
describeRepositoryAssociationAsync in interface AmazonCodeGuruReviewerAsyncasyncHandler - 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<DisassociateRepositoryResult> disassociateRepositoryAsync(DisassociateRepositoryRequest request)
AmazonCodeGuruReviewerAsyncRemoves the association between Amazon CodeGuru Reviewer and a repository.
disassociateRepositoryAsync in interface AmazonCodeGuruReviewerAsyncpublic Future<DisassociateRepositoryResult> disassociateRepositoryAsync(DisassociateRepositoryRequest request, AsyncHandler<DisassociateRepositoryRequest,DisassociateRepositoryResult> asyncHandler)
AmazonCodeGuruReviewerAsyncRemoves the association between Amazon CodeGuru Reviewer and a repository.
disassociateRepositoryAsync in interface AmazonCodeGuruReviewerAsyncasyncHandler - 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<ListRepositoryAssociationsResult> listRepositoryAssociationsAsync(ListRepositoryAssociationsRequest request)
AmazonCodeGuruReviewerAsyncLists repository associations. You can optionally filter on one or more of the following recommendation properties: provider types, states, names, and owners.
listRepositoryAssociationsAsync in interface AmazonCodeGuruReviewerAsyncpublic Future<ListRepositoryAssociationsResult> listRepositoryAssociationsAsync(ListRepositoryAssociationsRequest request, AsyncHandler<ListRepositoryAssociationsRequest,ListRepositoryAssociationsResult> asyncHandler)
AmazonCodeGuruReviewerAsyncLists repository associations. You can optionally filter on one or more of the following recommendation properties: provider types, states, names, and owners.
listRepositoryAssociationsAsync in interface AmazonCodeGuruReviewerAsyncasyncHandler - 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 AmazonCodeGuruReviewershutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.