All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.codegurureviewer.AmazonCodeGuruReviewerAsync Maven / Gradle / Ivy

/*
 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.codegurureviewer;

import javax.annotation.Generated;

import com.amazonaws.services.codegurureviewer.model.*;

/**
 * Interface for accessing CodeGuruReviewer asynchronously. Each asynchronous method will return a Java Future object
 * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
 * notification when an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.codegurureviewer.AbstractAmazonCodeGuruReviewerAsync} instead. *

*

*

* This section provides documentation for the Amazon CodeGuru Reviewer API operations. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonCodeGuruReviewerAsync extends AmazonCodeGuruReviewer { /** *

* Associates 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. *

* * @param associateRepositoryRequest * @return A Java Future containing the result of the AssociateRepository operation returned by the service. * @sample AmazonCodeGuruReviewerAsync.AssociateRepository * @see AWS API Documentation */ java.util.concurrent.Future associateRepositoryAsync(AssociateRepositoryRequest associateRepositoryRequest); /** *

* Associates 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. *

* * @param associateRepositoryRequest * @param 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. * @return A Java Future containing the result of the AssociateRepository operation returned by the service. * @sample AmazonCodeGuruReviewerAsyncHandler.AssociateRepository * @see AWS API Documentation */ java.util.concurrent.Future associateRepositoryAsync(AssociateRepositoryRequest associateRepositoryRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Describes a repository association. *

* * @param describeRepositoryAssociationRequest * @return A Java Future containing the result of the DescribeRepositoryAssociation operation returned by the * service. * @sample AmazonCodeGuruReviewerAsync.DescribeRepositoryAssociation * @see AWS API Documentation */ java.util.concurrent.Future describeRepositoryAssociationAsync( DescribeRepositoryAssociationRequest describeRepositoryAssociationRequest); /** *

* Describes a repository association. *

* * @param describeRepositoryAssociationRequest * @param 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. * @return A Java Future containing the result of the DescribeRepositoryAssociation operation returned by the * service. * @sample AmazonCodeGuruReviewerAsyncHandler.DescribeRepositoryAssociation * @see AWS API Documentation */ java.util.concurrent.Future describeRepositoryAssociationAsync( DescribeRepositoryAssociationRequest describeRepositoryAssociationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes the association between Amazon CodeGuru Reviewer and a repository. *

* * @param disassociateRepositoryRequest * @return A Java Future containing the result of the DisassociateRepository operation returned by the service. * @sample AmazonCodeGuruReviewerAsync.DisassociateRepository * @see AWS API Documentation */ java.util.concurrent.Future disassociateRepositoryAsync(DisassociateRepositoryRequest disassociateRepositoryRequest); /** *

* Removes the association between Amazon CodeGuru Reviewer and a repository. *

* * @param disassociateRepositoryRequest * @param 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. * @return A Java Future containing the result of the DisassociateRepository operation returned by the service. * @sample AmazonCodeGuruReviewerAsyncHandler.DisassociateRepository * @see AWS API Documentation */ java.util.concurrent.Future disassociateRepositoryAsync(DisassociateRepositoryRequest disassociateRepositoryRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists repository associations. You can optionally filter on one or more of the following recommendation * properties: provider types, states, names, and owners. *

* * @param listRepositoryAssociationsRequest * @return A Java Future containing the result of the ListRepositoryAssociations operation returned by the service. * @sample AmazonCodeGuruReviewerAsync.ListRepositoryAssociations * @see AWS API Documentation */ java.util.concurrent.Future listRepositoryAssociationsAsync( ListRepositoryAssociationsRequest listRepositoryAssociationsRequest); /** *

* Lists repository associations. You can optionally filter on one or more of the following recommendation * properties: provider types, states, names, and owners. *

* * @param listRepositoryAssociationsRequest * @param 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. * @return A Java Future containing the result of the ListRepositoryAssociations operation returned by the service. * @sample AmazonCodeGuruReviewerAsyncHandler.ListRepositoryAssociations * @see AWS API Documentation */ java.util.concurrent.Future listRepositoryAssociationsAsync( ListRepositoryAssociationsRequest listRepositoryAssociationsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy