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.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
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.BatchGetFleetsRequest;
import software.amazon.awssdk.services.codebuild.model.BatchGetFleetsResponse;
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.CreateFleetRequest;
import software.amazon.awssdk.services.codebuild.model.CreateFleetResponse;
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.DeleteFleetRequest;
import software.amazon.awssdk.services.codebuild.model.DeleteFleetResponse;
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.GetReportGroupTrendRequest;
import software.amazon.awssdk.services.codebuild.model.GetReportGroupTrendResponse;
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.ListFleetsRequest;
import software.amazon.awssdk.services.codebuild.model.ListFleetsResponse;
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.UpdateFleetRequest;
import software.amazon.awssdk.services.codebuild.model.UpdateFleetResponse;
import software.amazon.awssdk.services.codebuild.model.UpdateProjectRequest;
import software.amazon.awssdk.services.codebuild.model.UpdateProjectResponse;
import software.amazon.awssdk.services.codebuild.model.UpdateProjectVisibilityRequest;
import software.amazon.awssdk.services.codebuild.model.UpdateProjectVisibilityResponse;
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.ListFleetsPublisher;
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.The asynchronous client performs non-blocking I/O when configured with any {@code SdkAsyncHttpClient}
 * supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
 * some cases such as credentials retrieval and endpoint discovery as part of the async API call.
 *
 * CodeBuild
 * 

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

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface CodeBuildAsyncClient extends AwsClient { String SERVICE_NAME = "codebuild"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "codebuild"; /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.BatchDeleteBuildsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.BatchGetBuildBatchesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.BatchGetBuildsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 compute fleets. *

* * @param batchGetFleetsRequest * @return A Java Future containing the result of the BatchGetFleets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.BatchGetFleets * @see AWS API * Documentation */ default CompletableFuture batchGetFleets(BatchGetFleetsRequest batchGetFleetsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about one or more compute fleets. *

*
*

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

* * @param batchGetFleetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codebuild.model.BatchGetFleetsRequest.Builder} to create a request. * @return A Java Future containing the result of the BatchGetFleets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.BatchGetFleets * @see AWS API * Documentation */ default CompletableFuture batchGetFleets(Consumer batchGetFleetsRequest) { return batchGetFleets(BatchGetFleetsRequest.builder().applyMutation(batchGetFleetsRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.BatchGetProjectsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.BatchGetReportGroupsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.BatchGetReportsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 compute fleet. *

* * @param createFleetRequest * @return A Java Future containing the result of the CreateFleet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because * an Amazon Web Services resource with the same settings already exists.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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.CreateFleet * @see AWS API * Documentation */ default CompletableFuture createFleet(CreateFleetRequest createFleetRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a compute fleet. *

*
*

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

* * @param createFleetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codebuild.model.CreateFleetRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateFleet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because * an Amazon Web Services resource with the same settings already exists.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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.CreateFleet * @see AWS API * Documentation */ default CompletableFuture createFleet(Consumer createFleetRequest) { return createFleet(CreateFleetRequest.builder().applyMutation(createFleetRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because * an Amazon Web Services resource with the same settings already exists.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.CreateProjectRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because * an Amazon Web Services resource with the same settings already exists.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because * an Amazon Web Services resource with the same settings already exists.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.CreateReportGroupRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because * an Amazon Web Services resource with the same settings already exists.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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 CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, * enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. *

* *

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

*
* * @param createWebhookRequest * @return A Java Future containing the result of the CreateWebhook operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • OAuthProviderException There was a problem with the underlying OAuth provider.
  • *
  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because * an Amazon Web Services resource with the same settings already exists.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, * enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. *

* *

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

*

*

* 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 software.amazon.awssdk.services.codebuild.model.CreateWebhookRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • OAuthProviderException There was a problem with the underlying OAuth provider.
  • *
  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because * an Amazon Web Services resource with the same settings already exists.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.DeleteBuildBatchRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 compute fleet. When you delete a compute fleet, its builds are not deleted. *

* * @param deleteFleetRequest * @return A Java Future containing the result of the DeleteFleet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.DeleteFleet * @see AWS API * Documentation */ default CompletableFuture deleteFleet(DeleteFleetRequest deleteFleetRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted. *

*
*

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

* * @param deleteFleetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codebuild.model.DeleteFleetRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteFleet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.DeleteFleet * @see AWS API * Documentation */ default CompletableFuture deleteFleet(Consumer deleteFleetRequest) { return deleteFleet(DeleteFleetRequest.builder().applyMutation(deleteFleetRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.DeleteProjectRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.DeleteReportRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Deletes a report group. Before you delete a report group, you must delete its reports. *

* * @param deleteReportGroupRequest * @return A Java Future containing the result of the DeleteReportGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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(); } /** *

* Deletes a report group. Before you delete a report group, you must delete its reports. *

*
*

* 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 software.amazon.awssdk.services.codebuild.model.DeleteReportGroupRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.DeleteResourcePolicyRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.DeleteSourceCredentialsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, * stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository. *

* * @param deleteWebhookRequest * @return A Java Future containing the result of the DeleteWebhook operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, * stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository. *

*
*

* 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 software.amazon.awssdk.services.codebuild.model.DeleteWebhookRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new DescribeCodeCoveragesPublisher(this, describeCodeCoveragesRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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) { return new DescribeTestCasesPublisher(this, describeTestCasesRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } /** *

* Analyzes and accumulates test report values for the specified test reports. *

* * @param getReportGroupTrendRequest * @return A Java Future containing the result of the GetReportGroupTrend operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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.GetReportGroupTrend * @see AWS * API Documentation */ default CompletableFuture getReportGroupTrend( GetReportGroupTrendRequest getReportGroupTrendRequest) { throw new UnsupportedOperationException(); } /** *

* Analyzes and accumulates test report values for the specified test reports. *

*
*

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

* * @param getReportGroupTrendRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codebuild.model.GetReportGroupTrendRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetReportGroupTrend operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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.GetReportGroupTrend * @see AWS * API Documentation */ default CompletableFuture getReportGroupTrend( Consumer getReportGroupTrendRequest) { return getReportGroupTrend(GetReportGroupTrendRequest.builder().applyMutation(getReportGroupTrendRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.GetResourcePolicyRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified Amazon Web Services 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 CodeBuild project that has its source code stored in a GitHub, * GitHub Enterprise, GitLab, GitLab Self Managed, 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services account.
  • *
  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because * an Amazon Web Services 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 CodeBuild project that has its source code stored in a GitHub, * GitHub Enterprise, GitLab, GitLab Self Managed, 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 software.amazon.awssdk.services.codebuild.model.ImportSourceCredentialsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services account.
  • *
  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because * an Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.InvalidateProjectCacheRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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) { return new ListBuildBatchesForProjectPublisher(this, listBuildBatchesForProjectRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListBuildBatchesPublisher(this, listBuildBatchesRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.ListBuildsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 identifiers for the specified build project, with each build identifier representing a * single build. *

* * @param listBuildsForProjectRequest * @return A Java Future containing the result of the ListBuildsForProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 identifiers for the specified build project, with each build identifier 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 software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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) { return new ListBuildsForProjectPublisher(this, listBuildsForProjectRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListBuildsPublisher(this, listBuildsRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.ListBuildsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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 software.amazon.awssdk.services.codebuild.model.ListCuratedEnvironmentImagesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 compute fleet names with each compute fleet name representing a single compute fleet. *

* * @param listFleetsRequest * @return A Java Future containing the result of the ListFleets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.ListFleets * @see AWS API * Documentation */ default CompletableFuture listFleets(ListFleetsRequest listFleetsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of compute fleet names with each compute fleet name representing a single compute fleet. *

*
*

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

* * @param listFleetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codebuild.model.ListFleetsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListFleets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.ListFleets * @see AWS API * Documentation */ default CompletableFuture listFleets(Consumer listFleetsRequest) { return listFleets(ListFleetsRequest.builder().applyMutation(listFleetsRequest).build()); } /** *

* This is a variant of {@link #listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)} * 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.ListFleetsPublisher publisher = client.listFleetsPaginator(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.ListFleetsPublisher publisher = client.listFleetsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListFleetsResponse 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 #listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)} operation. *

* * @param listFleetsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.ListFleets * @see AWS API * Documentation */ default ListFleetsPublisher listFleetsPaginator(ListFleetsRequest listFleetsRequest) { return new ListFleetsPublisher(this, listFleetsRequest); } /** *

* This is a variant of {@link #listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)} * 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.ListFleetsPublisher publisher = client.listFleetsPaginator(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.ListFleetsPublisher publisher = client.listFleetsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codebuild.model.ListFleetsResponse 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 #listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)} operation. *

*
*

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

* * @param listFleetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codebuild.model.ListFleetsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.ListFleets * @see AWS API * Documentation */ default ListFleetsPublisher listFleetsPaginator(Consumer listFleetsRequest) { return listFleetsPaginator(ListFleetsRequest.builder().applyMutation(listFleetsRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.ListProjectsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListProjectsPublisher(this, listProjectsRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.ListProjectsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListReportGroupsPublisher(this, listReportGroupsRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.ListReportsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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) { return new ListReportsForReportGroupPublisher(this, listReportsForReportGroupRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListReportsPublisher(this, listReportsRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.ListReportsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListSharedProjectsPublisher(this, listSharedProjectsRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListSharedReportGroupsPublisher(this, listSharedReportGroupsRequest); } /** *

* 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 software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.codebuild.model.ListSourceCredentialsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.PutResourcePolicyRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.RetryBuildRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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 failed batch build. Only batch builds that have failed can be retried. *

* * @param retryBuildBatchRequest * @return A Java Future containing the result of the RetryBuildBatch operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 failed batch build. Only batch builds that have failed can be retried. *

*
*

* 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 software.amazon.awssdk.services.codebuild.model.RetryBuildBatchRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 with the settings defined in the project. These setting include: how to run a build, where * to get the source code, which build environment to use, which build commands to run, and where to store the build * output. *

*

* You can also start a build run by overriding some of the build settings in the project. The overrides only apply * for that specific start build request. The settings in the project are unaltered. *

* * @param startBuildRequest * @return A Java Future containing the result of the StartBuild operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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 with the settings defined in the project. These setting include: how to run a build, where * to get the source code, which build environment to use, which build commands to run, and where to store the build * output. *

*

* You can also start a build run by overriding some of the build settings in the project. The overrides only apply * for that specific start build request. The settings in the project are unaltered. *

*
*

* 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 software.amazon.awssdk.services.codebuild.model.StartBuildRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.StartBuildBatchRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.StopBuildRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.StopBuildBatchRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } /** *

* Updates a compute fleet. *

* * @param updateFleetRequest * @return A Java Future containing the result of the UpdateFleet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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.UpdateFleet * @see AWS API * Documentation */ default CompletableFuture updateFleet(UpdateFleetRequest updateFleetRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a compute fleet. *

*
*

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

* * @param updateFleetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codebuild.model.UpdateFleetRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateFleet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
  • *
  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling * Amazon Web Services 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.UpdateFleet * @see AWS API * Documentation */ default CompletableFuture updateFleet(Consumer updateFleetRequest) { return updateFleet(UpdateFleetRequest.builder().applyMutation(updateFleetRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.UpdateProjectRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } /** *

* Changes the public visibility for a project. The project's build results, logs, and artifacts are available to * the general public. For more information, see Public build projects in the * CodeBuild User Guide. *

* *

* The following should be kept in mind when making your projects public: *

*
    *
  • *

    * All of a project's build results, logs, and artifacts, including builds that were run when the project was * private, are available to the general public. *

    *
  • *
  • *

    * All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive * information may have been output to the build logs and artifacts. You must be careful about what information is * output to the build logs. Some best practice are: *

    *
      *
    • *

      * Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager * Parameter Store or Secrets Manager to store sensitive values. *

      *
    • *
    • *

      * Follow Best * practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, * and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible. *

      *
    • *
    *
  • *
  • *

    * A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull * requests to verify that the pull request is a legitimate change. We also recommend that you validate any * artifacts with their checksums to make sure that the correct artifacts are being downloaded. *

    *
  • *
*
* * @param updateProjectVisibilityRequest * @return A Java Future containing the result of the UpdateProjectVisibility operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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.UpdateProjectVisibility * @see AWS API Documentation */ default CompletableFuture updateProjectVisibility( UpdateProjectVisibilityRequest updateProjectVisibilityRequest) { throw new UnsupportedOperationException(); } /** *

* Changes the public visibility for a project. The project's build results, logs, and artifacts are available to * the general public. For more information, see Public build projects in the * CodeBuild User Guide. *

* *

* The following should be kept in mind when making your projects public: *

*
    *
  • *

    * All of a project's build results, logs, and artifacts, including builds that were run when the project was * private, are available to the general public. *

    *
  • *
  • *

    * All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive * information may have been output to the build logs and artifacts. You must be careful about what information is * output to the build logs. Some best practice are: *

    *
      *
    • *

      * Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager * Parameter Store or Secrets Manager to store sensitive values. *

      *
    • *
    • *

      * Follow Best * practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, * and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible. *

      *
    • *
    *
  • *
  • *

    * A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull * requests to verify that the pull request is a legitimate change. We also recommend that you validate any * artifacts with their checksums to make sure that the correct artifacts are being downloaded. *

    *
  • *
*

*

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

* * @param updateProjectVisibilityRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codebuild.model.UpdateProjectVisibilityRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateProjectVisibility operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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.UpdateProjectVisibility * @see AWS API Documentation */ default CompletableFuture updateProjectVisibility( Consumer updateProjectVisibilityRequest) { return updateProjectVisibility(UpdateProjectVisibilityRequest.builder().applyMutation(updateProjectVisibilityRequest) .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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 software.amazon.awssdk.services.codebuild.model.UpdateReportGroupRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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 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 software.amazon.awssdk.services.codebuild.model.UpdateWebhookRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidInputException The input value that was provided is not valid.
  • *
  • ResourceNotFoundException The specified Amazon Web Services 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()); } @Override default CodeBuildServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * 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(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy