com.amazonaws.services.codebuild.AWSCodeBuildAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-codebuild Show documentation
/*
* Copyright 2019-2024 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.
*
*
* CodeBuild
*
* CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, runs unit tests, and
* produces artifacts that are ready to deploy. 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 CodeBuild to use your own
* build tools. CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume.
* For more information about CodeBuild, see the CodeBuild User Guide.
*
*/
@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);
/**
*
* Retrieves information about one or more batch builds.
*
*
* @param batchGetBuildBatchesRequest
* @return A Java Future containing the result of the BatchGetBuildBatches operation returned by the service.
* @sample AWSCodeBuildAsync.BatchGetBuildBatches
* @see AWS
* API Documentation
*/
java.util.concurrent.Future batchGetBuildBatchesAsync(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest);
/**
*
* Retrieves information about one or more batch builds.
*
*
* @param batchGetBuildBatchesRequest
* @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 BatchGetBuildBatches operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.BatchGetBuildBatches
* @see AWS
* API Documentation
*/
java.util.concurrent.Future batchGetBuildBatchesAsync(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about one or more 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 one or more 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 one or more compute fleets.
*
*
* @param batchGetFleetsRequest
* @return A Java Future containing the result of the BatchGetFleets operation returned by the service.
* @sample AWSCodeBuildAsync.BatchGetFleets
* @see AWS API
* Documentation
*/
java.util.concurrent.Future batchGetFleetsAsync(BatchGetFleetsRequest batchGetFleetsRequest);
/**
*
* Gets information about one or more compute fleets.
*
*
* @param batchGetFleetsRequest
* @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 BatchGetFleets operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.BatchGetFleets
* @see AWS API
* Documentation
*/
java.util.concurrent.Future batchGetFleetsAsync(BatchGetFleetsRequest batchGetFleetsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about one or more 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 one or more 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);
/**
*
* Returns an array of report groups.
*
*
* @param batchGetReportGroupsRequest
* @return A Java Future containing the result of the BatchGetReportGroups operation returned by the service.
* @sample AWSCodeBuildAsync.BatchGetReportGroups
* @see AWS
* API Documentation
*/
java.util.concurrent.Future batchGetReportGroupsAsync(BatchGetReportGroupsRequest batchGetReportGroupsRequest);
/**
*
* Returns an array of report groups.
*
*
* @param batchGetReportGroupsRequest
* @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 BatchGetReportGroups operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.BatchGetReportGroups
* @see AWS
* API Documentation
*/
java.util.concurrent.Future batchGetReportGroupsAsync(BatchGetReportGroupsRequest batchGetReportGroupsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns an array of reports.
*
*
* @param batchGetReportsRequest
* @return A Java Future containing the result of the BatchGetReports operation returned by the service.
* @sample AWSCodeBuildAsync.BatchGetReports
* @see AWS API
* Documentation
*/
java.util.concurrent.Future batchGetReportsAsync(BatchGetReportsRequest batchGetReportsRequest);
/**
*
* Returns an array of reports.
*
*
* @param batchGetReportsRequest
* @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 BatchGetReports operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.BatchGetReports
* @see AWS API
* Documentation
*/
java.util.concurrent.Future batchGetReportsAsync(BatchGetReportsRequest batchGetReportsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a compute fleet.
*
*
* @param createFleetRequest
* @return A Java Future containing the result of the CreateFleet operation returned by the service.
* @sample AWSCodeBuildAsync.CreateFleet
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createFleetAsync(CreateFleetRequest createFleetRequest);
/**
*
* Creates a compute fleet.
*
*
* @param createFleetRequest
* @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 CreateFleet operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.CreateFleet
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createFleetAsync(CreateFleetRequest createFleetRequest,
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);
/**
*
* Creates a report group. A report group contains a collection of reports.
*
*
* @param createReportGroupRequest
* @return A Java Future containing the result of the CreateReportGroup operation returned by the service.
* @sample AWSCodeBuildAsync.CreateReportGroup
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createReportGroupAsync(CreateReportGroupRequest createReportGroupRequest);
/**
*
* Creates a report group. A report group contains a collection of reports.
*
*
* @param createReportGroupRequest
* @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 CreateReportGroup operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.CreateReportGroup
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createReportGroupAsync(CreateReportGroupRequest createReportGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
* enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
*
*
*
* If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then
* two identical builds are created for each commit. One build is triggered through webhooks, and one through
* CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are
* using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the 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 CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
* enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
*
*
*
* If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then
* two identical builds are created for each commit. One build is triggered through webhooks, and one through
* CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are
* using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the 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 batch build.
*
*
* @param deleteBuildBatchRequest
* @return A Java Future containing the result of the DeleteBuildBatch operation returned by the service.
* @sample AWSCodeBuildAsync.DeleteBuildBatch
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteBuildBatchAsync(DeleteBuildBatchRequest deleteBuildBatchRequest);
/**
*
* Deletes a batch build.
*
*
* @param deleteBuildBatchRequest
* @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 DeleteBuildBatch operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.DeleteBuildBatch
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteBuildBatchAsync(DeleteBuildBatchRequest deleteBuildBatchRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
*
*
* @param deleteFleetRequest
* @return A Java Future containing the result of the DeleteFleet operation returned by the service.
* @sample AWSCodeBuildAsync.DeleteFleet
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteFleetAsync(DeleteFleetRequest deleteFleetRequest);
/**
*
* Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
*
*
* @param deleteFleetRequest
* @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 DeleteFleet operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.DeleteFleet
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteFleetAsync(DeleteFleetRequest deleteFleetRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a build project. When you delete a project, its builds are not deleted.
*
*
* @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. When you delete a project, its builds are not deleted.
*
*
* @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 report.
*
*
* @param deleteReportRequest
* @return A Java Future containing the result of the DeleteReport operation returned by the service.
* @sample AWSCodeBuildAsync.DeleteReport
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteReportAsync(DeleteReportRequest deleteReportRequest);
/**
*
* Deletes a report.
*
*
* @param deleteReportRequest
* @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 DeleteReport operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.DeleteReport
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteReportAsync(DeleteReportRequest deleteReportRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a report group. Before you delete a report group, you must delete its reports.
*
*
* @param deleteReportGroupRequest
* @return A Java Future containing the result of the DeleteReportGroup operation returned by the service.
* @sample AWSCodeBuildAsync.DeleteReportGroup
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteReportGroupAsync(DeleteReportGroupRequest deleteReportGroupRequest);
/**
*
* Deletes a report group. Before you delete a report group, you must delete its reports.
*
*
* @param deleteReportGroupRequest
* @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 DeleteReportGroup operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.DeleteReportGroup
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteReportGroupAsync(DeleteReportGroupRequest deleteReportGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a resource policy that is identified by its resource ARN.
*
*
* @param deleteResourcePolicyRequest
* @return A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
* @sample AWSCodeBuildAsync.DeleteResourcePolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest);
/**
*
* Deletes a resource policy that is identified by its resource ARN.
*
*
* @param deleteResourcePolicyRequest
* @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 DeleteResourcePolicy operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.DeleteResourcePolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest,
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 CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
* stops 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 CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
* stops 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);
/**
*
* Retrieves one or more code coverage reports.
*
*
* @param describeCodeCoveragesRequest
* @return A Java Future containing the result of the DescribeCodeCoverages operation returned by the service.
* @sample AWSCodeBuildAsync.DescribeCodeCoverages
* @see AWS API Documentation
*/
java.util.concurrent.Future describeCodeCoveragesAsync(DescribeCodeCoveragesRequest describeCodeCoveragesRequest);
/**
*
* Retrieves one or more code coverage reports.
*
*
* @param describeCodeCoveragesRequest
* @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 DescribeCodeCoverages operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.DescribeCodeCoverages
* @see AWS API Documentation
*/
java.util.concurrent.Future describeCodeCoveragesAsync(DescribeCodeCoveragesRequest describeCodeCoveragesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of details about test cases for a report.
*
*
* @param describeTestCasesRequest
* @return A Java Future containing the result of the DescribeTestCases operation returned by the service.
* @sample AWSCodeBuildAsync.DescribeTestCases
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeTestCasesAsync(DescribeTestCasesRequest describeTestCasesRequest);
/**
*
* Returns a list of details about test cases for a report.
*
*
* @param describeTestCasesRequest
* @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 DescribeTestCases operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.DescribeTestCases
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeTestCasesAsync(DescribeTestCasesRequest describeTestCasesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Analyzes and accumulates test report values for the specified test reports.
*
*
* @param getReportGroupTrendRequest
* @return A Java Future containing the result of the GetReportGroupTrend operation returned by the service.
* @sample AWSCodeBuildAsync.GetReportGroupTrend
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getReportGroupTrendAsync(GetReportGroupTrendRequest getReportGroupTrendRequest);
/**
*
* Analyzes and accumulates test report values for the specified test reports.
*
*
* @param getReportGroupTrendRequest
* @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 GetReportGroupTrend operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.GetReportGroupTrend
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getReportGroupTrendAsync(GetReportGroupTrendRequest getReportGroupTrendRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a resource policy that is identified by its resource ARN.
*
*
* @param getResourcePolicyRequest
* @return A Java Future containing the result of the GetResourcePolicy operation returned by the service.
* @sample AWSCodeBuildAsync.GetResourcePolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest);
/**
*
* Gets a resource policy that is identified by its resource ARN.
*
*
* @param getResourcePolicyRequest
* @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 GetResourcePolicy operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.GetResourcePolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Imports the source repository credentials for an 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 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);
/**
*
* Retrieves the identifiers of your build batches in the current region.
*
*
* @param listBuildBatchesRequest
* @return A Java Future containing the result of the ListBuildBatches operation returned by the service.
* @sample AWSCodeBuildAsync.ListBuildBatches
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listBuildBatchesAsync(ListBuildBatchesRequest listBuildBatchesRequest);
/**
*
* Retrieves the identifiers of your build batches in the current region.
*
*
* @param listBuildBatchesRequest
* @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 ListBuildBatches operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListBuildBatches
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listBuildBatchesAsync(ListBuildBatchesRequest listBuildBatchesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the identifiers of the build batches for a specific project.
*
*
* @param listBuildBatchesForProjectRequest
* @return A Java Future containing the result of the ListBuildBatchesForProject operation returned by the service.
* @sample AWSCodeBuildAsync.ListBuildBatchesForProject
* @see AWS API Documentation
*/
java.util.concurrent.Future listBuildBatchesForProjectAsync(
ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest);
/**
*
* Retrieves the identifiers of the build batches for a specific project.
*
*
* @param listBuildBatchesForProjectRequest
* @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 ListBuildBatchesForProject operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListBuildBatchesForProject
* @see AWS API Documentation
*/
java.util.concurrent.Future listBuildBatchesForProjectAsync(
ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest,
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 identifiers for the specified build project, with each build identifier 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 identifiers for the specified build project, with each build identifier 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 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 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 compute fleet names with each compute fleet name representing a single compute fleet.
*
*
* @param listFleetsRequest
* @return A Java Future containing the result of the ListFleets operation returned by the service.
* @sample AWSCodeBuildAsync.ListFleets
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listFleetsAsync(ListFleetsRequest listFleetsRequest);
/**
*
* Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.
*
*
* @param listFleetsRequest
* @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 ListFleets operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListFleets
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listFleetsAsync(ListFleetsRequest listFleetsRequest,
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);
/**
*
* Gets a list ARNs for the report groups in the current Amazon Web Services account.
*
*
* @param listReportGroupsRequest
* @return A Java Future containing the result of the ListReportGroups operation returned by the service.
* @sample AWSCodeBuildAsync.ListReportGroups
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listReportGroupsAsync(ListReportGroupsRequest listReportGroupsRequest);
/**
*
* Gets a list ARNs for the report groups in the current Amazon Web Services account.
*
*
* @param listReportGroupsRequest
* @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 ListReportGroups operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListReportGroups
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listReportGroupsAsync(ListReportGroupsRequest listReportGroupsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of ARNs for the reports in the current Amazon Web Services account.
*
*
* @param listReportsRequest
* @return A Java Future containing the result of the ListReports operation returned by the service.
* @sample AWSCodeBuildAsync.ListReports
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listReportsAsync(ListReportsRequest listReportsRequest);
/**
*
* Returns a list of ARNs for the reports in the current Amazon Web Services account.
*
*
* @param listReportsRequest
* @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 ListReports operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListReports
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listReportsAsync(ListReportsRequest listReportsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of ARNs for the reports that belong to a ReportGroup
.
*
*
* @param listReportsForReportGroupRequest
* @return A Java Future containing the result of the ListReportsForReportGroup operation returned by the service.
* @sample AWSCodeBuildAsync.ListReportsForReportGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future listReportsForReportGroupAsync(
ListReportsForReportGroupRequest listReportsForReportGroupRequest);
/**
*
* Returns a list of ARNs for the reports that belong to a ReportGroup
.
*
*
* @param listReportsForReportGroupRequest
* @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 ListReportsForReportGroup operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListReportsForReportGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future listReportsForReportGroupAsync(
ListReportsForReportGroupRequest listReportsForReportGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a list of projects that are shared with other Amazon Web Services accounts or users.
*
*
* @param listSharedProjectsRequest
* @return A Java Future containing the result of the ListSharedProjects operation returned by the service.
* @sample AWSCodeBuildAsync.ListSharedProjects
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listSharedProjectsAsync(ListSharedProjectsRequest listSharedProjectsRequest);
/**
*
* Gets a list of projects that are shared with other Amazon Web Services accounts or users.
*
*
* @param listSharedProjectsRequest
* @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 ListSharedProjects operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListSharedProjects
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listSharedProjectsAsync(ListSharedProjectsRequest listSharedProjectsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
*
*
* @param listSharedReportGroupsRequest
* @return A Java Future containing the result of the ListSharedReportGroups operation returned by the service.
* @sample AWSCodeBuildAsync.ListSharedReportGroups
* @see AWS API Documentation
*/
java.util.concurrent.Future listSharedReportGroupsAsync(ListSharedReportGroupsRequest listSharedReportGroupsRequest);
/**
*
* Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
*
*
* @param listSharedReportGroupsRequest
* @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 ListSharedReportGroups operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.ListSharedReportGroups
* @see AWS API Documentation
*/
java.util.concurrent.Future listSharedReportGroupsAsync(ListSharedReportGroupsRequest listSharedReportGroupsRequest,
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);
/**
*
* Stores a resource policy for the ARN of a Project
or ReportGroup
object.
*
*
* @param putResourcePolicyRequest
* @return A Java Future containing the result of the PutResourcePolicy operation returned by the service.
* @sample AWSCodeBuildAsync.PutResourcePolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest);
/**
*
* Stores a resource policy for the ARN of a Project
or ReportGroup
object.
*
*
* @param putResourcePolicyRequest
* @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 PutResourcePolicy operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.PutResourcePolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Restarts a build.
*
*
* @param retryBuildRequest
* @return A Java Future containing the result of the RetryBuild operation returned by the service.
* @sample AWSCodeBuildAsync.RetryBuild
* @see AWS API
* Documentation
*/
java.util.concurrent.Future retryBuildAsync(RetryBuildRequest retryBuildRequest);
/**
*
* Restarts a build.
*
*
* @param retryBuildRequest
* @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 RetryBuild operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.RetryBuild
* @see AWS API
* Documentation
*/
java.util.concurrent.Future retryBuildAsync(RetryBuildRequest retryBuildRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Restarts a failed batch build. Only batch builds that have failed can be retried.
*
*
* @param retryBuildBatchRequest
* @return A Java Future containing the result of the RetryBuildBatch operation returned by the service.
* @sample AWSCodeBuildAsync.RetryBuildBatch
* @see AWS API
* Documentation
*/
java.util.concurrent.Future retryBuildBatchAsync(RetryBuildBatchRequest retryBuildBatchRequest);
/**
*
* Restarts a failed batch build. Only batch builds that have failed can be retried.
*
*
* @param retryBuildBatchRequest
* @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 RetryBuildBatch operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.RetryBuildBatch
* @see AWS API
* Documentation
*/
java.util.concurrent.Future retryBuildBatchAsync(RetryBuildBatchRequest retryBuildBatchRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Starts running a build with the settings defined in the project. These setting include: how to run a build, where
* to get the source code, which build environment to use, which build commands to run, and where to store the build
* output.
*
*
* You can also start a build run by overriding some of the build settings in the project. The overrides only apply
* for that specific start build request. The settings in the project are unaltered.
*
*
* @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 with the settings defined in the project. These setting include: how to run a build, where
* to get the source code, which build environment to use, which build commands to run, and where to store the build
* output.
*
*
* You can also start a build run by overriding some of the build settings in the project. The overrides only apply
* for that specific start build request. The settings in the project are unaltered.
*
*
* @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);
/**
*
* Starts a batch build for a project.
*
*
* @param startBuildBatchRequest
* @return A Java Future containing the result of the StartBuildBatch operation returned by the service.
* @sample AWSCodeBuildAsync.StartBuildBatch
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startBuildBatchAsync(StartBuildBatchRequest startBuildBatchRequest);
/**
*
* Starts a batch build for a project.
*
*
* @param startBuildBatchRequest
* @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 StartBuildBatch operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.StartBuildBatch
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startBuildBatchAsync(StartBuildBatchRequest startBuildBatchRequest,
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);
/**
*
* Stops a running batch build.
*
*
* @param stopBuildBatchRequest
* @return A Java Future containing the result of the StopBuildBatch operation returned by the service.
* @sample AWSCodeBuildAsync.StopBuildBatch
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopBuildBatchAsync(StopBuildBatchRequest stopBuildBatchRequest);
/**
*
* Stops a running batch build.
*
*
* @param stopBuildBatchRequest
* @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 StopBuildBatch operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.StopBuildBatch
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopBuildBatchAsync(StopBuildBatchRequest stopBuildBatchRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a compute fleet.
*
*
* @param updateFleetRequest
* @return A Java Future containing the result of the UpdateFleet operation returned by the service.
* @sample AWSCodeBuildAsync.UpdateFleet
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateFleetAsync(UpdateFleetRequest updateFleetRequest);
/**
*
* Updates a compute fleet.
*
*
* @param updateFleetRequest
* @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 UpdateFleet operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.UpdateFleet
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateFleetAsync(UpdateFleetRequest updateFleetRequest,
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);
/**
*
* Changes the public visibility for a project. The project's build results, logs, and artifacts are available to
* the general public. For more information, see Public build projects in the
* CodeBuild User Guide.
*
*
*
* The following should be kept in mind when making your projects public:
*
*
* -
*
* All of a project's build results, logs, and artifacts, including builds that were run when the project was
* private, are available to the general public.
*
*
* -
*
* All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive
* information may have been output to the build logs and artifacts. You must be careful about what information is
* output to the build logs. Some best practice are:
*
*
* -
*
* Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager
* Parameter Store or Secrets Manager to store sensitive values.
*
*
* -
*
* Follow Best
* practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build,
* and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
*
*
*
*
* -
*
* A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull
* requests to verify that the pull request is a legitimate change. We also recommend that you validate any
* artifacts with their checksums to make sure that the correct artifacts are being downloaded.
*
*
*
*
*
* @param updateProjectVisibilityRequest
* @return A Java Future containing the result of the UpdateProjectVisibility operation returned by the service.
* @sample AWSCodeBuildAsync.UpdateProjectVisibility
* @see AWS API Documentation
*/
java.util.concurrent.Future updateProjectVisibilityAsync(UpdateProjectVisibilityRequest updateProjectVisibilityRequest);
/**
*
* Changes the public visibility for a project. The project's build results, logs, and artifacts are available to
* the general public. For more information, see Public build projects in the
* CodeBuild User Guide.
*
*
*
* The following should be kept in mind when making your projects public:
*
*
* -
*
* All of a project's build results, logs, and artifacts, including builds that were run when the project was
* private, are available to the general public.
*
*
* -
*
* All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive
* information may have been output to the build logs and artifacts. You must be careful about what information is
* output to the build logs. Some best practice are:
*
*
* -
*
* Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager
* Parameter Store or Secrets Manager to store sensitive values.
*
*
* -
*
* Follow Best
* practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build,
* and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
*
*
*
*
* -
*
* A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull
* requests to verify that the pull request is a legitimate change. We also recommend that you validate any
* artifacts with their checksums to make sure that the correct artifacts are being downloaded.
*
*
*
*
*
* @param updateProjectVisibilityRequest
* @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 UpdateProjectVisibility operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.UpdateProjectVisibility
* @see AWS API Documentation
*/
java.util.concurrent.Future updateProjectVisibilityAsync(UpdateProjectVisibilityRequest updateProjectVisibilityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a report group.
*
*
* @param updateReportGroupRequest
* @return A Java Future containing the result of the UpdateReportGroup operation returned by the service.
* @sample AWSCodeBuildAsync.UpdateReportGroup
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateReportGroupAsync(UpdateReportGroupRequest updateReportGroupRequest);
/**
*
* Updates a report group.
*
*
* @param updateReportGroupRequest
* @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 UpdateReportGroup operation returned by the service.
* @sample AWSCodeBuildAsyncHandler.UpdateReportGroup
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateReportGroupAsync(UpdateReportGroupRequest updateReportGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the webhook associated with an 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 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);
}