
com.amazonaws.services.codebuild.AWSCodeBuildAsync Maven / Gradle / Ivy
/*
* Copyright 2014-2019 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.codebuild;
import javax.annotation.Generated;
import com.amazonaws.services.codebuild.model.*;
/**
* Interface for accessing AWS CodeBuild 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.codebuild.AbstractAWSCodeBuildAsync} instead.
*
*
* AWS CodeBuild
*
* AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit
* tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and
* scale your own build servers. It provides prepackaged build environments for the most popular programming languages
* and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in AWS
* CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests. You pay only
* for the build time you consume. For more information about AWS CodeBuild, see the AWS CodeBuild User Guide.
*
*
* AWS CodeBuild supports these operations:
*
*
* -
*
* BatchDeleteBuilds
: Deletes one or more builds.
*
*
* -
*
* BatchGetProjects
: Gets information about one or more build projects. A build project defines how
* AWS CodeBuild runs a build. This includes information such as where to get the source code to build, the build
* environment to use, the build commands to run, and where to store the build output. A build environment is a
* representation of operating system, programming language runtime, and tools that AWS CodeBuild uses to run a build.
* You can add tags to build projects to help manage your resources and costs.
*
*
* -
*
* CreateProject
: Creates a build project.
*
*
* -
*
* CreateWebhook
: For an existing AWS CodeBuild build project that has its source code stored in a GitHub
* or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed
* to the repository.
*
*
* -
*
* UpdateWebhook
: Changes the settings of an existing webhook.
*
*
* -
*
* DeleteProject
: Deletes a build project.
*
*
* -
*
* DeleteWebhook
: For an existing AWS CodeBuild build project that has its source code stored in a GitHub
* or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to
* the repository.
*
*
* -
*
* ListProjects
: Gets a list of build project names, with each build project name representing a single
* build project.
*
*
* -
*
* UpdateProject
: Changes the settings of an existing build project.
*
*
* -
*
* BatchGetBuilds
: Gets information about one or more builds.
*
*
* -
*
* ListBuilds
: Gets a list of build IDs, with each build ID representing a single build.
*
*
* -
*
* ListBuildsForProject
: Gets a list of build IDs for the specified build project, with each build ID
* representing a single build.
*
*
* -
*
* StartBuild
: Starts running a build.
*
*
* -
*
* StopBuild
: Attempts to stop running a build.
*
*
* -
*
* ListCuratedEnvironmentImages
: Gets information about Docker images that are managed by AWS CodeBuild.
*
*
* -
*
* DeleteSourceCredentials
: Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
*
*
* -
*
* ImportSourceCredentials
: Imports the source repository credentials for an AWS CodeBuild project that has
* its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
*
*
* -
*
* ListSourceCredentials
: Returns a list of SourceCredentialsInfo
objects. Each
* SourceCredentialsInfo
object includes the authentication type, token ARN, and type of source provider
* for one set of credentials.
*
*
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSCodeBuildAsync extends AWSCodeBuild {
/**
*
* Deletes one or more builds.
*
*
* @param batchDeleteBuildsRequest
* @return A Java Future containing the result of the BatchDeleteBuilds operation returned by the service.
* @sample AWSCodeBuildAsync.BatchDeleteBuilds
* @see AWS
* API Documentation
*/
java.util.concurrent.Future batchDeleteBuildsAsync(BatchDeleteBuildsRequest batchDeleteBuildsRequest);
/**
*
* Deletes one or more builds.
*
*
* @param batchDeleteBuildsRequest
* @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 BatchDeleteBuilds operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.BatchDeleteBuilds
* @see AWS
* API Documentation
*/
java.util.concurrent.Future batchDeleteBuildsAsync(BatchDeleteBuildsRequest batchDeleteBuildsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about builds.
*
*
* @param batchGetBuildsRequest
* @return A Java Future containing the result of the BatchGetBuilds operation returned by the service.
* @sample AWSCodeBuildAsync.BatchGetBuilds
* @see AWS API
* Documentation
*/
java.util.concurrent.Future batchGetBuildsAsync(BatchGetBuildsRequest batchGetBuildsRequest);
/**
*
* Gets information about builds.
*
*
* @param batchGetBuildsRequest
* @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 BatchGetBuilds operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.BatchGetBuilds
* @see AWS API
* Documentation
*/
java.util.concurrent.Future batchGetBuildsAsync(BatchGetBuildsRequest batchGetBuildsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about build projects.
*
*
* @param batchGetProjectsRequest
* @return A Java Future containing the result of the BatchGetProjects operation returned by the service.
* @sample AWSCodeBuildAsync.BatchGetProjects
* @see AWS API
* Documentation
*/
java.util.concurrent.Future batchGetProjectsAsync(BatchGetProjectsRequest batchGetProjectsRequest);
/**
*
* Gets information about build projects.
*
*
* @param batchGetProjectsRequest
* @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 BatchGetProjects operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.BatchGetProjects
* @see AWS API
* Documentation
*/
java.util.concurrent.Future batchGetProjectsAsync(BatchGetProjectsRequest batchGetProjectsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a build project.
*
*
* @param createProjectRequest
* @return A Java Future containing the result of the CreateProject operation returned by the service.
* @sample AWSCodeBuildAsync.CreateProject
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createProjectAsync(CreateProjectRequest createProjectRequest);
/**
*
* Creates a build project.
*
*
* @param createProjectRequest
* @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 CreateProject operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.CreateProject
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createProjectAsync(CreateProjectRequest createProjectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
* enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
*
*
*
* If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline,
* then two identical builds are created for each commit. One build is triggered through webhooks, and one through
* AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are
* using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console,
* clear the Webhook box. For more information, see step 5 in Change a
* Build Project's Settings.
*
*
*
* @param createWebhookRequest
* @return A Java Future containing the result of the CreateWebhook operation returned by the service.
* @sample AWSCodeBuildAsync.CreateWebhook
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createWebhookAsync(CreateWebhookRequest createWebhookRequest);
/**
*
* For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
* enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
*
*
*
* If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline,
* then two identical builds are created for each commit. One build is triggered through webhooks, and one through
* AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are
* using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console,
* clear the Webhook box. For more information, see step 5 in Change a
* Build Project's Settings.
*
*
*
* @param createWebhookRequest
* @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 CreateWebhook operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.CreateWebhook
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createWebhookAsync(CreateWebhookRequest createWebhookRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a build project.
*
*
* @param deleteProjectRequest
* @return A Java Future containing the result of the DeleteProject operation returned by the service.
* @sample AWSCodeBuildAsync.DeleteProject
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteProjectAsync(DeleteProjectRequest deleteProjectRequest);
/**
*
* Deletes a build project.
*
*
* @param deleteProjectRequest
* @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 DeleteProject operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.DeleteProject
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteProjectAsync(DeleteProjectRequest deleteProjectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
*
*
* @param deleteSourceCredentialsRequest
* @return A Java Future containing the result of the DeleteSourceCredentials operation returned by the service.
* @sample AWSCodeBuildAsync.DeleteSourceCredentials
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest);
/**
*
* Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
*
*
* @param deleteSourceCredentialsRequest
* @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 DeleteSourceCredentials operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.DeleteSourceCredentials
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
* stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
*
*
* @param deleteWebhookRequest
* @return A Java Future containing the result of the DeleteWebhook operation returned by the service.
* @sample AWSCodeBuildAsync.DeleteWebhook
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest);
/**
*
* For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
* stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
*
*
* @param deleteWebhookRequest
* @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 DeleteWebhook operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.DeleteWebhook
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a
* GitHub, GitHub Enterprise, or Bitbucket repository.
*
*
* @param importSourceCredentialsRequest
* @return A Java Future containing the result of the ImportSourceCredentials operation returned by the service.
* @sample AWSCodeBuildAsync.ImportSourceCredentials
* @see AWS API Documentation
*/
java.util.concurrent.Future importSourceCredentialsAsync(ImportSourceCredentialsRequest importSourceCredentialsRequest);
/**
*
* Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a
* GitHub, GitHub Enterprise, or Bitbucket repository.
*
*
* @param importSourceCredentialsRequest
* @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 ImportSourceCredentials operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ImportSourceCredentials
* @see AWS API Documentation
*/
java.util.concurrent.Future importSourceCredentialsAsync(ImportSourceCredentialsRequest importSourceCredentialsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Resets the cache for a project.
*
*
* @param invalidateProjectCacheRequest
* @return A Java Future containing the result of the InvalidateProjectCache operation returned by the service.
* @sample AWSCodeBuildAsync.InvalidateProjectCache
* @see AWS API Documentation
*/
java.util.concurrent.Future invalidateProjectCacheAsync(InvalidateProjectCacheRequest invalidateProjectCacheRequest);
/**
*
* Resets the cache for a project.
*
*
* @param invalidateProjectCacheRequest
* @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 InvalidateProjectCache operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.InvalidateProjectCache
* @see AWS API Documentation
*/
java.util.concurrent.Future invalidateProjectCacheAsync(InvalidateProjectCacheRequest invalidateProjectCacheRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a list of build IDs, with each build ID representing a single build.
*
*
* @param listBuildsRequest
* @return A Java Future containing the result of the ListBuilds operation returned by the service.
* @sample AWSCodeBuildAsync.ListBuilds
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listBuildsAsync(ListBuildsRequest listBuildsRequest);
/**
*
* Gets a list of build IDs, with each build ID representing a single build.
*
*
* @param listBuildsRequest
* @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 ListBuilds operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListBuilds
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listBuildsAsync(ListBuildsRequest listBuildsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a list of build IDs for the specified build project, with each build ID representing a single build.
*
*
* @param listBuildsForProjectRequest
* @return A Java Future containing the result of the ListBuildsForProject operation returned by the service.
* @sample AWSCodeBuildAsync.ListBuildsForProject
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listBuildsForProjectAsync(ListBuildsForProjectRequest listBuildsForProjectRequest);
/**
*
* Gets a list of build IDs for the specified build project, with each build ID representing a single build.
*
*
* @param listBuildsForProjectRequest
* @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 ListBuildsForProject operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListBuildsForProject
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listBuildsForProjectAsync(ListBuildsForProjectRequest listBuildsForProjectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about Docker images that are managed by AWS CodeBuild.
*
*
* @param listCuratedEnvironmentImagesRequest
* @return A Java Future containing the result of the ListCuratedEnvironmentImages operation returned by the
* service.
* @sample AWSCodeBuildAsync.ListCuratedEnvironmentImages
* @see AWS API Documentation
*/
java.util.concurrent.Future listCuratedEnvironmentImagesAsync(
ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest);
/**
*
* Gets information about Docker images that are managed by AWS CodeBuild.
*
*
* @param listCuratedEnvironmentImagesRequest
* @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 ListCuratedEnvironmentImages operation returned by the
* service.
* @sample AWSCodeBuildAsyncHandler.ListCuratedEnvironmentImages
* @see AWS API Documentation
*/
java.util.concurrent.Future listCuratedEnvironmentImagesAsync(
ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a list of build project names, with each build project name representing a single build project.
*
*
* @param listProjectsRequest
* @return A Java Future containing the result of the ListProjects operation returned by the service.
* @sample AWSCodeBuildAsync.ListProjects
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listProjectsAsync(ListProjectsRequest listProjectsRequest);
/**
*
* Gets a list of build project names, with each build project name representing a single build project.
*
*
* @param listProjectsRequest
* @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 ListProjects operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListProjects
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listProjectsAsync(ListProjectsRequest listProjectsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of SourceCredentialsInfo
objects.
*
*
* @param listSourceCredentialsRequest
* @return A Java Future containing the result of the ListSourceCredentials operation returned by the service.
* @sample AWSCodeBuildAsync.ListSourceCredentials
* @see AWS API Documentation
*/
java.util.concurrent.Future listSourceCredentialsAsync(ListSourceCredentialsRequest listSourceCredentialsRequest);
/**
*
* Returns a list of SourceCredentialsInfo
objects.
*
*
* @param listSourceCredentialsRequest
* @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 ListSourceCredentials operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListSourceCredentials
* @see AWS API Documentation
*/
java.util.concurrent.Future listSourceCredentialsAsync(ListSourceCredentialsRequest listSourceCredentialsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Starts running a build.
*
*
* @param startBuildRequest
* @return A Java Future containing the result of the StartBuild operation returned by the service.
* @sample AWSCodeBuildAsync.StartBuild
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startBuildAsync(StartBuildRequest startBuildRequest);
/**
*
* Starts running a build.
*
*
* @param startBuildRequest
* @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 StartBuild operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.StartBuild
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startBuildAsync(StartBuildRequest startBuildRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Attempts to stop running a build.
*
*
* @param stopBuildRequest
* @return A Java Future containing the result of the StopBuild operation returned by the service.
* @sample AWSCodeBuildAsync.StopBuild
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopBuildAsync(StopBuildRequest stopBuildRequest);
/**
*
* Attempts to stop running a build.
*
*
* @param stopBuildRequest
* @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 StopBuild operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.StopBuild
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopBuildAsync(StopBuildRequest stopBuildRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Changes the settings of a build project.
*
*
* @param updateProjectRequest
* @return A Java Future containing the result of the UpdateProject operation returned by the service.
* @sample AWSCodeBuildAsync.UpdateProject
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateProjectAsync(UpdateProjectRequest updateProjectRequest);
/**
*
* Changes the settings of a build project.
*
*
* @param updateProjectRequest
* @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 UpdateProject operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.UpdateProject
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateProjectAsync(UpdateProjectRequest updateProjectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the webhook associated with an AWS CodeBuild build project.
*
*
*
* If you use Bitbucket for your repository, rotateSecret
is ignored.
*
*
*
* @param updateWebhookRequest
* @return A Java Future containing the result of the UpdateWebhook operation returned by the service.
* @sample AWSCodeBuildAsync.UpdateWebhook
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateWebhookAsync(UpdateWebhookRequest updateWebhookRequest);
/**
*
* Updates the webhook associated with an AWS CodeBuild build project.
*
*
*
* If you use Bitbucket for your repository, rotateSecret
is ignored.
*
*
*
* @param updateWebhookRequest
* @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 UpdateWebhook operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.UpdateWebhook
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateWebhookAsync(UpdateWebhookRequest updateWebhookRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}