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

software.amazon.awssdk.services.codebuild.CodeBuildAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Code Build module holds the client classes that are used for communicating with AWS Code Build.

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright 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 software.amazon.awssdk.services.codebuild;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.services.codebuild.model.BatchDeleteBuildsRequest;
import software.amazon.awssdk.services.codebuild.model.BatchDeleteBuildsResponse;
import software.amazon.awssdk.services.codebuild.model.BatchGetBuildBatchesRequest;
import software.amazon.awssdk.services.codebuild.model.BatchGetBuildBatchesResponse;
import software.amazon.awssdk.services.codebuild.model.BatchGetBuildsRequest;
import software.amazon.awssdk.services.codebuild.model.BatchGetBuildsResponse;
import software.amazon.awssdk.services.codebuild.model.BatchGetProjectsRequest;
import software.amazon.awssdk.services.codebuild.model.BatchGetProjectsResponse;
import software.amazon.awssdk.services.codebuild.model.BatchGetReportGroupsRequest;
import software.amazon.awssdk.services.codebuild.model.BatchGetReportGroupsResponse;
import software.amazon.awssdk.services.codebuild.model.BatchGetReportsRequest;
import software.amazon.awssdk.services.codebuild.model.BatchGetReportsResponse;
import software.amazon.awssdk.services.codebuild.model.CreateProjectRequest;
import software.amazon.awssdk.services.codebuild.model.CreateProjectResponse;
import software.amazon.awssdk.services.codebuild.model.CreateReportGroupRequest;
import software.amazon.awssdk.services.codebuild.model.CreateReportGroupResponse;
import software.amazon.awssdk.services.codebuild.model.CreateWebhookRequest;
import software.amazon.awssdk.services.codebuild.model.CreateWebhookResponse;
import software.amazon.awssdk.services.codebuild.model.DeleteBuildBatchRequest;
import software.amazon.awssdk.services.codebuild.model.DeleteBuildBatchResponse;
import software.amazon.awssdk.services.codebuild.model.DeleteProjectRequest;
import software.amazon.awssdk.services.codebuild.model.DeleteProjectResponse;
import software.amazon.awssdk.services.codebuild.model.DeleteReportGroupRequest;
import software.amazon.awssdk.services.codebuild.model.DeleteReportGroupResponse;
import software.amazon.awssdk.services.codebuild.model.DeleteReportRequest;
import software.amazon.awssdk.services.codebuild.model.DeleteReportResponse;
import software.amazon.awssdk.services.codebuild.model.DeleteResourcePolicyRequest;
import software.amazon.awssdk.services.codebuild.model.DeleteResourcePolicyResponse;
import software.amazon.awssdk.services.codebuild.model.DeleteSourceCredentialsRequest;
import software.amazon.awssdk.services.codebuild.model.DeleteSourceCredentialsResponse;
import software.amazon.awssdk.services.codebuild.model.DeleteWebhookRequest;
import software.amazon.awssdk.services.codebuild.model.DeleteWebhookResponse;
import software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest;
import software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse;
import software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest;
import software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse;
import software.amazon.awssdk.services.codebuild.model.GetResourcePolicyRequest;
import software.amazon.awssdk.services.codebuild.model.GetResourcePolicyResponse;
import software.amazon.awssdk.services.codebuild.model.ImportSourceCredentialsRequest;
import software.amazon.awssdk.services.codebuild.model.ImportSourceCredentialsResponse;
import software.amazon.awssdk.services.codebuild.model.InvalidateProjectCacheRequest;
import software.amazon.awssdk.services.codebuild.model.InvalidateProjectCacheResponse;
import software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest;
import software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse;
import software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest;
import software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse;
import software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest;
import software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse;
import software.amazon.awssdk.services.codebuild.model.ListBuildsRequest;
import software.amazon.awssdk.services.codebuild.model.ListBuildsResponse;
import software.amazon.awssdk.services.codebuild.model.ListCuratedEnvironmentImagesRequest;
import software.amazon.awssdk.services.codebuild.model.ListCuratedEnvironmentImagesResponse;
import software.amazon.awssdk.services.codebuild.model.ListProjectsRequest;
import software.amazon.awssdk.services.codebuild.model.ListProjectsResponse;
import software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest;
import software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse;
import software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest;
import software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse;
import software.amazon.awssdk.services.codebuild.model.ListReportsRequest;
import software.amazon.awssdk.services.codebuild.model.ListReportsResponse;
import software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest;
import software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse;
import software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest;
import software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse;
import software.amazon.awssdk.services.codebuild.model.ListSourceCredentialsRequest;
import software.amazon.awssdk.services.codebuild.model.ListSourceCredentialsResponse;
import software.amazon.awssdk.services.codebuild.model.PutResourcePolicyRequest;
import software.amazon.awssdk.services.codebuild.model.PutResourcePolicyResponse;
import software.amazon.awssdk.services.codebuild.model.RetryBuildBatchRequest;
import software.amazon.awssdk.services.codebuild.model.RetryBuildBatchResponse;
import software.amazon.awssdk.services.codebuild.model.RetryBuildRequest;
import software.amazon.awssdk.services.codebuild.model.RetryBuildResponse;
import software.amazon.awssdk.services.codebuild.model.StartBuildBatchRequest;
import software.amazon.awssdk.services.codebuild.model.StartBuildBatchResponse;
import software.amazon.awssdk.services.codebuild.model.StartBuildRequest;
import software.amazon.awssdk.services.codebuild.model.StartBuildResponse;
import software.amazon.awssdk.services.codebuild.model.StopBuildBatchRequest;
import software.amazon.awssdk.services.codebuild.model.StopBuildBatchResponse;
import software.amazon.awssdk.services.codebuild.model.StopBuildRequest;
import software.amazon.awssdk.services.codebuild.model.StopBuildResponse;
import software.amazon.awssdk.services.codebuild.model.UpdateProjectRequest;
import software.amazon.awssdk.services.codebuild.model.UpdateProjectResponse;
import software.amazon.awssdk.services.codebuild.model.UpdateReportGroupRequest;
import software.amazon.awssdk.services.codebuild.model.UpdateReportGroupResponse;
import software.amazon.awssdk.services.codebuild.model.UpdateWebhookRequest;
import software.amazon.awssdk.services.codebuild.model.UpdateWebhookResponse;
import software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher;
import software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher;
import software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher;
import software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher;
import software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher;
import software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher;
import software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher;
import software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher;
import software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher;
import software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher;
import software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher;
import software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher;

