/* * Copyright 2018-2023 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 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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. *
** 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. *
** 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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
* Returns a list of ARNs for the reports that belong to a ReportGroup
.
*
* Returns a list of ARNs for the reports that belong to a ReportGroup
.
*
* 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* 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* 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* 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
* Returns a list of SourceCredentialsInfo
objects.
*
* Returns a list of SourceCredentialsInfo
objects.
*
* Stores a resource policy for the ARN of a Project
or ReportGroup
object.
*
* Stores a resource policy for the ARN of a Project
or ReportGroup
object.
*
* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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, especially Amazon Web Services access key IDs and secret access keys, 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. *
** 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, especially Amazon Web Services access key IDs and secret access keys, 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. *
** 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* 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* Updates the webhook associated with an CodeBuild build project. *
*
* If you use Bitbucket for your repository, rotateSecret
is ignored.
*
* Updates the webhook associated with an CodeBuild build project. *
*
* If you use Bitbucket for your repository, rotateSecret
is ignored.
*