/**
 * Service client for accessing AWS CodeBuild asynchronously. This can be created using the static {@link #builder()}
 * method.
 *
 * AWS CodeBuild
 * 

* AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit * tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and * scale your own build servers. It provides prepackaged build environments for the most popular programming languages * and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in AWS * CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests. You pay only * for the build time you consume. For more information about AWS CodeBuild, see the AWS CodeBuild User Guide. *

*

* AWS CodeBuild supports these operations: *

*
    *
  • *

    * BatchDeleteBuilds: Deletes one or more builds. *

    *
  • *
  • *

    * BatchGetBuilds: Gets information about one or more builds. *

    *
  • *
  • *

    * BatchGetProjects: Gets information about one or more build projects. A build project defines how * AWS CodeBuild runs a build. This includes information such as where to get the source code to build, the build * environment to use, the build commands to run, and where to store the build output. A build environment is a * representation of operating system, programming language runtime, and tools that AWS CodeBuild uses to run a build. * You can add tags to build projects to help manage your resources and costs. *

    *
  • *
  • *

    * BatchGetReportGroups: Returns an array of report groups. *

    *
  • *
  • *

    * BatchGetReports: Returns an array of reports. *

    *
  • *
  • *

    * CreateProject: Creates a build project. *

    *
  • *
  • *

    * CreateReportGroup: Creates a report group. A report group contains a collection of reports. *

    *
  • *
  • *

    * CreateWebhook: For an existing AWS CodeBuild build project that has its source code stored in a GitHub * or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed * to the repository. *

    *
  • *
  • *

    * DeleteProject: Deletes a build project. *

    *
  • *
  • *

    * DeleteReport: Deletes a report. *

    *
  • *
  • *

    * DeleteReportGroup: Deletes a report group. *

    *
  • *
  • *

    * DeleteResourcePolicy: Deletes a resource policy that is identified by its resource ARN. *

    *
  • *
  • *

    * DeleteSourceCredentials: Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. *

    *
  • *
  • *

    * DeleteWebhook: For an existing AWS CodeBuild build project that has its source code stored in a GitHub * or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to * the repository. *

    *
  • *
  • *

    * DescribeTestCases: Returns a list of details about test cases for a report. *

    *
  • *
  • *

    * GetResourcePolicy: Gets a resource policy that is identified by its resource ARN. *

    *
  • *
  • *

    * ImportSourceCredentials: Imports the source repository credentials for an AWS CodeBuild project that has * its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. *

    *
  • *
  • *

    * InvalidateProjectCache: Resets the cache for a project. *

    *
  • *
  • *

    * ListBuilds: Gets a list of build IDs, with each build ID representing a single build. *

    *
  • *
  • *

    * ListBuildsForProject: Gets a list of build IDs for the specified build project, with each build ID * representing a single build. *

    *
  • *
  • *

    * ListCuratedEnvironmentImages: Gets information about Docker images that are managed by AWS CodeBuild. *

    *
  • *
  • *

    * ListProjects: Gets a list of build project names, with each build project name representing a single * build project. *

    *
  • *
  • *

    * ListReportGroups: Gets a list ARNs for the report groups in the current AWS account. *

    *
  • *
  • *

    * ListReports: Gets a list ARNs for the reports in the current AWS account. *

    *
  • *
  • *

    * ListReportsForReportGroup: Returns a list of ARNs for the reports that belong to a * ReportGroup. *

    *
  • *
  • *

    * ListSharedProjects: Gets a list of ARNs associated with projects shared with the current AWS account or * user. *

    *
  • *
  • *

    * ListSharedReportGroups: Gets a list of ARNs associated with report groups shared with the current AWS * account or user *

    *
  • *
  • *

    * ListSourceCredentials: Returns a list of SourceCredentialsInfo objects. Each * SourceCredentialsInfo object includes the authentication type, token ARN, and type of source provider * for one set of credentials. *

    *
  • *
  • *

    * PutResourcePolicy: Stores a resource policy for the ARN of a Project or * ReportGroup object. *

    *
  • *
  • *

    * StartBuild: Starts running a build. *

    *
  • *
  • *

    * StopBuild: Attempts to stop running a build. *

    *
  • *
  • *

    * UpdateProject: Changes the settings of an existing build project. *

    *
  • *
  • *

    * UpdateReportGroup: Changes a report group. *

    *
  • *
  • *

    * UpdateWebhook: Changes the settings of an existing webhook. *

    *
  • *
*/ @Generated("software.amazon.awssdk:codegen") public interface CodeBuildAsyncClient extends SdkClient { String SERVICE_NAME = "codebuild"; /** * Create a {@link CodeBuildAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static CodeBuildAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link CodeBuildAsyncClient}. */ static CodeBuildAsyncClientBuilder builder() { return new DefaultCodeBuildAsyncClientBuilder(); } /** *

* Deletes one or more builds. *

* * @param batchDeleteBuildsRequest * @return A Java Future containing the result of the BatchDeleteBuilds operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchDeleteBuilds * @see AWS * API Documentation */ default CompletableFuture batchDeleteBuilds(BatchDeleteBuildsRequest batchDeleteBuildsRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes one or more builds. *

*
*

* This is a convenience which creates an instance of the {@link BatchDeleteBuildsRequest.Builder} avoiding the need * to create one manually via {@link BatchDeleteBuildsRequest#builder()} *

* * @param batchDeleteBuildsRequest * A {@link Consumer} that will call methods on {@link BatchDeleteBuildsInput.Builder} to create a request. * @return A Java Future containing the result of the BatchDeleteBuilds operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchDeleteBuilds * @see AWS * API Documentation */ default CompletableFuture batchDeleteBuilds( Consumer batchDeleteBuildsRequest) { return batchDeleteBuilds(BatchDeleteBuildsRequest.builder().applyMutation(batchDeleteBuildsRequest).build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchGetBuildBatches * @see AWS * API Documentation */ default CompletableFuture batchGetBuildBatches( BatchGetBuildBatchesRequest batchGetBuildBatchesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves information about one or more batch builds. *

*
*

* This is a convenience which creates an instance of the {@link BatchGetBuildBatchesRequest.Builder} avoiding the * need to create one manually via {@link BatchGetBuildBatchesRequest#builder()} *

* * @param batchGetBuildBatchesRequest * A {@link Consumer} that will call methods on {@link BatchGetBuildBatchesInput.Builder} to create a * request. * @return A Java Future containing the result of the BatchGetBuildBatches operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchGetBuildBatches * @see AWS * API Documentation */ default CompletableFuture batchGetBuildBatches( Consumer batchGetBuildBatchesRequest) { return batchGetBuildBatches(BatchGetBuildBatchesRequest.builder().applyMutation(batchGetBuildBatchesRequest).build()); } /** *

* Gets information about one or more builds. *

* * @param batchGetBuildsRequest * @return A Java Future containing the result of the BatchGetBuilds operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchGetBuilds * @see AWS API * Documentation */ default CompletableFuture batchGetBuilds(BatchGetBuildsRequest batchGetBuildsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about one or more builds. *

*
*

* This is a convenience which creates an instance of the {@link BatchGetBuildsRequest.Builder} avoiding the need to * create one manually via {@link BatchGetBuildsRequest#builder()} *

* * @param batchGetBuildsRequest * A {@link Consumer} that will call methods on {@link BatchGetBuildsInput.Builder} to create a request. * @return A Java Future containing the result of the BatchGetBuilds operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchGetBuilds * @see AWS API * Documentation */ default CompletableFuture batchGetBuilds(Consumer batchGetBuildsRequest) { return batchGetBuilds(BatchGetBuildsRequest.builder().applyMutation(batchGetBuildsRequest).build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchGetProjects * @see AWS API * Documentation */ default CompletableFuture batchGetProjects(BatchGetProjectsRequest batchGetProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about one or more build projects. *

*
*

* This is a convenience which creates an instance of the {@link BatchGetProjectsRequest.Builder} avoiding the need * to create one manually via {@link BatchGetProjectsRequest#builder()} *

* * @param batchGetProjectsRequest * A {@link Consumer} that will call methods on {@link BatchGetProjectsInput.Builder} to create a request. * @return A Java Future containing the result of the BatchGetProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchGetProjects * @see AWS API * Documentation */ default CompletableFuture batchGetProjects( Consumer batchGetProjectsRequest) { return batchGetProjects(BatchGetProjectsRequest.builder().applyMutation(batchGetProjectsRequest).build()); } /** *

* Returns an array of report groups. *

* * @param batchGetReportGroupsRequest * @return A Java Future containing the result of the BatchGetReportGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchGetReportGroups * @see AWS * API Documentation */ default CompletableFuture batchGetReportGroups( BatchGetReportGroupsRequest batchGetReportGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns an array of report groups. *

*
*

* This is a convenience which creates an instance of the {@link BatchGetReportGroupsRequest.Builder} avoiding the * need to create one manually via {@link BatchGetReportGroupsRequest#builder()} *

* * @param batchGetReportGroupsRequest * A {@link Consumer} that will call methods on {@link BatchGetReportGroupsInput.Builder} to create a * request. * @return A Java Future containing the result of the BatchGetReportGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchGetReportGroups * @see AWS * API Documentation */ default CompletableFuture batchGetReportGroups( Consumer batchGetReportGroupsRequest) { return batchGetReportGroups(BatchGetReportGroupsRequest.builder().applyMutation(batchGetReportGroupsRequest).build()); } /** *

* Returns an array of reports. *

* * @param batchGetReportsRequest * @return A Java Future containing the result of the BatchGetReports operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchGetReports * @see AWS API * Documentation */ default CompletableFuture batchGetReports(BatchGetReportsRequest batchGetReportsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns an array of reports. *

*
*

* This is a convenience which creates an instance of the {@link BatchGetReportsRequest.Builder} avoiding the need * to create one manually via {@link BatchGetReportsRequest#builder()} *

* * @param batchGetReportsRequest * A {@link Consumer} that will call methods on {@link BatchGetReportsInput.Builder} to create a request. * @return A Java Future containing the result of the BatchGetReports operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.BatchGetReports * @see AWS API * Documentation */ default CompletableFuture batchGetReports( Consumer batchGetReportsRequest) { return batchGetReports(BatchGetReportsRequest.builder().applyMutation(batchGetReportsRequest).build()); } /** *

* Creates a build project. *

* * @param createProjectRequest * @return A Java Future containing the result of the CreateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceAlreadyExistsException The specified AWS resource cannot be created, because an AWS resource * with the same settings already exists.
  • *
  • AccountLimitExceededException An AWS service limit was exceeded for the calling AWS account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.CreateProject * @see AWS API * Documentation */ default CompletableFuture createProject(CreateProjectRequest createProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a build project. *

*
*

* This is a convenience which creates an instance of the {@link CreateProjectRequest.Builder} avoiding the need to * create one manually via {@link CreateProjectRequest#builder()} *

* * @param createProjectRequest * A {@link Consumer} that will call methods on {@link CreateProjectInput.Builder} to create a request. * @return A Java Future containing the result of the CreateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceAlreadyExistsException The specified AWS resource cannot be created, because an AWS resource * with the same settings already exists.
  • *
  • AccountLimitExceededException An AWS service limit was exceeded for the calling AWS account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.CreateProject * @see AWS API * Documentation */ default CompletableFuture createProject(Consumer createProjectRequest) { return createProject(CreateProjectRequest.builder().applyMutation(createProjectRequest).build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceAlreadyExistsException The specified AWS resource cannot be created, because an AWS resource * with the same settings already exists.
  • *
  • AccountLimitExceededException An AWS service limit was exceeded for the calling AWS account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.CreateReportGroup * @see AWS * API Documentation */ default CompletableFuture createReportGroup(CreateReportGroupRequest createReportGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a report group. A report group contains a collection of reports. *

*
*

* This is a convenience which creates an instance of the {@link CreateReportGroupRequest.Builder} avoiding the need * to create one manually via {@link CreateReportGroupRequest#builder()} *

* * @param createReportGroupRequest * A {@link Consumer} that will call methods on {@link CreateReportGroupInput.Builder} to create a request. * @return A Java Future containing the result of the CreateReportGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceAlreadyExistsException The specified AWS resource cannot be created, because an AWS resource * with the same settings already exists.
  • *
  • AccountLimitExceededException An AWS service limit was exceeded for the calling AWS account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.CreateReportGroup * @see AWS * API Documentation */ default CompletableFuture createReportGroup( Consumer createReportGroupRequest) { return createReportGroup(CreateReportGroupRequest.builder().applyMutation(createReportGroupRequest).build()); } /** *

* For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, * enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. *

* *

* If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, * then two identical builds are created for each commit. One build is triggered through webhooks, and one through * AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are * using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, * clear the Webhook box. For more information, see step 5 in Change a * Build Project's Settings. *

*
* * @param createWebhookRequest * @return A Java Future containing the result of the CreateWebhook operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • OAuthProviderException There was a problem with the underlying OAuth provider.
  • *
  • ResourceAlreadyExistsException The specified AWS resource cannot be created, because an AWS resource * with the same settings already exists.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.CreateWebhook * @see AWS API * Documentation */ default CompletableFuture createWebhook(CreateWebhookRequest createWebhookRequest) { throw new UnsupportedOperationException(); } /** *

* For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, * enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. *

* *

* If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, * then two identical builds are created for each commit. One build is triggered through webhooks, and one through * AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are * using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, * clear the Webhook box. For more information, see step 5 in Change a * Build Project's Settings. *

*

*

* This is a convenience which creates an instance of the {@link CreateWebhookRequest.Builder} avoiding the need to * create one manually via {@link CreateWebhookRequest#builder()} *

* * @param createWebhookRequest * A {@link Consumer} that will call methods on {@link CreateWebhookInput.Builder} to create a request. * @return A Java Future containing the result of the CreateWebhook operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • OAuthProviderException There was a problem with the underlying OAuth provider.
  • *
  • ResourceAlreadyExistsException The specified AWS resource cannot be created, because an AWS resource * with the same settings already exists.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.CreateWebhook * @see AWS API * Documentation */ default CompletableFuture createWebhook(Consumer createWebhookRequest) { return createWebhook(CreateWebhookRequest.builder().applyMutation(createWebhookRequest).build()); } /** *

* Deletes a batch build. *

* * @param deleteBuildBatchRequest * @return A Java Future containing the result of the DeleteBuildBatch operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteBuildBatch * @see AWS API * Documentation */ default CompletableFuture deleteBuildBatch(DeleteBuildBatchRequest deleteBuildBatchRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a batch build. *

*
*

* This is a convenience which creates an instance of the {@link DeleteBuildBatchRequest.Builder} avoiding the need * to create one manually via {@link DeleteBuildBatchRequest#builder()} *

* * @param deleteBuildBatchRequest * A {@link Consumer} that will call methods on {@link DeleteBuildBatchInput.Builder} to create a request. * @return A Java Future containing the result of the DeleteBuildBatch operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteBuildBatch * @see AWS API * Documentation */ default CompletableFuture deleteBuildBatch( Consumer deleteBuildBatchRequest) { return deleteBuildBatch(DeleteBuildBatchRequest.builder().applyMutation(deleteBuildBatchRequest).build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteProject * @see AWS API * Documentation */ default CompletableFuture deleteProject(DeleteProjectRequest deleteProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a build project. When you delete a project, its builds are not deleted. *

*
*

* This is a convenience which creates an instance of the {@link DeleteProjectRequest.Builder} avoiding the need to * create one manually via {@link DeleteProjectRequest#builder()} *

* * @param deleteProjectRequest * A {@link Consumer} that will call methods on {@link DeleteProjectInput.Builder} to create a request. * @return A Java Future containing the result of the DeleteProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteProject * @see AWS API * Documentation */ default CompletableFuture deleteProject(Consumer deleteProjectRequest) { return deleteProject(DeleteProjectRequest.builder().applyMutation(deleteProjectRequest).build()); } /** *

* Deletes a report. *

* * @param deleteReportRequest * @return A Java Future containing the result of the DeleteReport operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteReport * @see AWS API * Documentation */ default CompletableFuture deleteReport(DeleteReportRequest deleteReportRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a report. *

*
*

* This is a convenience which creates an instance of the {@link DeleteReportRequest.Builder} avoiding the need to * create one manually via {@link DeleteReportRequest#builder()} *

* * @param deleteReportRequest * A {@link Consumer} that will call methods on {@link DeleteReportInput.Builder} to create a request. * @return A Java Future containing the result of the DeleteReport operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteReport * @see AWS API * Documentation */ default CompletableFuture deleteReport(Consumer deleteReportRequest) { return deleteReport(DeleteReportRequest.builder().applyMutation(deleteReportRequest).build()); } /** *

* DeleteReportGroup: Deletes a report group. Before you delete a report group, you must delete its * reports. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete * the reports. If you call DeleteReportGroup for a report group that contains one or more reports, an * exception is thrown. *

* * @param deleteReportGroupRequest * @return A Java Future containing the result of the DeleteReportGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteReportGroup * @see AWS * API Documentation */ default CompletableFuture deleteReportGroup(DeleteReportGroupRequest deleteReportGroupRequest) { throw new UnsupportedOperationException(); } /** *

* DeleteReportGroup: Deletes a report group. Before you delete a report group, you must delete its * reports. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete * the reports. If you call DeleteReportGroup for a report group that contains one or more reports, an * exception is thrown. *

*
*

* This is a convenience which creates an instance of the {@link DeleteReportGroupRequest.Builder} avoiding the need * to create one manually via {@link DeleteReportGroupRequest#builder()} *

* * @param deleteReportGroupRequest * A {@link Consumer} that will call methods on {@link DeleteReportGroupInput.Builder} to create a request. * @return A Java Future containing the result of the DeleteReportGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteReportGroup * @see AWS * API Documentation */ default CompletableFuture deleteReportGroup( Consumer deleteReportGroupRequest) { return deleteReportGroup(DeleteReportGroupRequest.builder().applyMutation(deleteReportGroupRequest).build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteResourcePolicy * @see AWS * API Documentation */ default CompletableFuture deleteResourcePolicy( DeleteResourcePolicyRequest deleteResourcePolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a resource policy that is identified by its resource ARN. *

*
*

* This is a convenience which creates an instance of the {@link DeleteResourcePolicyRequest.Builder} avoiding the * need to create one manually via {@link DeleteResourcePolicyRequest#builder()} *

* * @param deleteResourcePolicyRequest * A {@link Consumer} that will call methods on {@link DeleteResourcePolicyInput.Builder} to create a * request. * @return A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteResourcePolicy * @see AWS * API Documentation */ default CompletableFuture deleteResourcePolicy( Consumer deleteResourcePolicyRequest) { return deleteResourcePolicy(DeleteResourcePolicyRequest.builder().applyMutation(deleteResourcePolicyRequest).build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteSourceCredentials * @see AWS API Documentation */ default CompletableFuture deleteSourceCredentials( DeleteSourceCredentialsRequest deleteSourceCredentialsRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. *

*
*

* This is a convenience which creates an instance of the {@link DeleteSourceCredentialsRequest.Builder} avoiding * the need to create one manually via {@link DeleteSourceCredentialsRequest#builder()} *

* * @param deleteSourceCredentialsRequest * A {@link Consumer} that will call methods on {@link DeleteSourceCredentialsInput.Builder} to create a * request. * @return A Java Future containing the result of the DeleteSourceCredentials operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteSourceCredentials * @see AWS API Documentation */ default CompletableFuture deleteSourceCredentials( Consumer deleteSourceCredentialsRequest) { return deleteSourceCredentials(DeleteSourceCredentialsRequest.builder().applyMutation(deleteSourceCredentialsRequest) .build()); } /** *

* For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, * stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository. *

* * @param deleteWebhookRequest * @return A Java Future containing the result of the DeleteWebhook operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • OAuthProviderException There was a problem with the underlying OAuth provider.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteWebhook * @see AWS API * Documentation */ default CompletableFuture deleteWebhook(DeleteWebhookRequest deleteWebhookRequest) { throw new UnsupportedOperationException(); } /** *

* For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, * stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository. *

*
*

* This is a convenience which creates an instance of the {@link DeleteWebhookRequest.Builder} avoiding the need to * create one manually via {@link DeleteWebhookRequest#builder()} *

* * @param deleteWebhookRequest * A {@link Consumer} that will call methods on {@link DeleteWebhookInput.Builder} to create a request. * @return A Java Future containing the result of the DeleteWebhook operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • OAuthProviderException There was a problem with the underlying OAuth provider.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DeleteWebhook * @see AWS API * Documentation */ default CompletableFuture deleteWebhook(Consumer deleteWebhookRequest) { return deleteWebhook(DeleteWebhookRequest.builder().applyMutation(deleteWebhookRequest).build()); } /** *

* Retrieves one or more code coverage reports. *

* * @param describeCodeCoveragesRequest * @return A Java Future containing the result of the DescribeCodeCoverages operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DescribeCodeCoverages * @see AWS API Documentation */ default CompletableFuture describeCodeCoverages( DescribeCodeCoveragesRequest describeCodeCoveragesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves one or more code coverage reports. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCodeCoveragesRequest.Builder} avoiding the * need to create one manually via {@link DescribeCodeCoveragesRequest#builder()} *

* * @param describeCodeCoveragesRequest * A {@link Consumer} that will call methods on {@link DescribeCodeCoveragesInput.Builder} to create a * request. * @return A Java Future containing the result of the DescribeCodeCoverages operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DescribeCodeCoverages * @see AWS API Documentation */ default CompletableFuture describeCodeCoverages( Consumer describeCodeCoveragesRequest) { return describeCodeCoverages(DescribeCodeCoveragesRequest.builder().applyMutation(describeCodeCoveragesRequest).build()); } /** *

* Retrieves one or more code coverage reports. *

*
*

* This is a variant of * {@link #describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)} * operation. *

* * @param describeCodeCoveragesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DescribeCodeCoverages * @see AWS API Documentation */ default DescribeCodeCoveragesPublisher describeCodeCoveragesPaginator( DescribeCodeCoveragesRequest describeCodeCoveragesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves one or more code coverage reports. *

*
*

* This is a variant of * {@link #describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link DescribeCodeCoveragesRequest.Builder} avoiding the * need to create one manually via {@link DescribeCodeCoveragesRequest#builder()} *

* * @param describeCodeCoveragesRequest * A {@link Consumer} that will call methods on {@link DescribeCodeCoveragesInput.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DescribeCodeCoverages * @see AWS API Documentation */ default DescribeCodeCoveragesPublisher describeCodeCoveragesPaginator( Consumer describeCodeCoveragesRequest) { return describeCodeCoveragesPaginator(DescribeCodeCoveragesRequest.builder().applyMutation(describeCodeCoveragesRequest) .build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DescribeTestCases * @see AWS * API Documentation */ default CompletableFuture describeTestCases(DescribeTestCasesRequest describeTestCasesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of details about test cases for a report. *

*
*

* This is a convenience which creates an instance of the {@link DescribeTestCasesRequest.Builder} avoiding the need * to create one manually via {@link DescribeTestCasesRequest#builder()} *

* * @param describeTestCasesRequest * A {@link Consumer} that will call methods on {@link DescribeTestCasesInput.Builder} to create a request. * @return A Java Future containing the result of the DescribeTestCases operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DescribeTestCases * @see AWS * API Documentation */ default CompletableFuture describeTestCases( Consumer describeTestCasesRequest) { return describeTestCases(DescribeTestCasesRequest.builder().applyMutation(describeTestCasesRequest).build()); } /** *

* Returns a list of details about test cases for a report. *

*
*

* This is a variant of * {@link #describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)} * operation. *

* * @param describeTestCasesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DescribeTestCases * @see AWS * API Documentation */ default DescribeTestCasesPublisher describeTestCasesPaginator(DescribeTestCasesRequest describeTestCasesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of details about test cases for a report. *

*
*

* This is a variant of * {@link #describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link DescribeTestCasesRequest.Builder} avoiding the need * to create one manually via {@link DescribeTestCasesRequest#builder()} *

* * @param describeTestCasesRequest * A {@link Consumer} that will call methods on {@link DescribeTestCasesInput.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.DescribeTestCases * @see AWS * API Documentation */ default DescribeTestCasesPublisher describeTestCasesPaginator( Consumer describeTestCasesRequest) { return describeTestCasesPaginator(DescribeTestCasesRequest.builder().applyMutation(describeTestCasesRequest).build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.GetResourcePolicy * @see AWS * API Documentation */ default CompletableFuture getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a resource policy that is identified by its resource ARN. *

*
*

* This is a convenience which creates an instance of the {@link GetResourcePolicyRequest.Builder} avoiding the need * to create one manually via {@link GetResourcePolicyRequest#builder()} *

* * @param getResourcePolicyRequest * A {@link Consumer} that will call methods on {@link GetResourcePolicyInput.Builder} to create a request. * @return A Java Future containing the result of the GetResourcePolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.GetResourcePolicy * @see AWS * API Documentation */ default CompletableFuture getResourcePolicy( Consumer getResourcePolicyRequest) { return getResourcePolicy(GetResourcePolicyRequest.builder().applyMutation(getResourcePolicyRequest).build()); } /** *

* Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a * GitHub, GitHub Enterprise, or Bitbucket repository. *

* * @param importSourceCredentialsRequest * @return A Java Future containing the result of the ImportSourceCredentials operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • AccountLimitExceededException An AWS service limit was exceeded for the calling AWS account.
  • *
  • ResourceAlreadyExistsException The specified AWS resource cannot be created, because an AWS resource * with the same settings already exists.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ImportSourceCredentials * @see AWS API Documentation */ default CompletableFuture importSourceCredentials( ImportSourceCredentialsRequest importSourceCredentialsRequest) { throw new UnsupportedOperationException(); } /** *

* Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a * GitHub, GitHub Enterprise, or Bitbucket repository. *

*
*

* This is a convenience which creates an instance of the {@link ImportSourceCredentialsRequest.Builder} avoiding * the need to create one manually via {@link ImportSourceCredentialsRequest#builder()} *

* * @param importSourceCredentialsRequest * A {@link Consumer} that will call methods on {@link ImportSourceCredentialsInput.Builder} to create a * request. * @return A Java Future containing the result of the ImportSourceCredentials operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • AccountLimitExceededException An AWS service limit was exceeded for the calling AWS account.
  • *
  • ResourceAlreadyExistsException The specified AWS resource cannot be created, because an AWS resource * with the same settings already exists.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ImportSourceCredentials * @see AWS API Documentation */ default CompletableFuture importSourceCredentials( Consumer importSourceCredentialsRequest) { return importSourceCredentials(ImportSourceCredentialsRequest.builder().applyMutation(importSourceCredentialsRequest) .build()); } /** *

* Resets the cache for a project. *

* * @param invalidateProjectCacheRequest * @return A Java Future containing the result of the InvalidateProjectCache operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.InvalidateProjectCache * @see AWS API Documentation */ default CompletableFuture invalidateProjectCache( InvalidateProjectCacheRequest invalidateProjectCacheRequest) { throw new UnsupportedOperationException(); } /** *

* Resets the cache for a project. *

*
*

* This is a convenience which creates an instance of the {@link InvalidateProjectCacheRequest.Builder} avoiding the * need to create one manually via {@link InvalidateProjectCacheRequest#builder()} *

* * @param invalidateProjectCacheRequest * A {@link Consumer} that will call methods on {@link InvalidateProjectCacheInput.Builder} to create a * request. * @return A Java Future containing the result of the InvalidateProjectCache operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.InvalidateProjectCache * @see AWS API Documentation */ default CompletableFuture invalidateProjectCache( Consumer invalidateProjectCacheRequest) { return invalidateProjectCache(InvalidateProjectCacheRequest.builder().applyMutation(invalidateProjectCacheRequest) .build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildBatches * @see AWS API * Documentation */ default CompletableFuture listBuildBatches(ListBuildBatchesRequest listBuildBatchesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the identifiers of your build batches in the current region. *

*
*

* This is a convenience which creates an instance of the {@link ListBuildBatchesRequest.Builder} avoiding the need * to create one manually via {@link ListBuildBatchesRequest#builder()} *

* * @param listBuildBatchesRequest * A {@link Consumer} that will call methods on {@link ListBuildBatchesInput.Builder} to create a request. * @return A Java Future containing the result of the ListBuildBatches operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildBatches * @see AWS API * Documentation */ default CompletableFuture listBuildBatches( Consumer listBuildBatchesRequest) { return listBuildBatches(ListBuildBatchesRequest.builder().applyMutation(listBuildBatchesRequest).build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildBatchesForProject * @see AWS API Documentation */ default CompletableFuture listBuildBatchesForProject( ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the identifiers of the build batches for a specific project. *

*
*

* This is a convenience which creates an instance of the {@link ListBuildBatchesForProjectRequest.Builder} avoiding * the need to create one manually via {@link ListBuildBatchesForProjectRequest#builder()} *

* * @param listBuildBatchesForProjectRequest * A {@link Consumer} that will call methods on {@link ListBuildBatchesForProjectInput.Builder} to create a * request. * @return A Java Future containing the result of the ListBuildBatchesForProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildBatchesForProject * @see AWS API Documentation */ default CompletableFuture listBuildBatchesForProject( Consumer listBuildBatchesForProjectRequest) { return listBuildBatchesForProject(ListBuildBatchesForProjectRequest.builder() .applyMutation(listBuildBatchesForProjectRequest).build()); } /** *

* Retrieves the identifiers of the build batches for a specific project. *

*
*

* This is a variant of * {@link #listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)} * operation. *

* * @param listBuildBatchesForProjectRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildBatchesForProject * @see AWS API Documentation */ default ListBuildBatchesForProjectPublisher listBuildBatchesForProjectPaginator( ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the identifiers of the build batches for a specific project. *

*
*

* This is a variant of * {@link #listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListBuildBatchesForProjectRequest.Builder} avoiding * the need to create one manually via {@link ListBuildBatchesForProjectRequest#builder()} *

* * @param listBuildBatchesForProjectRequest * A {@link Consumer} that will call methods on {@link ListBuildBatchesForProjectInput.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildBatchesForProject * @see AWS API Documentation */ default ListBuildBatchesForProjectPublisher listBuildBatchesForProjectPaginator( Consumer listBuildBatchesForProjectRequest) { return listBuildBatchesForProjectPaginator(ListBuildBatchesForProjectRequest.builder() .applyMutation(listBuildBatchesForProjectRequest).build()); } /** *

* Retrieves the identifiers of your build batches in the current region. *

*
*

* This is a variant of * {@link #listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)} operation. *

* * @param listBuildBatchesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildBatches * @see AWS API * Documentation */ default ListBuildBatchesPublisher listBuildBatchesPaginator(ListBuildBatchesRequest listBuildBatchesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the identifiers of your build batches in the current region. *

*
*

* This is a variant of * {@link #listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListBuildBatchesRequest.Builder} avoiding the need * to create one manually via {@link ListBuildBatchesRequest#builder()} *

* * @param listBuildBatchesRequest * A {@link Consumer} that will call methods on {@link ListBuildBatchesInput.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildBatches * @see AWS API * Documentation */ default ListBuildBatchesPublisher listBuildBatchesPaginator(Consumer listBuildBatchesRequest) { return listBuildBatchesPaginator(ListBuildBatchesRequest.builder().applyMutation(listBuildBatchesRequest).build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuilds * @see AWS API * Documentation */ default CompletableFuture listBuilds(ListBuildsRequest listBuildsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of build IDs, with each build ID representing a single build. *

*
*

* This is a convenience which creates an instance of the {@link ListBuildsRequest.Builder} avoiding the need to * create one manually via {@link ListBuildsRequest#builder()} *

* * @param listBuildsRequest * A {@link Consumer} that will call methods on {@link ListBuildsInput.Builder} to create a request. * @return A Java Future containing the result of the ListBuilds operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuilds * @see AWS API * Documentation */ default CompletableFuture listBuilds(Consumer listBuildsRequest) { return listBuilds(ListBuildsRequest.builder().applyMutation(listBuildsRequest).build()); } /** *

* Gets a list of build IDs, with each build ID representing a single build. *

* * @return A Java Future containing the result of the ListBuilds operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuilds * @see AWS API * Documentation */ default CompletableFuture listBuilds() { return listBuilds(ListBuildsRequest.builder().build()); } /** *

* Gets a list of build IDs for the specified build project, with each build ID representing a single build. *

* * @param listBuildsForProjectRequest * @return A Java Future containing the result of the ListBuildsForProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildsForProject * @see AWS * API Documentation */ default CompletableFuture listBuildsForProject( ListBuildsForProjectRequest listBuildsForProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of build IDs for the specified build project, with each build ID representing a single build. *

*
*

* This is a convenience which creates an instance of the {@link ListBuildsForProjectRequest.Builder} avoiding the * need to create one manually via {@link ListBuildsForProjectRequest#builder()} *

* * @param listBuildsForProjectRequest * A {@link Consumer} that will call methods on {@link ListBuildsForProjectInput.Builder} to create a * request. * @return A Java Future containing the result of the ListBuildsForProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildsForProject * @see AWS * API Documentation */ default CompletableFuture listBuildsForProject( Consumer listBuildsForProjectRequest) { return listBuildsForProject(ListBuildsForProjectRequest.builder().applyMutation(listBuildsForProjectRequest).build()); } /** *

* Gets a list of build IDs for the specified build project, with each build ID representing a single build. *

*
*

* This is a variant of * {@link #listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)} * operation. *

* * @param listBuildsForProjectRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildsForProject * @see AWS * API Documentation */ default ListBuildsForProjectPublisher listBuildsForProjectPaginator(ListBuildsForProjectRequest listBuildsForProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of build IDs for the specified build project, with each build ID representing a single build. *

*
*

* This is a variant of * {@link #listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListBuildsForProjectRequest.Builder} avoiding the * need to create one manually via {@link ListBuildsForProjectRequest#builder()} *

* * @param listBuildsForProjectRequest * A {@link Consumer} that will call methods on {@link ListBuildsForProjectInput.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuildsForProject * @see AWS * API Documentation */ default ListBuildsForProjectPublisher listBuildsForProjectPaginator( Consumer listBuildsForProjectRequest) { return listBuildsForProjectPaginator(ListBuildsForProjectRequest.builder().applyMutation(listBuildsForProjectRequest) .build()); } /** *

* Gets a list of build IDs, with each build ID representing a single build. *

*
*

* This is a variant of {@link #listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuilds * @see AWS API * Documentation */ default ListBuildsPublisher listBuildsPaginator() { return listBuildsPaginator(ListBuildsRequest.builder().build()); } /** *

* Gets a list of build IDs, with each build ID representing a single build. *

*
*

* This is a variant of {@link #listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)} operation. *

* * @param listBuildsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuilds * @see AWS API * Documentation */ default ListBuildsPublisher listBuildsPaginator(ListBuildsRequest listBuildsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of build IDs, with each build ID representing a single build. *

*
*

* This is a variant of {@link #listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListBuildsRequest.Builder} avoiding the need to * create one manually via {@link ListBuildsRequest#builder()} *

* * @param listBuildsRequest * A {@link Consumer} that will call methods on {@link ListBuildsInput.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListBuilds * @see AWS API * Documentation */ default ListBuildsPublisher listBuildsPaginator(Consumer listBuildsRequest) { return listBuildsPaginator(ListBuildsRequest.builder().applyMutation(listBuildsRequest).build()); } /** *

* Gets information about Docker images that are managed by AWS CodeBuild. *

* * @param listCuratedEnvironmentImagesRequest * @return A Java Future containing the result of the ListCuratedEnvironmentImages operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListCuratedEnvironmentImages * @see AWS API Documentation */ default CompletableFuture listCuratedEnvironmentImages( ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about Docker images that are managed by AWS CodeBuild. *

*
*

* This is a convenience which creates an instance of the {@link ListCuratedEnvironmentImagesRequest.Builder} * avoiding the need to create one manually via {@link ListCuratedEnvironmentImagesRequest#builder()} *

* * @param listCuratedEnvironmentImagesRequest * A {@link Consumer} that will call methods on {@link ListCuratedEnvironmentImagesInput.Builder} to create a * request. * @return A Java Future containing the result of the ListCuratedEnvironmentImages operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListCuratedEnvironmentImages * @see AWS API Documentation */ default CompletableFuture listCuratedEnvironmentImages( Consumer listCuratedEnvironmentImagesRequest) { return listCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest.builder() .applyMutation(listCuratedEnvironmentImagesRequest).build()); } /** *

* Gets information about Docker images that are managed by AWS CodeBuild. *

* * @return A Java Future containing the result of the ListCuratedEnvironmentImages operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListCuratedEnvironmentImages * @see AWS API Documentation */ default CompletableFuture listCuratedEnvironmentImages() { return listCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest.builder().build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListProjects * @see AWS API * Documentation */ default CompletableFuture listProjects(ListProjectsRequest listProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of build project names, with each build project name representing a single build project. *

*
*

* This is a convenience which creates an instance of the {@link ListProjectsRequest.Builder} avoiding the need to * create one manually via {@link ListProjectsRequest#builder()} *

* * @param listProjectsRequest * A {@link Consumer} that will call methods on {@link ListProjectsInput.Builder} to create a request. * @return A Java Future containing the result of the ListProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListProjects * @see AWS API * Documentation */ default CompletableFuture listProjects(Consumer listProjectsRequest) { return listProjects(ListProjectsRequest.builder().applyMutation(listProjectsRequest).build()); } /** *

* Gets a list of build project names, with each build project name representing a single build project. *

* * @return A Java Future containing the result of the ListProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListProjects * @see AWS API * Documentation */ default CompletableFuture listProjects() { return listProjects(ListProjectsRequest.builder().build()); } /** *

* Gets a list of build project names, with each build project name representing a single build project. *

*
*

* This is a variant of {@link #listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListProjects * @see AWS API * Documentation */ default ListProjectsPublisher listProjectsPaginator() { return listProjectsPaginator(ListProjectsRequest.builder().build()); } /** *

* Gets a list of build project names, with each build project name representing a single build project. *

*
*

* This is a variant of {@link #listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)} operation. *

* * @param listProjectsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListProjects * @see AWS API * Documentation */ default ListProjectsPublisher listProjectsPaginator(ListProjectsRequest listProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of build project names, with each build project name representing a single build project. *

*
*

* This is a variant of {@link #listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListProjectsRequest.Builder} avoiding the need to * create one manually via {@link ListProjectsRequest#builder()} *

* * @param listProjectsRequest * A {@link Consumer} that will call methods on {@link ListProjectsInput.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListProjects * @see AWS API * Documentation */ default ListProjectsPublisher listProjectsPaginator(Consumer listProjectsRequest) { return listProjectsPaginator(ListProjectsRequest.builder().applyMutation(listProjectsRequest).build()); } /** *

* Gets a list ARNs for the report groups in the current AWS account. *

* * @param listReportGroupsRequest * @return A Java Future containing the result of the ListReportGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReportGroups * @see AWS API * Documentation */ default CompletableFuture listReportGroups(ListReportGroupsRequest listReportGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list ARNs for the report groups in the current AWS account. *

*
*

* This is a convenience which creates an instance of the {@link ListReportGroupsRequest.Builder} avoiding the need * to create one manually via {@link ListReportGroupsRequest#builder()} *

* * @param listReportGroupsRequest * A {@link Consumer} that will call methods on {@link ListReportGroupsInput.Builder} to create a request. * @return A Java Future containing the result of the ListReportGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReportGroups * @see AWS API * Documentation */ default CompletableFuture listReportGroups( Consumer listReportGroupsRequest) { return listReportGroups(ListReportGroupsRequest.builder().applyMutation(listReportGroupsRequest).build()); } /** *

* Gets a list ARNs for the report groups in the current AWS account. *

*
*

* This is a variant of * {@link #listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)} operation. *

* * @param listReportGroupsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReportGroups * @see AWS API * Documentation */ default ListReportGroupsPublisher listReportGroupsPaginator(ListReportGroupsRequest listReportGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list ARNs for the report groups in the current AWS account. *

*
*

* This is a variant of * {@link #listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListReportGroupsRequest.Builder} avoiding the need * to create one manually via {@link ListReportGroupsRequest#builder()} *

* * @param listReportGroupsRequest * A {@link Consumer} that will call methods on {@link ListReportGroupsInput.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReportGroups * @see AWS API * Documentation */ default ListReportGroupsPublisher listReportGroupsPaginator(Consumer listReportGroupsRequest) { return listReportGroupsPaginator(ListReportGroupsRequest.builder().applyMutation(listReportGroupsRequest).build()); } /** *

* Returns a list of ARNs for the reports in the current AWS account. *

* * @param listReportsRequest * @return A Java Future containing the result of the ListReports operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReports * @see AWS API * Documentation */ default CompletableFuture listReports(ListReportsRequest listReportsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of ARNs for the reports in the current AWS account. *

*
*

* This is a convenience which creates an instance of the {@link ListReportsRequest.Builder} avoiding the need to * create one manually via {@link ListReportsRequest#builder()} *

* * @param listReportsRequest * A {@link Consumer} that will call methods on {@link ListReportsInput.Builder} to create a request. * @return A Java Future containing the result of the ListReports operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReports * @see AWS API * Documentation */ default CompletableFuture listReports(Consumer listReportsRequest) { return listReports(ListReportsRequest.builder().applyMutation(listReportsRequest).build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReportsForReportGroup * @see AWS API Documentation */ default CompletableFuture listReportsForReportGroup( ListReportsForReportGroupRequest listReportsForReportGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of ARNs for the reports that belong to a ReportGroup. *

*
*

* This is a convenience which creates an instance of the {@link ListReportsForReportGroupRequest.Builder} avoiding * the need to create one manually via {@link ListReportsForReportGroupRequest#builder()} *

* * @param listReportsForReportGroupRequest * A {@link Consumer} that will call methods on {@link ListReportsForReportGroupInput.Builder} to create a * request. * @return A Java Future containing the result of the ListReportsForReportGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReportsForReportGroup * @see AWS API Documentation */ default CompletableFuture listReportsForReportGroup( Consumer listReportsForReportGroupRequest) { return listReportsForReportGroup(ListReportsForReportGroupRequest.builder() .applyMutation(listReportsForReportGroupRequest).build()); } /** *

* Returns a list of ARNs for the reports that belong to a ReportGroup. *

*
*

* This is a variant of * {@link #listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)} * operation. *

* * @param listReportsForReportGroupRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReportsForReportGroup * @see AWS API Documentation */ default ListReportsForReportGroupPublisher listReportsForReportGroupPaginator( ListReportsForReportGroupRequest listReportsForReportGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of ARNs for the reports that belong to a ReportGroup. *

*
*

* This is a variant of * {@link #listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListReportsForReportGroupRequest.Builder} avoiding * the need to create one manually via {@link ListReportsForReportGroupRequest#builder()} *

* * @param listReportsForReportGroupRequest * A {@link Consumer} that will call methods on {@link ListReportsForReportGroupInput.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReportsForReportGroup * @see AWS API Documentation */ default ListReportsForReportGroupPublisher listReportsForReportGroupPaginator( Consumer listReportsForReportGroupRequest) { return listReportsForReportGroupPaginator(ListReportsForReportGroupRequest.builder() .applyMutation(listReportsForReportGroupRequest).build()); } /** *

* Returns a list of ARNs for the reports in the current AWS account. *

*
*

* This is a variant of {@link #listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)} operation. *

* * @param listReportsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReports * @see AWS API * Documentation */ default ListReportsPublisher listReportsPaginator(ListReportsRequest listReportsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of ARNs for the reports in the current AWS account. *

*
*

* This is a variant of {@link #listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListReportsRequest.Builder} avoiding the need to * create one manually via {@link ListReportsRequest#builder()} *

* * @param listReportsRequest * A {@link Consumer} that will call methods on {@link ListReportsInput.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListReports * @see AWS API * Documentation */ default ListReportsPublisher listReportsPaginator(Consumer listReportsRequest) { return listReportsPaginator(ListReportsRequest.builder().applyMutation(listReportsRequest).build()); } /** *

* Gets a list of projects that are shared with other AWS accounts or users. *

* * @param listSharedProjectsRequest * @return A Java Future containing the result of the ListSharedProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSharedProjects * @see AWS * API Documentation */ default CompletableFuture listSharedProjects(ListSharedProjectsRequest listSharedProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of projects that are shared with other AWS accounts or users. *

*
*

* This is a convenience which creates an instance of the {@link ListSharedProjectsRequest.Builder} avoiding the * need to create one manually via {@link ListSharedProjectsRequest#builder()} *

* * @param listSharedProjectsRequest * A {@link Consumer} that will call methods on {@link ListSharedProjectsInput.Builder} to create a request. * @return A Java Future containing the result of the ListSharedProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSharedProjects * @see AWS * API Documentation */ default CompletableFuture listSharedProjects( Consumer listSharedProjectsRequest) { return listSharedProjects(ListSharedProjectsRequest.builder().applyMutation(listSharedProjectsRequest).build()); } /** *

* Gets a list of projects that are shared with other AWS accounts or users. *

*
*

* This is a variant of * {@link #listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)} * operation. *

* * @param listSharedProjectsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSharedProjects * @see AWS * API Documentation */ default ListSharedProjectsPublisher listSharedProjectsPaginator(ListSharedProjectsRequest listSharedProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of projects that are shared with other AWS accounts or users. *

*
*

* This is a variant of * {@link #listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListSharedProjectsRequest.Builder} avoiding the * need to create one manually via {@link ListSharedProjectsRequest#builder()} *

* * @param listSharedProjectsRequest * A {@link Consumer} that will call methods on {@link ListSharedProjectsInput.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSharedProjects * @see AWS * API Documentation */ default ListSharedProjectsPublisher listSharedProjectsPaginator( Consumer listSharedProjectsRequest) { return listSharedProjectsPaginator(ListSharedProjectsRequest.builder().applyMutation(listSharedProjectsRequest).build()); } /** *

* Gets a list of report groups that are shared with other AWS accounts or users. *

* * @param listSharedReportGroupsRequest * @return A Java Future containing the result of the ListSharedReportGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSharedReportGroups * @see AWS API Documentation */ default CompletableFuture listSharedReportGroups( ListSharedReportGroupsRequest listSharedReportGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of report groups that are shared with other AWS accounts or users. *

*
*

* This is a convenience which creates an instance of the {@link ListSharedReportGroupsRequest.Builder} avoiding the * need to create one manually via {@link ListSharedReportGroupsRequest#builder()} *

* * @param listSharedReportGroupsRequest * A {@link Consumer} that will call methods on {@link ListSharedReportGroupsInput.Builder} to create a * request. * @return A Java Future containing the result of the ListSharedReportGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSharedReportGroups * @see AWS API Documentation */ default CompletableFuture listSharedReportGroups( Consumer listSharedReportGroupsRequest) { return listSharedReportGroups(ListSharedReportGroupsRequest.builder().applyMutation(listSharedReportGroupsRequest) .build()); } /** *

* Gets a list of report groups that are shared with other AWS accounts or users. *

*
*

* This is a variant of * {@link #listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)} * operation. *

* * @param listSharedReportGroupsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSharedReportGroups * @see AWS API Documentation */ default ListSharedReportGroupsPublisher listSharedReportGroupsPaginator( ListSharedReportGroupsRequest listSharedReportGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of report groups that are shared with other AWS accounts or users. *

*
*

* This is a variant of * {@link #listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListSharedReportGroupsRequest.Builder} avoiding the * need to create one manually via {@link ListSharedReportGroupsRequest#builder()} *

* * @param listSharedReportGroupsRequest * A {@link Consumer} that will call methods on {@link ListSharedReportGroupsInput.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSharedReportGroups * @see AWS API Documentation */ default ListSharedReportGroupsPublisher listSharedReportGroupsPaginator( Consumer listSharedReportGroupsRequest) { return listSharedReportGroupsPaginator(ListSharedReportGroupsRequest.builder() .applyMutation(listSharedReportGroupsRequest).build()); } /** *

* Returns a list of SourceCredentialsInfo objects. *

* * @param listSourceCredentialsRequest * @return A Java Future containing the result of the ListSourceCredentials operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSourceCredentials * @see AWS API Documentation */ default CompletableFuture listSourceCredentials( ListSourceCredentialsRequest listSourceCredentialsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of SourceCredentialsInfo objects. *

*
*

* This is a convenience which creates an instance of the {@link ListSourceCredentialsRequest.Builder} avoiding the * need to create one manually via {@link ListSourceCredentialsRequest#builder()} *

* * @param listSourceCredentialsRequest * A {@link Consumer} that will call methods on {@link ListSourceCredentialsInput.Builder} to create a * request. * @return A Java Future containing the result of the ListSourceCredentials operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSourceCredentials * @see AWS API Documentation */ default CompletableFuture listSourceCredentials( Consumer listSourceCredentialsRequest) { return listSourceCredentials(ListSourceCredentialsRequest.builder().applyMutation(listSourceCredentialsRequest).build()); } /** *

* Returns a list of SourceCredentialsInfo objects. *

* * @return A Java Future containing the result of the ListSourceCredentials operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.ListSourceCredentials * @see AWS API Documentation */ default CompletableFuture listSourceCredentials() { return listSourceCredentials(ListSourceCredentialsRequest.builder().build()); } /** *

* 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.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.PutResourcePolicy * @see AWS * API Documentation */ default CompletableFuture putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Stores a resource policy for the ARN of a Project or ReportGroup object. *

*
*

* This is a convenience which creates an instance of the {@link PutResourcePolicyRequest.Builder} avoiding the need * to create one manually via {@link PutResourcePolicyRequest#builder()} *

* * @param putResourcePolicyRequest * A {@link Consumer} that will call methods on {@link PutResourcePolicyInput.Builder} to create a request. * @return A Java Future containing the result of the PutResourcePolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.PutResourcePolicy * @see AWS * API Documentation */ default CompletableFuture putResourcePolicy( Consumer putResourcePolicyRequest) { return putResourcePolicy(PutResourcePolicyRequest.builder().applyMutation(putResourcePolicyRequest).build()); } /** *

* Restarts a build. *

* * @param retryBuildRequest * @return A Java Future containing the result of the RetryBuild operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • AccountLimitExceededException An AWS service limit was exceeded for the calling AWS account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.RetryBuild * @see AWS API * Documentation */ default CompletableFuture retryBuild(RetryBuildRequest retryBuildRequest) { throw new UnsupportedOperationException(); } /** *

* Restarts a build. *

*
*

* This is a convenience which creates an instance of the {@link RetryBuildRequest.Builder} avoiding the need to * create one manually via {@link RetryBuildRequest#builder()} *

* * @param retryBuildRequest * A {@link Consumer} that will call methods on {@link RetryBuildInput.Builder} to create a request. * @return A Java Future containing the result of the RetryBuild operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • AccountLimitExceededException An AWS service limit was exceeded for the calling AWS account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.RetryBuild * @see AWS API * Documentation */ default CompletableFuture retryBuild(Consumer retryBuildRequest) { return retryBuild(RetryBuildRequest.builder().applyMutation(retryBuildRequest).build()); } /** *

* Restarts a batch build. *

* * @param retryBuildBatchRequest * @return A Java Future containing the result of the RetryBuildBatch operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.RetryBuildBatch * @see AWS API * Documentation */ default CompletableFuture retryBuildBatch(RetryBuildBatchRequest retryBuildBatchRequest) { throw new UnsupportedOperationException(); } /** *

* Restarts a batch build. *

*
*

* This is a convenience which creates an instance of the {@link RetryBuildBatchRequest.Builder} avoiding the need * to create one manually via {@link RetryBuildBatchRequest#builder()} *

* * @param retryBuildBatchRequest * A {@link Consumer} that will call methods on {@link RetryBuildBatchInput.Builder} to create a request. * @return A Java Future containing the result of the RetryBuildBatch operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.RetryBuildBatch * @see AWS API * Documentation */ default CompletableFuture retryBuildBatch( Consumer retryBuildBatchRequest) { return retryBuildBatch(RetryBuildBatchRequest.builder().applyMutation(retryBuildBatchRequest).build()); } /** *

* Starts running a build. *

* * @param startBuildRequest * @return A Java Future containing the result of the StartBuild operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • AccountLimitExceededException An AWS service limit was exceeded for the calling AWS account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.StartBuild * @see AWS API * Documentation */ default CompletableFuture startBuild(StartBuildRequest startBuildRequest) { throw new UnsupportedOperationException(); } /** *

* Starts running a build. *

*
*

* This is a convenience which creates an instance of the {@link StartBuildRequest.Builder} avoiding the need to * create one manually via {@link StartBuildRequest#builder()} *

* * @param startBuildRequest * A {@link Consumer} that will call methods on {@link StartBuildInput.Builder} to create a request. * @return A Java Future containing the result of the StartBuild operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • AccountLimitExceededException An AWS service limit was exceeded for the calling AWS account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.StartBuild * @see AWS API * Documentation */ default CompletableFuture startBuild(Consumer startBuildRequest) { return startBuild(StartBuildRequest.builder().applyMutation(startBuildRequest).build()); } /** *

* Starts a batch build for a project. *

* * @param startBuildBatchRequest * @return A Java Future containing the result of the StartBuildBatch operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.StartBuildBatch * @see AWS API * Documentation */ default CompletableFuture startBuildBatch(StartBuildBatchRequest startBuildBatchRequest) { throw new UnsupportedOperationException(); } /** *

* Starts a batch build for a project. *

*
*

* This is a convenience which creates an instance of the {@link StartBuildBatchRequest.Builder} avoiding the need * to create one manually via {@link StartBuildBatchRequest#builder()} *

* * @param startBuildBatchRequest * A {@link Consumer} that will call methods on {@link StartBuildBatchInput.Builder} to create a request. * @return A Java Future containing the result of the StartBuildBatch operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.StartBuildBatch * @see AWS API * Documentation */ default CompletableFuture startBuildBatch( Consumer startBuildBatchRequest) { return startBuildBatch(StartBuildBatchRequest.builder().applyMutation(startBuildBatchRequest).build()); } /** *

* Attempts to stop running a build. *

* * @param stopBuildRequest * @return A Java Future containing the result of the StopBuild operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.StopBuild * @see AWS API * Documentation */ default CompletableFuture stopBuild(StopBuildRequest stopBuildRequest) { throw new UnsupportedOperationException(); } /** *

* Attempts to stop running a build. *

*
*

* This is a convenience which creates an instance of the {@link StopBuildRequest.Builder} avoiding the need to * create one manually via {@link StopBuildRequest#builder()} *

* * @param stopBuildRequest * A {@link Consumer} that will call methods on {@link StopBuildInput.Builder} to create a request. * @return A Java Future containing the result of the StopBuild operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.StopBuild * @see AWS API * Documentation */ default CompletableFuture stopBuild(Consumer stopBuildRequest) { return stopBuild(StopBuildRequest.builder().applyMutation(stopBuildRequest).build()); } /** *

* Stops a running batch build. *

* * @param stopBuildBatchRequest * @return A Java Future containing the result of the StopBuildBatch operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.StopBuildBatch * @see AWS API * Documentation */ default CompletableFuture stopBuildBatch(StopBuildBatchRequest stopBuildBatchRequest) { throw new UnsupportedOperationException(); } /** *

* Stops a running batch build. *

*
*

* This is a convenience which creates an instance of the {@link StopBuildBatchRequest.Builder} avoiding the need to * create one manually via {@link StopBuildBatchRequest#builder()} *

* * @param stopBuildBatchRequest * A {@link Consumer} that will call methods on {@link StopBuildBatchInput.Builder} to create a request. * @return A Java Future containing the result of the StopBuildBatch operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.StopBuildBatch * @see AWS API * Documentation */ default CompletableFuture stopBuildBatch(Consumer stopBuildBatchRequest) { return stopBuildBatch(StopBuildBatchRequest.builder().applyMutation(stopBuildBatchRequest).build()); } /** *

* Changes the settings of a build project. *

* * @param updateProjectRequest * @return A Java Future containing the result of the UpdateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.UpdateProject * @see AWS API * Documentation */ default CompletableFuture updateProject(UpdateProjectRequest updateProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Changes the settings of a build project. *

*
*

* This is a convenience which creates an instance of the {@link UpdateProjectRequest.Builder} avoiding the need to * create one manually via {@link UpdateProjectRequest#builder()} *

* * @param updateProjectRequest * A {@link Consumer} that will call methods on {@link UpdateProjectInput.Builder} to create a request. * @return A Java Future containing the result of the UpdateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.UpdateProject * @see AWS API * Documentation */ default CompletableFuture updateProject(Consumer updateProjectRequest) { return updateProject(UpdateProjectRequest.builder().applyMutation(updateProjectRequest).build()); } /** *

* Updates a report group. *

* * @param updateReportGroupRequest * @return A Java Future containing the result of the UpdateReportGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.UpdateReportGroup * @see AWS * API Documentation */ default CompletableFuture updateReportGroup(UpdateReportGroupRequest updateReportGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a report group. *

*
*

* This is a convenience which creates an instance of the {@link UpdateReportGroupRequest.Builder} avoiding the need * to create one manually via {@link UpdateReportGroupRequest#builder()} *

* * @param updateReportGroupRequest * A {@link Consumer} that will call methods on {@link UpdateReportGroupInput.Builder} to create a request. * @return A Java Future containing the result of the UpdateReportGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.UpdateReportGroup * @see AWS * API Documentation */ default CompletableFuture updateReportGroup( Consumer updateReportGroupRequest) { return updateReportGroup(UpdateReportGroupRequest.builder().applyMutation(updateReportGroupRequest).build()); } /** *

* Updates the webhook associated with an AWS CodeBuild build project. *

* *

* If you use Bitbucket for your repository, rotateSecret is ignored. *

*
* * @param updateWebhookRequest * @return A Java Future containing the result of the UpdateWebhook operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • OAuthProviderException There was a problem with the underlying OAuth provider.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.UpdateWebhook * @see AWS API * Documentation */ default CompletableFuture updateWebhook(UpdateWebhookRequest updateWebhookRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the webhook associated with an AWS CodeBuild build project. *

* *

* If you use Bitbucket for your repository, rotateSecret is ignored. *

*

*

* This is a convenience which creates an instance of the {@link UpdateWebhookRequest.Builder} avoiding the need to * create one manually via {@link UpdateWebhookRequest#builder()} *

* * @param updateWebhookRequest * A {@link Consumer} that will call methods on {@link UpdateWebhookInput.Builder} to create a request. * @return A Java Future containing the result of the UpdateWebhook operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified AWS resource cannot be found.
  • *
  • OAuthProviderException There was a problem with the underlying OAuth provider.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample CodeBuildAsyncClient.UpdateWebhook * @see AWS API * Documentation */ default CompletableFuture updateWebhook(Consumer updateWebhookRequest) { return updateWebhook(UpdateWebhookRequest.builder().applyMutation(updateWebhookRequest).build()); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy