Interface CodeBuildClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault BatchDeleteBuildsResponsebatchDeleteBuilds(Consumer<BatchDeleteBuildsRequest.Builder> batchDeleteBuildsRequest) Deletes one or more builds.default BatchDeleteBuildsResponsebatchDeleteBuilds(BatchDeleteBuildsRequest batchDeleteBuildsRequest) Deletes one or more builds.default BatchGetBuildBatchesResponsebatchGetBuildBatches(Consumer<BatchGetBuildBatchesRequest.Builder> batchGetBuildBatchesRequest) Retrieves information about one or more batch builds.default BatchGetBuildBatchesResponsebatchGetBuildBatches(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest) Retrieves information about one or more batch builds.default BatchGetBuildsResponsebatchGetBuilds(Consumer<BatchGetBuildsRequest.Builder> batchGetBuildsRequest) Gets information about one or more builds.default BatchGetBuildsResponsebatchGetBuilds(BatchGetBuildsRequest batchGetBuildsRequest) Gets information about one or more builds.default BatchGetFleetsResponsebatchGetFleets(Consumer<BatchGetFleetsRequest.Builder> batchGetFleetsRequest) Gets information about one or more compute fleets.default BatchGetFleetsResponsebatchGetFleets(BatchGetFleetsRequest batchGetFleetsRequest) Gets information about one or more compute fleets.default BatchGetProjectsResponsebatchGetProjects(Consumer<BatchGetProjectsRequest.Builder> batchGetProjectsRequest) Gets information about one or more build projects.default BatchGetProjectsResponsebatchGetProjects(BatchGetProjectsRequest batchGetProjectsRequest) Gets information about one or more build projects.default BatchGetReportGroupsResponsebatchGetReportGroups(Consumer<BatchGetReportGroupsRequest.Builder> batchGetReportGroupsRequest) Returns an array of report groups.default BatchGetReportGroupsResponsebatchGetReportGroups(BatchGetReportGroupsRequest batchGetReportGroupsRequest) Returns an array of report groups.default BatchGetReportsResponsebatchGetReports(Consumer<BatchGetReportsRequest.Builder> batchGetReportsRequest) Returns an array of reports.default BatchGetReportsResponsebatchGetReports(BatchGetReportsRequest batchGetReportsRequest) Returns an array of reports.static CodeBuildClientBuilderbuilder()Create a builder that can be used to configure and create aCodeBuildClient.static CodeBuildClientcreate()Create aCodeBuildClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateFleetResponsecreateFleet(Consumer<CreateFleetRequest.Builder> createFleetRequest) Creates a compute fleet.default CreateFleetResponsecreateFleet(CreateFleetRequest createFleetRequest) Creates a compute fleet.default CreateProjectResponsecreateProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates a build project.default CreateProjectResponsecreateProject(CreateProjectRequest createProjectRequest) Creates a build project.default CreateReportGroupResponsecreateReportGroup(Consumer<CreateReportGroupRequest.Builder> createReportGroupRequest) Creates a report group.default CreateReportGroupResponsecreateReportGroup(CreateReportGroupRequest createReportGroupRequest) Creates a report group.default CreateWebhookResponsecreateWebhook(Consumer<CreateWebhookRequest.Builder> createWebhookRequest) For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.default CreateWebhookResponsecreateWebhook(CreateWebhookRequest createWebhookRequest) For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.default DeleteBuildBatchResponsedeleteBuildBatch(Consumer<DeleteBuildBatchRequest.Builder> deleteBuildBatchRequest) Deletes a batch build.default DeleteBuildBatchResponsedeleteBuildBatch(DeleteBuildBatchRequest deleteBuildBatchRequest) Deletes a batch build.default DeleteFleetResponsedeleteFleet(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest) Deletes a compute fleet.default DeleteFleetResponsedeleteFleet(DeleteFleetRequest deleteFleetRequest) Deletes a compute fleet.default DeleteProjectResponsedeleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes a build project.default DeleteProjectResponsedeleteProject(DeleteProjectRequest deleteProjectRequest) Deletes a build project.default DeleteReportResponsedeleteReport(Consumer<DeleteReportRequest.Builder> deleteReportRequest) Deletes a report.default DeleteReportResponsedeleteReport(DeleteReportRequest deleteReportRequest) Deletes a report.default DeleteReportGroupResponsedeleteReportGroup(Consumer<DeleteReportGroupRequest.Builder> deleteReportGroupRequest) Deletes a report group.default DeleteReportGroupResponsedeleteReportGroup(DeleteReportGroupRequest deleteReportGroupRequest) Deletes a report group.default DeleteResourcePolicyResponsedeleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Deletes a resource policy that is identified by its resource ARN.default DeleteResourcePolicyResponsedeleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Deletes a resource policy that is identified by its resource ARN.default DeleteSourceCredentialsResponsedeleteSourceCredentials(Consumer<DeleteSourceCredentialsRequest.Builder> deleteSourceCredentialsRequest) Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.default DeleteSourceCredentialsResponsedeleteSourceCredentials(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest) Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.default DeleteWebhookResponsedeleteWebhook(Consumer<DeleteWebhookRequest.Builder> deleteWebhookRequest) For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository.default DeleteWebhookResponsedeleteWebhook(DeleteWebhookRequest deleteWebhookRequest) For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository.default DescribeCodeCoveragesResponsedescribeCodeCoverages(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest) Retrieves one or more code coverage reports.default DescribeCodeCoveragesResponsedescribeCodeCoverages(DescribeCodeCoveragesRequest describeCodeCoveragesRequest) Retrieves one or more code coverage reports.default DescribeCodeCoveragesIterabledescribeCodeCoveragesPaginator(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest) This is a variant ofdescribeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)operation.default DescribeCodeCoveragesIterabledescribeCodeCoveragesPaginator(DescribeCodeCoveragesRequest describeCodeCoveragesRequest) This is a variant ofdescribeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)operation.default DescribeTestCasesResponsedescribeTestCases(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest) Returns a list of details about test cases for a report.default DescribeTestCasesResponsedescribeTestCases(DescribeTestCasesRequest describeTestCasesRequest) Returns a list of details about test cases for a report.default DescribeTestCasesIterabledescribeTestCasesPaginator(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest) This is a variant ofdescribeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)operation.default DescribeTestCasesIterabledescribeTestCasesPaginator(DescribeTestCasesRequest describeTestCasesRequest) This is a variant ofdescribeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)operation.default GetReportGroupTrendResponsegetReportGroupTrend(Consumer<GetReportGroupTrendRequest.Builder> getReportGroupTrendRequest) Analyzes and accumulates test report values for the specified test reports.default GetReportGroupTrendResponsegetReportGroupTrend(GetReportGroupTrendRequest getReportGroupTrendRequest) Analyzes and accumulates test report values for the specified test reports.default GetResourcePolicyResponsegetResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Gets a resource policy that is identified by its resource ARN.default GetResourcePolicyResponsegetResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Gets a resource policy that is identified by its resource ARN.default ImportSourceCredentialsResponseimportSourceCredentials(Consumer<ImportSourceCredentialsRequest.Builder> importSourceCredentialsRequest) 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.default ImportSourceCredentialsResponseimportSourceCredentials(ImportSourceCredentialsRequest importSourceCredentialsRequest) 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.default InvalidateProjectCacheResponseinvalidateProjectCache(Consumer<InvalidateProjectCacheRequest.Builder> invalidateProjectCacheRequest) Resets the cache for a project.default InvalidateProjectCacheResponseinvalidateProjectCache(InvalidateProjectCacheRequest invalidateProjectCacheRequest) Resets the cache for a project.default ListBuildBatchesResponselistBuildBatches(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest) Retrieves the identifiers of your build batches in the current region.default ListBuildBatchesResponselistBuildBatches(ListBuildBatchesRequest listBuildBatchesRequest) Retrieves the identifiers of your build batches in the current region.listBuildBatchesForProject(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest) Retrieves the identifiers of the build batches for a specific project.listBuildBatchesForProject(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest) Retrieves the identifiers of the build batches for a specific project.listBuildBatchesForProjectPaginator(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest) This is a variant oflistBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)operation.listBuildBatchesForProjectPaginator(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest) This is a variant oflistBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)operation.default ListBuildBatchesIterablelistBuildBatchesPaginator(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest) This is a variant oflistBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)operation.default ListBuildBatchesIterablelistBuildBatchesPaginator(ListBuildBatchesRequest listBuildBatchesRequest) This is a variant oflistBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)operation.default ListBuildsResponseGets a list of build IDs, with each build ID representing a single build.default ListBuildsResponselistBuilds(Consumer<ListBuildsRequest.Builder> listBuildsRequest) Gets a list of build IDs, with each build ID representing a single build.default ListBuildsResponselistBuilds(ListBuildsRequest listBuildsRequest) Gets a list of build IDs, with each build ID representing a single build.default ListBuildsForProjectResponselistBuildsForProject(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest) Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.default ListBuildsForProjectResponselistBuildsForProject(ListBuildsForProjectRequest listBuildsForProjectRequest) Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.default ListBuildsForProjectIterablelistBuildsForProjectPaginator(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest) This is a variant oflistBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)operation.default ListBuildsForProjectIterablelistBuildsForProjectPaginator(ListBuildsForProjectRequest listBuildsForProjectRequest) This is a variant oflistBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)operation.default ListBuildsIterableThis is a variant oflistBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation.default ListBuildsIterablelistBuildsPaginator(Consumer<ListBuildsRequest.Builder> listBuildsRequest) This is a variant oflistBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation.default ListBuildsIterablelistBuildsPaginator(ListBuildsRequest listBuildsRequest) This is a variant oflistBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation.Gets information about Docker images that are managed by CodeBuild.listCuratedEnvironmentImages(Consumer<ListCuratedEnvironmentImagesRequest.Builder> listCuratedEnvironmentImagesRequest) Gets information about Docker images that are managed by CodeBuild.listCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest) Gets information about Docker images that are managed by CodeBuild.default ListFleetsResponselistFleets(Consumer<ListFleetsRequest.Builder> listFleetsRequest) Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.default ListFleetsResponselistFleets(ListFleetsRequest listFleetsRequest) Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.default ListFleetsIterablelistFleetsPaginator(Consumer<ListFleetsRequest.Builder> listFleetsRequest) This is a variant oflistFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)operation.default ListFleetsIterablelistFleetsPaginator(ListFleetsRequest listFleetsRequest) This is a variant oflistFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)operation.default ListProjectsResponseGets a list of build project names, with each build project name representing a single build project.default ListProjectsResponselistProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Gets a list of build project names, with each build project name representing a single build project.default ListProjectsResponselistProjects(ListProjectsRequest listProjectsRequest) Gets a list of build project names, with each build project name representing a single build project.default ListProjectsIterableThis is a variant oflistProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation.default ListProjectsIterablelistProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation.default ListProjectsIterablelistProjectsPaginator(ListProjectsRequest listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation.default ListReportGroupsResponselistReportGroups(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest) Gets a list ARNs for the report groups in the current Amazon Web Services account.default ListReportGroupsResponselistReportGroups(ListReportGroupsRequest listReportGroupsRequest) Gets a list ARNs for the report groups in the current Amazon Web Services account.default ListReportGroupsIterablelistReportGroupsPaginator(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest) This is a variant oflistReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)operation.default ListReportGroupsIterablelistReportGroupsPaginator(ListReportGroupsRequest listReportGroupsRequest) This is a variant oflistReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)operation.default ListReportsResponselistReports(Consumer<ListReportsRequest.Builder> listReportsRequest) Returns a list of ARNs for the reports in the current Amazon Web Services account.default ListReportsResponselistReports(ListReportsRequest listReportsRequest) Returns a list of ARNs for the reports in the current Amazon Web Services account.listReportsForReportGroup(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest) Returns a list of ARNs for the reports that belong to aReportGroup.listReportsForReportGroup(ListReportsForReportGroupRequest listReportsForReportGroupRequest) Returns a list of ARNs for the reports that belong to aReportGroup.listReportsForReportGroupPaginator(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest) This is a variant oflistReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)operation.listReportsForReportGroupPaginator(ListReportsForReportGroupRequest listReportsForReportGroupRequest) This is a variant oflistReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)operation.default ListReportsIterablelistReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest) This is a variant oflistReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)operation.default ListReportsIterablelistReportsPaginator(ListReportsRequest listReportsRequest) This is a variant oflistReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)operation.default ListSharedProjectsResponselistSharedProjects(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest) Gets a list of projects that are shared with other Amazon Web Services accounts or users.default ListSharedProjectsResponselistSharedProjects(ListSharedProjectsRequest listSharedProjectsRequest) Gets a list of projects that are shared with other Amazon Web Services accounts or users.default ListSharedProjectsIterablelistSharedProjectsPaginator(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest) This is a variant oflistSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)operation.default ListSharedProjectsIterablelistSharedProjectsPaginator(ListSharedProjectsRequest listSharedProjectsRequest) This is a variant oflistSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)operation.default ListSharedReportGroupsResponselistSharedReportGroups(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest) Gets a list of report groups that are shared with other Amazon Web Services accounts or users.default ListSharedReportGroupsResponselistSharedReportGroups(ListSharedReportGroupsRequest listSharedReportGroupsRequest) Gets a list of report groups that are shared with other Amazon Web Services accounts or users.default ListSharedReportGroupsIterablelistSharedReportGroupsPaginator(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest) This is a variant oflistSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)operation.default ListSharedReportGroupsIterablelistSharedReportGroupsPaginator(ListSharedReportGroupsRequest listSharedReportGroupsRequest) This is a variant oflistSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)operation.default ListSourceCredentialsResponseReturns a list ofSourceCredentialsInfoobjects.default ListSourceCredentialsResponselistSourceCredentials(Consumer<ListSourceCredentialsRequest.Builder> listSourceCredentialsRequest) Returns a list ofSourceCredentialsInfoobjects.default ListSourceCredentialsResponselistSourceCredentials(ListSourceCredentialsRequest listSourceCredentialsRequest) Returns a list ofSourceCredentialsInfoobjects.default PutResourcePolicyResponseputResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Stores a resource policy for the ARN of aProjectorReportGroupobject.default PutResourcePolicyResponseputResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) Stores a resource policy for the ARN of aProjectorReportGroupobject.default RetryBuildResponseretryBuild(Consumer<RetryBuildRequest.Builder> retryBuildRequest) Restarts a build.default RetryBuildResponseretryBuild(RetryBuildRequest retryBuildRequest) Restarts a build.default RetryBuildBatchResponseretryBuildBatch(Consumer<RetryBuildBatchRequest.Builder> retryBuildBatchRequest) Restarts a failed batch build.default RetryBuildBatchResponseretryBuildBatch(RetryBuildBatchRequest retryBuildBatchRequest) Restarts a failed batch build.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartBuildResponsestartBuild(Consumer<StartBuildRequest.Builder> startBuildRequest) Starts running a build with the settings defined in the project.default StartBuildResponsestartBuild(StartBuildRequest startBuildRequest) Starts running a build with the settings defined in the project.default StartBuildBatchResponsestartBuildBatch(Consumer<StartBuildBatchRequest.Builder> startBuildBatchRequest) Starts a batch build for a project.default StartBuildBatchResponsestartBuildBatch(StartBuildBatchRequest startBuildBatchRequest) Starts a batch build for a project.default StopBuildResponsestopBuild(Consumer<StopBuildRequest.Builder> stopBuildRequest) Attempts to stop running a build.default StopBuildResponsestopBuild(StopBuildRequest stopBuildRequest) Attempts to stop running a build.default StopBuildBatchResponsestopBuildBatch(Consumer<StopBuildBatchRequest.Builder> stopBuildBatchRequest) Stops a running batch build.default StopBuildBatchResponsestopBuildBatch(StopBuildBatchRequest stopBuildBatchRequest) Stops a running batch build.default UpdateFleetResponseupdateFleet(Consumer<UpdateFleetRequest.Builder> updateFleetRequest) Updates a compute fleet.default UpdateFleetResponseupdateFleet(UpdateFleetRequest updateFleetRequest) Updates a compute fleet.default UpdateProjectResponseupdateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Changes the settings of a build project.default UpdateProjectResponseupdateProject(UpdateProjectRequest updateProjectRequest) Changes the settings of a build project.default UpdateProjectVisibilityResponseupdateProjectVisibility(Consumer<UpdateProjectVisibilityRequest.Builder> updateProjectVisibilityRequest) Changes the public visibility for a project.default UpdateProjectVisibilityResponseupdateProjectVisibility(UpdateProjectVisibilityRequest updateProjectVisibilityRequest) Changes the public visibility for a project.default UpdateReportGroupResponseupdateReportGroup(Consumer<UpdateReportGroupRequest.Builder> updateReportGroupRequest) Updates a report group.default UpdateReportGroupResponseupdateReportGroup(UpdateReportGroupRequest updateReportGroupRequest) Updates a report group.default UpdateWebhookResponseupdateWebhook(Consumer<UpdateWebhookRequest.Builder> updateWebhookRequest) Updates the webhook associated with an CodeBuild build project.default UpdateWebhookResponseupdateWebhook(UpdateWebhookRequest updateWebhookRequest) Updates the webhook associated with an CodeBuild build project.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
batchDeleteBuilds
default BatchDeleteBuildsResponse batchDeleteBuilds(BatchDeleteBuildsRequest batchDeleteBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes one or more builds.
- Parameters:
batchDeleteBuildsRequest-- Returns:
- Result of the BatchDeleteBuilds operation returned by the service.
- See Also:
-
batchDeleteBuilds
default BatchDeleteBuildsResponse batchDeleteBuilds(Consumer<BatchDeleteBuildsRequest.Builder> batchDeleteBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes one or more builds.
This is a convenience which creates an instance of the
BatchDeleteBuildsRequest.Builderavoiding the need to create one manually viaBatchDeleteBuildsRequest.builder()- Parameters:
batchDeleteBuildsRequest- AConsumerthat will call methods onBatchDeleteBuildsRequest.Builderto create a request.- Returns:
- Result of the BatchDeleteBuilds operation returned by the service.
- See Also:
-
batchGetBuildBatches
default BatchGetBuildBatchesResponse batchGetBuildBatches(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Retrieves information about one or more batch builds.
- Parameters:
batchGetBuildBatchesRequest-- Returns:
- Result of the BatchGetBuildBatches operation returned by the service.
- See Also:
-
batchGetBuildBatches
default BatchGetBuildBatchesResponse batchGetBuildBatches(Consumer<BatchGetBuildBatchesRequest.Builder> batchGetBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Retrieves information about one or more batch builds.
This is a convenience which creates an instance of the
BatchGetBuildBatchesRequest.Builderavoiding the need to create one manually viaBatchGetBuildBatchesRequest.builder()- Parameters:
batchGetBuildBatchesRequest- AConsumerthat will call methods onBatchGetBuildBatchesRequest.Builderto create a request.- Returns:
- Result of the BatchGetBuildBatches operation returned by the service.
- See Also:
-
batchGetBuilds
default BatchGetBuildsResponse batchGetBuilds(BatchGetBuildsRequest batchGetBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets information about one or more builds.
- Parameters:
batchGetBuildsRequest-- Returns:
- Result of the BatchGetBuilds operation returned by the service.
- See Also:
-
batchGetBuilds
default BatchGetBuildsResponse batchGetBuilds(Consumer<BatchGetBuildsRequest.Builder> batchGetBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets information about one or more builds.
This is a convenience which creates an instance of the
BatchGetBuildsRequest.Builderavoiding the need to create one manually viaBatchGetBuildsRequest.builder()- Parameters:
batchGetBuildsRequest- AConsumerthat will call methods onBatchGetBuildsRequest.Builderto create a request.- Returns:
- Result of the BatchGetBuilds operation returned by the service.
- See Also:
-
batchGetFleets
default BatchGetFleetsResponse batchGetFleets(BatchGetFleetsRequest batchGetFleetsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets information about one or more compute fleets.
- Parameters:
batchGetFleetsRequest-- Returns:
- Result of the BatchGetFleets operation returned by the service.
- See Also:
-
batchGetFleets
default BatchGetFleetsResponse batchGetFleets(Consumer<BatchGetFleetsRequest.Builder> batchGetFleetsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets information about one or more compute fleets.
This is a convenience which creates an instance of the
BatchGetFleetsRequest.Builderavoiding the need to create one manually viaBatchGetFleetsRequest.builder()- Parameters:
batchGetFleetsRequest- AConsumerthat will call methods onBatchGetFleetsRequest.Builderto create a request.- Returns:
- Result of the BatchGetFleets operation returned by the service.
- See Also:
-
batchGetProjects
default BatchGetProjectsResponse batchGetProjects(BatchGetProjectsRequest batchGetProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets information about one or more build projects.
- Parameters:
batchGetProjectsRequest-- Returns:
- Result of the BatchGetProjects operation returned by the service.
- See Also:
-
batchGetProjects
default BatchGetProjectsResponse batchGetProjects(Consumer<BatchGetProjectsRequest.Builder> batchGetProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets information about one or more build projects.
This is a convenience which creates an instance of the
BatchGetProjectsRequest.Builderavoiding the need to create one manually viaBatchGetProjectsRequest.builder()- Parameters:
batchGetProjectsRequest- AConsumerthat will call methods onBatchGetProjectsRequest.Builderto create a request.- Returns:
- Result of the BatchGetProjects operation returned by the service.
- See Also:
-
batchGetReportGroups
default BatchGetReportGroupsResponse batchGetReportGroups(BatchGetReportGroupsRequest batchGetReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Returns an array of report groups.
- Parameters:
batchGetReportGroupsRequest-- Returns:
- Result of the BatchGetReportGroups operation returned by the service.
- See Also:
-
batchGetReportGroups
default BatchGetReportGroupsResponse batchGetReportGroups(Consumer<BatchGetReportGroupsRequest.Builder> batchGetReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Returns an array of report groups.
This is a convenience which creates an instance of the
BatchGetReportGroupsRequest.Builderavoiding the need to create one manually viaBatchGetReportGroupsRequest.builder()- Parameters:
batchGetReportGroupsRequest- AConsumerthat will call methods onBatchGetReportGroupsRequest.Builderto create a request.- Returns:
- Result of the BatchGetReportGroups operation returned by the service.
- See Also:
-
batchGetReports
default BatchGetReportsResponse batchGetReports(BatchGetReportsRequest batchGetReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Returns an array of reports.
- Parameters:
batchGetReportsRequest-- Returns:
- Result of the BatchGetReports operation returned by the service.
- See Also:
-
batchGetReports
default BatchGetReportsResponse batchGetReports(Consumer<BatchGetReportsRequest.Builder> batchGetReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Returns an array of reports.
This is a convenience which creates an instance of the
BatchGetReportsRequest.Builderavoiding the need to create one manually viaBatchGetReportsRequest.builder()- Parameters:
batchGetReportsRequest- AConsumerthat will call methods onBatchGetReportsRequest.Builderto create a request.- Returns:
- Result of the BatchGetReports operation returned by the service.
- See Also:
-
createFleet
default CreateFleetResponse createFleet(CreateFleetRequest createFleetRequest) throws InvalidInputException, ResourceAlreadyExistsException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException Creates a compute fleet.
- Parameters:
createFleetRequest-- Returns:
- Result of the CreateFleet operation returned by the service.
- See Also:
-
createFleet
default CreateFleetResponse createFleet(Consumer<CreateFleetRequest.Builder> createFleetRequest) throws InvalidInputException, ResourceAlreadyExistsException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException Creates a compute fleet.
This is a convenience which creates an instance of the
CreateFleetRequest.Builderavoiding the need to create one manually viaCreateFleetRequest.builder()- Parameters:
createFleetRequest- AConsumerthat will call methods onCreateFleetRequest.Builderto create a request.- Returns:
- Result of the CreateFleet operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws InvalidInputException, ResourceAlreadyExistsException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException Creates a build project.
- Parameters:
createProjectRequest-- Returns:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) throws InvalidInputException, ResourceAlreadyExistsException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException Creates a build project.
This is a convenience which creates an instance of the
CreateProjectRequest.Builderavoiding the need to create one manually viaCreateProjectRequest.builder()- Parameters:
createProjectRequest- AConsumerthat will call methods onCreateProjectRequest.Builderto create a request.- Returns:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createReportGroup
default CreateReportGroupResponse createReportGroup(CreateReportGroupRequest createReportGroupRequest) throws InvalidInputException, ResourceAlreadyExistsException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException Creates a report group. A report group contains a collection of reports.
- Parameters:
createReportGroupRequest-- Returns:
- Result of the CreateReportGroup operation returned by the service.
- See Also:
-
createReportGroup
default CreateReportGroupResponse createReportGroup(Consumer<CreateReportGroupRequest.Builder> createReportGroupRequest) throws InvalidInputException, ResourceAlreadyExistsException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException Creates a report group. A report group contains a collection of reports.
This is a convenience which creates an instance of the
CreateReportGroupRequest.Builderavoiding the need to create one manually viaCreateReportGroupRequest.builder()- Parameters:
createReportGroupRequest- AConsumerthat will call methods onCreateReportGroupRequest.Builderto create a request.- Returns:
- Result of the CreateReportGroup operation returned by the service.
- See Also:
-
createWebhook
default CreateWebhookResponse createWebhook(CreateWebhookRequest createWebhookRequest) throws InvalidInputException, OAuthProviderException, ResourceAlreadyExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException 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.
- Parameters:
createWebhookRequest-- Returns:
- Result of the CreateWebhook operation returned by the service.
- See Also:
-
createWebhook
default CreateWebhookResponse createWebhook(Consumer<CreateWebhookRequest.Builder> createWebhookRequest) throws InvalidInputException, OAuthProviderException, ResourceAlreadyExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException 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
CreateWebhookRequest.Builderavoiding the need to create one manually viaCreateWebhookRequest.builder()- Parameters:
createWebhookRequest- AConsumerthat will call methods onCreateWebhookRequest.Builderto create a request.- Returns:
- Result of the CreateWebhook operation returned by the service.
- See Also:
-
deleteBuildBatch
default DeleteBuildBatchResponse deleteBuildBatch(DeleteBuildBatchRequest deleteBuildBatchRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes a batch build.
- Parameters:
deleteBuildBatchRequest-- Returns:
- Result of the DeleteBuildBatch operation returned by the service.
- See Also:
-
deleteBuildBatch
default DeleteBuildBatchResponse deleteBuildBatch(Consumer<DeleteBuildBatchRequest.Builder> deleteBuildBatchRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes a batch build.
This is a convenience which creates an instance of the
DeleteBuildBatchRequest.Builderavoiding the need to create one manually viaDeleteBuildBatchRequest.builder()- Parameters:
deleteBuildBatchRequest- AConsumerthat will call methods onDeleteBuildBatchRequest.Builderto create a request.- Returns:
- Result of the DeleteBuildBatch operation returned by the service.
- See Also:
-
deleteFleet
default DeleteFleetResponse deleteFleet(DeleteFleetRequest deleteFleetRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
- Parameters:
deleteFleetRequest-- Returns:
- Result of the DeleteFleet operation returned by the service.
- See Also:
-
deleteFleet
default DeleteFleetResponse deleteFleet(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException 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
DeleteFleetRequest.Builderavoiding the need to create one manually viaDeleteFleetRequest.builder()- Parameters:
deleteFleetRequest- AConsumerthat will call methods onDeleteFleetRequest.Builderto create a request.- Returns:
- Result of the DeleteFleet operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes a build project. When you delete a project, its builds are not deleted.
- Parameters:
deleteProjectRequest-- Returns:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes a build project. When you delete a project, its builds are not deleted.
This is a convenience which creates an instance of the
DeleteProjectRequest.Builderavoiding the need to create one manually viaDeleteProjectRequest.builder()- Parameters:
deleteProjectRequest- AConsumerthat will call methods onDeleteProjectRequest.Builderto create a request.- Returns:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteReport
default DeleteReportResponse deleteReport(DeleteReportRequest deleteReportRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes a report.
- Parameters:
deleteReportRequest-- Returns:
- Result of the DeleteReport operation returned by the service.
- See Also:
-
deleteReport
default DeleteReportResponse deleteReport(Consumer<DeleteReportRequest.Builder> deleteReportRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes a report.
This is a convenience which creates an instance of the
DeleteReportRequest.Builderavoiding the need to create one manually viaDeleteReportRequest.builder()- Parameters:
deleteReportRequest- AConsumerthat will call methods onDeleteReportRequest.Builderto create a request.- Returns:
- Result of the DeleteReport operation returned by the service.
- See Also:
-
deleteReportGroup
default DeleteReportGroupResponse deleteReportGroup(DeleteReportGroupRequest deleteReportGroupRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes a report group. Before you delete a report group, you must delete its reports.
- Parameters:
deleteReportGroupRequest-- Returns:
- Result of the DeleteReportGroup operation returned by the service.
- See Also:
-
deleteReportGroup
default DeleteReportGroupResponse deleteReportGroup(Consumer<DeleteReportGroupRequest.Builder> deleteReportGroupRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException 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
DeleteReportGroupRequest.Builderavoiding the need to create one manually viaDeleteReportGroupRequest.builder()- Parameters:
deleteReportGroupRequest- AConsumerthat will call methods onDeleteReportGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteReportGroup operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes a resource policy that is identified by its resource ARN.
- Parameters:
deleteResourcePolicyRequest-- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Deletes a resource policy that is identified by its resource ARN.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteSourceCredentials
default DeleteSourceCredentialsResponse deleteSourceCredentials(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
- Parameters:
deleteSourceCredentialsRequest-- Returns:
- Result of the DeleteSourceCredentials operation returned by the service.
- See Also:
-
deleteSourceCredentials
default DeleteSourceCredentialsResponse deleteSourceCredentials(Consumer<DeleteSourceCredentialsRequest.Builder> deleteSourceCredentialsRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
This is a convenience which creates an instance of the
DeleteSourceCredentialsRequest.Builderavoiding the need to create one manually viaDeleteSourceCredentialsRequest.builder()- Parameters:
deleteSourceCredentialsRequest- AConsumerthat will call methods onDeleteSourceCredentialsRequest.Builderto create a request.- Returns:
- Result of the DeleteSourceCredentials operation returned by the service.
- See Also:
-
deleteWebhook
default DeleteWebhookResponse deleteWebhook(DeleteWebhookRequest deleteWebhookRequest) throws InvalidInputException, ResourceNotFoundException, OAuthProviderException, AwsServiceException, SdkClientException, CodeBuildException 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.
- Parameters:
deleteWebhookRequest-- Returns:
- Result of the DeleteWebhook operation returned by the service.
- See Also:
-
deleteWebhook
default DeleteWebhookResponse deleteWebhook(Consumer<DeleteWebhookRequest.Builder> deleteWebhookRequest) throws InvalidInputException, ResourceNotFoundException, OAuthProviderException, AwsServiceException, SdkClientException, CodeBuildException 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
DeleteWebhookRequest.Builderavoiding the need to create one manually viaDeleteWebhookRequest.builder()- Parameters:
deleteWebhookRequest- AConsumerthat will call methods onDeleteWebhookRequest.Builderto create a request.- Returns:
- Result of the DeleteWebhook operation returned by the service.
- See Also:
-
describeCodeCoverages
default DescribeCodeCoveragesResponse describeCodeCoverages(DescribeCodeCoveragesRequest describeCodeCoveragesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Retrieves one or more code coverage reports.
- Parameters:
describeCodeCoveragesRequest-- Returns:
- Result of the DescribeCodeCoverages operation returned by the service.
- See Also:
-
describeCodeCoverages
default DescribeCodeCoveragesResponse describeCodeCoverages(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Retrieves one or more code coverage reports.
This is a convenience which creates an instance of the
DescribeCodeCoveragesRequest.Builderavoiding the need to create one manually viaDescribeCodeCoveragesRequest.builder()- Parameters:
describeCodeCoveragesRequest- AConsumerthat will call methods onDescribeCodeCoveragesRequest.Builderto create a request.- Returns:
- Result of the DescribeCodeCoverages operation returned by the service.
- See Also:
-
describeCodeCoveragesPaginator
default DescribeCodeCoveragesIterable describeCodeCoveragesPaginator(DescribeCodeCoveragesRequest describeCodeCoveragesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client.describeCodeCoveragesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client .describeCodeCoveragesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client.describeCodeCoveragesPaginator(request); responses.iterator().forEachRemaining(....);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
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)operation.- Parameters:
describeCodeCoveragesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeCodeCoveragesPaginator
default DescribeCodeCoveragesIterable describeCodeCoveragesPaginator(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client.describeCodeCoveragesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client .describeCodeCoveragesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client.describeCodeCoveragesPaginator(request); responses.iterator().forEachRemaining(....);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
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)operation.
This is a convenience which creates an instance of the
DescribeCodeCoveragesRequest.Builderavoiding the need to create one manually viaDescribeCodeCoveragesRequest.builder()- Parameters:
describeCodeCoveragesRequest- AConsumerthat will call methods onDescribeCodeCoveragesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeTestCases
default DescribeTestCasesResponse describeTestCases(DescribeTestCasesRequest describeTestCasesRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Returns a list of details about test cases for a report.
- Parameters:
describeTestCasesRequest-- Returns:
- Result of the DescribeTestCases operation returned by the service.
- See Also:
-
describeTestCases
default DescribeTestCasesResponse describeTestCases(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Returns a list of details about test cases for a report.
This is a convenience which creates an instance of the
DescribeTestCasesRequest.Builderavoiding the need to create one manually viaDescribeTestCasesRequest.builder()- Parameters:
describeTestCasesRequest- AConsumerthat will call methods onDescribeTestCasesRequest.Builderto create a request.- Returns:
- Result of the DescribeTestCases operation returned by the service.
- See Also:
-
describeTestCasesPaginator
default DescribeTestCasesIterable describeTestCasesPaginator(DescribeTestCasesRequest describeTestCasesRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client.describeTestCasesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client .describeTestCasesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client.describeTestCasesPaginator(request); responses.iterator().forEachRemaining(....);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
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)operation.- Parameters:
describeTestCasesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeTestCasesPaginator
default DescribeTestCasesIterable describeTestCasesPaginator(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client.describeTestCasesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client .describeTestCasesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client.describeTestCasesPaginator(request); responses.iterator().forEachRemaining(....);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
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)operation.
This is a convenience which creates an instance of the
DescribeTestCasesRequest.Builderavoiding the need to create one manually viaDescribeTestCasesRequest.builder()- Parameters:
describeTestCasesRequest- AConsumerthat will call methods onDescribeTestCasesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getReportGroupTrend
default GetReportGroupTrendResponse getReportGroupTrend(GetReportGroupTrendRequest getReportGroupTrendRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Analyzes and accumulates test report values for the specified test reports.
- Parameters:
getReportGroupTrendRequest-- Returns:
- Result of the GetReportGroupTrend operation returned by the service.
- See Also:
-
getReportGroupTrend
default GetReportGroupTrendResponse getReportGroupTrend(Consumer<GetReportGroupTrendRequest.Builder> getReportGroupTrendRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Analyzes and accumulates test report values for the specified test reports.
This is a convenience which creates an instance of the
GetReportGroupTrendRequest.Builderavoiding the need to create one manually viaGetReportGroupTrendRequest.builder()- Parameters:
getReportGroupTrendRequest- AConsumerthat will call methods onGetReportGroupTrendRequest.Builderto create a request.- Returns:
- Result of the GetReportGroupTrend operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets a resource policy that is identified by its resource ARN.
- Parameters:
getResourcePolicyRequest-- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets a resource policy that is identified by its resource ARN.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
importSourceCredentials
default ImportSourceCredentialsResponse importSourceCredentials(ImportSourceCredentialsRequest importSourceCredentialsRequest) throws InvalidInputException, AccountLimitExceededException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, CodeBuildException 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.
- Parameters:
importSourceCredentialsRequest-- Returns:
- Result of the ImportSourceCredentials operation returned by the service.
- See Also:
-
importSourceCredentials
default ImportSourceCredentialsResponse importSourceCredentials(Consumer<ImportSourceCredentialsRequest.Builder> importSourceCredentialsRequest) throws InvalidInputException, AccountLimitExceededException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, CodeBuildException 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
ImportSourceCredentialsRequest.Builderavoiding the need to create one manually viaImportSourceCredentialsRequest.builder()- Parameters:
importSourceCredentialsRequest- AConsumerthat will call methods onImportSourceCredentialsRequest.Builderto create a request.- Returns:
- Result of the ImportSourceCredentials operation returned by the service.
- See Also:
-
invalidateProjectCache
default InvalidateProjectCacheResponse invalidateProjectCache(InvalidateProjectCacheRequest invalidateProjectCacheRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Resets the cache for a project.
- Parameters:
invalidateProjectCacheRequest-- Returns:
- Result of the InvalidateProjectCache operation returned by the service.
- See Also:
-
invalidateProjectCache
default InvalidateProjectCacheResponse invalidateProjectCache(Consumer<InvalidateProjectCacheRequest.Builder> invalidateProjectCacheRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Resets the cache for a project.
This is a convenience which creates an instance of the
InvalidateProjectCacheRequest.Builderavoiding the need to create one manually viaInvalidateProjectCacheRequest.builder()- Parameters:
invalidateProjectCacheRequest- AConsumerthat will call methods onInvalidateProjectCacheRequest.Builderto create a request.- Returns:
- Result of the InvalidateProjectCache operation returned by the service.
- See Also:
-
listBuildBatches
default ListBuildBatchesResponse listBuildBatches(ListBuildBatchesRequest listBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Retrieves the identifiers of your build batches in the current region.
- Parameters:
listBuildBatchesRequest-- Returns:
- Result of the ListBuildBatches operation returned by the service.
- See Also:
-
listBuildBatches
default ListBuildBatchesResponse listBuildBatches(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Retrieves the identifiers of your build batches in the current region.
This is a convenience which creates an instance of the
ListBuildBatchesRequest.Builderavoiding the need to create one manually viaListBuildBatchesRequest.builder()- Parameters:
listBuildBatchesRequest- AConsumerthat will call methods onListBuildBatchesRequest.Builderto create a request.- Returns:
- Result of the ListBuildBatches operation returned by the service.
- See Also:
-
listBuildBatchesPaginator
default ListBuildBatchesIterable listBuildBatchesPaginator(ListBuildBatchesRequest listBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client.listBuildBatchesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client .listBuildBatchesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client.listBuildBatchesPaginator(request); responses.iterator().forEachRemaining(....);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
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)operation.- Parameters:
listBuildBatchesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuildBatchesPaginator
default ListBuildBatchesIterable listBuildBatchesPaginator(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client.listBuildBatchesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client .listBuildBatchesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client.listBuildBatchesPaginator(request); responses.iterator().forEachRemaining(....);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
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)operation.
This is a convenience which creates an instance of the
ListBuildBatchesRequest.Builderavoiding the need to create one manually viaListBuildBatchesRequest.builder()- Parameters:
listBuildBatchesRequest- AConsumerthat will call methods onListBuildBatchesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuildBatchesForProject
default ListBuildBatchesForProjectResponse listBuildBatchesForProject(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Retrieves the identifiers of the build batches for a specific project.
- Parameters:
listBuildBatchesForProjectRequest-- Returns:
- Result of the ListBuildBatchesForProject operation returned by the service.
- See Also:
-
listBuildBatchesForProject
default ListBuildBatchesForProjectResponse listBuildBatchesForProject(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Retrieves the identifiers of the build batches for a specific project.
This is a convenience which creates an instance of the
ListBuildBatchesForProjectRequest.Builderavoiding the need to create one manually viaListBuildBatchesForProjectRequest.builder()- Parameters:
listBuildBatchesForProjectRequest- AConsumerthat will call methods onListBuildBatchesForProjectRequest.Builderto create a request.- Returns:
- Result of the ListBuildBatchesForProject operation returned by the service.
- See Also:
-
listBuildBatchesForProjectPaginator
default ListBuildBatchesForProjectIterable listBuildBatchesForProjectPaginator(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client.listBuildBatchesForProjectPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client .listBuildBatchesForProjectPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client.listBuildBatchesForProjectPaginator(request); responses.iterator().forEachRemaining(....);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
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)operation.- Parameters:
listBuildBatchesForProjectRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuildBatchesForProjectPaginator
default ListBuildBatchesForProjectIterable listBuildBatchesForProjectPaginator(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client.listBuildBatchesForProjectPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client .listBuildBatchesForProjectPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client.listBuildBatchesForProjectPaginator(request); responses.iterator().forEachRemaining(....);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
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)operation.
This is a convenience which creates an instance of the
ListBuildBatchesForProjectRequest.Builderavoiding the need to create one manually viaListBuildBatchesForProjectRequest.builder()- Parameters:
listBuildBatchesForProjectRequest- AConsumerthat will call methods onListBuildBatchesForProjectRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuilds
default ListBuildsResponse listBuilds(ListBuildsRequest listBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets a list of build IDs, with each build ID representing a single build.
- Parameters:
listBuildsRequest-- Returns:
- Result of the ListBuilds operation returned by the service.
- See Also:
-
listBuilds
default ListBuildsResponse listBuilds(Consumer<ListBuildsRequest.Builder> listBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets a list of build IDs, with each build ID representing a single build.
This is a convenience which creates an instance of the
ListBuildsRequest.Builderavoiding the need to create one manually viaListBuildsRequest.builder()- Parameters:
listBuildsRequest- AConsumerthat will call methods onListBuildsRequest.Builderto create a request.- Returns:
- Result of the ListBuilds operation returned by the service.
- See Also:
-
listBuilds
default ListBuildsResponse listBuilds() throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildExceptionGets a list of build IDs, with each build ID representing a single build.
- Returns:
- Result of the ListBuilds operation returned by the service.
- See Also:
-
listBuildsPaginator
default ListBuildsIterable listBuildsPaginator() throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildExceptionThis is a variant of
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); responses.iterator().forEachRemaining(....);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
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuildsPaginator
default ListBuildsIterable listBuildsPaginator(ListBuildsRequest listBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); responses.iterator().forEachRemaining(....);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
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation.- Parameters:
listBuildsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuildsPaginator
default ListBuildsIterable listBuildsPaginator(Consumer<ListBuildsRequest.Builder> listBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); responses.iterator().forEachRemaining(....);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
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation.
This is a convenience which creates an instance of the
ListBuildsRequest.Builderavoiding the need to create one manually viaListBuildsRequest.builder()- Parameters:
listBuildsRequest- AConsumerthat will call methods onListBuildsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuildsForProject
default ListBuildsForProjectResponse listBuildsForProject(ListBuildsForProjectRequest listBuildsForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
- Parameters:
listBuildsForProjectRequest-- Returns:
- Result of the ListBuildsForProject operation returned by the service.
- See Also:
-
listBuildsForProject
default ListBuildsForProjectResponse listBuildsForProject(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException 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
ListBuildsForProjectRequest.Builderavoiding the need to create one manually viaListBuildsForProjectRequest.builder()- Parameters:
listBuildsForProjectRequest- AConsumerthat will call methods onListBuildsForProjectRequest.Builderto create a request.- Returns:
- Result of the ListBuildsForProject operation returned by the service.
- See Also:
-
listBuildsForProjectPaginator
default ListBuildsForProjectIterable listBuildsForProjectPaginator(ListBuildsForProjectRequest listBuildsForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client.listBuildsForProjectPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client .listBuildsForProjectPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client.listBuildsForProjectPaginator(request); responses.iterator().forEachRemaining(....);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
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)operation.- Parameters:
listBuildsForProjectRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuildsForProjectPaginator
default ListBuildsForProjectIterable listBuildsForProjectPaginator(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client.listBuildsForProjectPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client .listBuildsForProjectPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client.listBuildsForProjectPaginator(request); responses.iterator().forEachRemaining(....);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
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)operation.
This is a convenience which creates an instance of the
ListBuildsForProjectRequest.Builderavoiding the need to create one manually viaListBuildsForProjectRequest.builder()- Parameters:
listBuildsForProjectRequest- AConsumerthat will call methods onListBuildsForProjectRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCuratedEnvironmentImages
default ListCuratedEnvironmentImagesResponse listCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest) throws AwsServiceException, SdkClientException, CodeBuildException Gets information about Docker images that are managed by CodeBuild.
- Parameters:
listCuratedEnvironmentImagesRequest-- Returns:
- Result of the ListCuratedEnvironmentImages operation returned by the service.
- See Also:
-
listCuratedEnvironmentImages
default ListCuratedEnvironmentImagesResponse listCuratedEnvironmentImages(Consumer<ListCuratedEnvironmentImagesRequest.Builder> listCuratedEnvironmentImagesRequest) throws AwsServiceException, SdkClientException, CodeBuildException Gets information about Docker images that are managed by CodeBuild.
This is a convenience which creates an instance of the
ListCuratedEnvironmentImagesRequest.Builderavoiding the need to create one manually viaListCuratedEnvironmentImagesRequest.builder()- Parameters:
listCuratedEnvironmentImagesRequest- AConsumerthat will call methods onListCuratedEnvironmentImagesRequest.Builderto create a request.- Returns:
- Result of the ListCuratedEnvironmentImages operation returned by the service.
- See Also:
-
listCuratedEnvironmentImages
default ListCuratedEnvironmentImagesResponse listCuratedEnvironmentImages() throws AwsServiceException, SdkClientException, CodeBuildExceptionGets information about Docker images that are managed by CodeBuild.
- Returns:
- Result of the ListCuratedEnvironmentImages operation returned by the service.
- See Also:
-
listFleets
default ListFleetsResponse listFleets(ListFleetsRequest listFleetsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.
- Parameters:
listFleetsRequest-- Returns:
- Result of the ListFleets operation returned by the service.
- See Also:
-
listFleets
default ListFleetsResponse listFleets(Consumer<ListFleetsRequest.Builder> listFleetsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException 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
ListFleetsRequest.Builderavoiding the need to create one manually viaListFleetsRequest.builder()- Parameters:
listFleetsRequest- AConsumerthat will call methods onListFleetsRequest.Builderto create a request.- Returns:
- Result of the ListFleets operation returned by the service.
- See Also:
-
listFleetsPaginator
default ListFleetsIterable listFleetsPaginator(ListFleetsRequest listFleetsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListFleetsIterable responses = client.listFleetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListFleetsIterable responses = client.listFleetsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListFleetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListFleetsIterable responses = client.listFleetsPaginator(request); responses.iterator().forEachRemaining(....);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
listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)operation.- Parameters:
listFleetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFleetsPaginator
default ListFleetsIterable listFleetsPaginator(Consumer<ListFleetsRequest.Builder> listFleetsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListFleetsIterable responses = client.listFleetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListFleetsIterable responses = client.listFleetsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListFleetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListFleetsIterable responses = client.listFleetsPaginator(request); responses.iterator().forEachRemaining(....);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
listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)operation.
This is a convenience which creates an instance of the
ListFleetsRequest.Builderavoiding the need to create one manually viaListFleetsRequest.builder()- Parameters:
listFleetsRequest- AConsumerthat will call methods onListFleetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets a list of build project names, with each build project name representing a single build project.
- Parameters:
listProjectsRequest-- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException 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
ListProjectsRequest.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto create a request.- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjects
default ListProjectsResponse listProjects() throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildExceptionGets a list of build project names, with each build project name representing a single build project.
- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator() throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildExceptionThis is a variant of
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);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
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(ListProjectsRequest listProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);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
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation.- Parameters:
listProjectsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);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
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation.
This is a convenience which creates an instance of the
ListProjectsRequest.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReportGroups
default ListReportGroupsResponse listReportGroups(ListReportGroupsRequest listReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Gets a list ARNs for the report groups in the current Amazon Web Services account.
- Parameters:
listReportGroupsRequest-- Returns:
- Result of the ListReportGroups operation returned by the service.
- See Also:
-
listReportGroups
default ListReportGroupsResponse listReportGroups(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException 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
ListReportGroupsRequest.Builderavoiding the need to create one manually viaListReportGroupsRequest.builder()- Parameters:
listReportGroupsRequest- AConsumerthat will call methods onListReportGroupsRequest.Builderto create a request.- Returns:
- Result of the ListReportGroups operation returned by the service.
- See Also:
-
listReportGroupsPaginator
default ListReportGroupsIterable listReportGroupsPaginator(ListReportGroupsRequest listReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client.listReportGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client .listReportGroupsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client.listReportGroupsPaginator(request); responses.iterator().forEachRemaining(....);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
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)operation.- Parameters:
listReportGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReportGroupsPaginator
default ListReportGroupsIterable listReportGroupsPaginator(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client.listReportGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client .listReportGroupsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client.listReportGroupsPaginator(request); responses.iterator().forEachRemaining(....);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
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)operation.
This is a convenience which creates an instance of the
ListReportGroupsRequest.Builderavoiding the need to create one manually viaListReportGroupsRequest.builder()- Parameters:
listReportGroupsRequest- AConsumerthat will call methods onListReportGroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReports
default ListReportsResponse listReports(ListReportsRequest listReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Returns a list of ARNs for the reports in the current Amazon Web Services account.
- Parameters:
listReportsRequest-- Returns:
- Result of the ListReports operation returned by the service.
- See Also:
-
listReports
default ListReportsResponse listReports(Consumer<ListReportsRequest.Builder> listReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException 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
ListReportsRequest.Builderavoiding the need to create one manually viaListReportsRequest.builder()- Parameters:
listReportsRequest- AConsumerthat will call methods onListReportsRequest.Builderto create a request.- Returns:
- Result of the ListReports operation returned by the service.
- See Also:
-
listReportsPaginator
default ListReportsIterable listReportsPaginator(ListReportsRequest listReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request); responses.iterator().forEachRemaining(....);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
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)operation.- Parameters:
listReportsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReportsPaginator
default ListReportsIterable listReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request); responses.iterator().forEachRemaining(....);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
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)operation.
This is a convenience which creates an instance of the
ListReportsRequest.Builderavoiding the need to create one manually viaListReportsRequest.builder()- Parameters:
listReportsRequest- AConsumerthat will call methods onListReportsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReportsForReportGroup
default ListReportsForReportGroupResponse listReportsForReportGroup(ListReportsForReportGroupRequest listReportsForReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Returns a list of ARNs for the reports that belong to a
ReportGroup.- Parameters:
listReportsForReportGroupRequest-- Returns:
- Result of the ListReportsForReportGroup operation returned by the service.
- See Also:
-
listReportsForReportGroup
default ListReportsForReportGroupResponse listReportsForReportGroup(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Returns a list of ARNs for the reports that belong to a
ReportGroup.
This is a convenience which creates an instance of the
ListReportsForReportGroupRequest.Builderavoiding the need to create one manually viaListReportsForReportGroupRequest.builder()- Parameters:
listReportsForReportGroupRequest- AConsumerthat will call methods onListReportsForReportGroupRequest.Builderto create a request.- Returns:
- Result of the ListReportsForReportGroup operation returned by the service.
- See Also:
-
listReportsForReportGroupPaginator
default ListReportsForReportGroupIterable listReportsForReportGroupPaginator(ListReportsForReportGroupRequest listReportsForReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client.listReportsForReportGroupPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client .listReportsForReportGroupPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client.listReportsForReportGroupPaginator(request); responses.iterator().forEachRemaining(....);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
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)operation.- Parameters:
listReportsForReportGroupRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReportsForReportGroupPaginator
default ListReportsForReportGroupIterable listReportsForReportGroupPaginator(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException This is a variant of
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client.listReportsForReportGroupPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client .listReportsForReportGroupPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client.listReportsForReportGroupPaginator(request); responses.iterator().forEachRemaining(....);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
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)operation.
This is a convenience which creates an instance of the
ListReportsForReportGroupRequest.Builderavoiding the need to create one manually viaListReportsForReportGroupRequest.builder()- Parameters:
listReportsForReportGroupRequest- AConsumerthat will call methods onListReportsForReportGroupRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSourceCredentials
default ListSourceCredentialsResponse listSourceCredentials(ListSourceCredentialsRequest listSourceCredentialsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Returns a list of
SourceCredentialsInfoobjects.- Parameters:
listSourceCredentialsRequest-- Returns:
- Result of the ListSourceCredentials operation returned by the service.
- See Also:
-
listSourceCredentials
default ListSourceCredentialsResponse listSourceCredentials(Consumer<ListSourceCredentialsRequest.Builder> listSourceCredentialsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Returns a list of
SourceCredentialsInfoobjects.
This is a convenience which creates an instance of the
ListSourceCredentialsRequest.Builderavoiding the need to create one manually viaListSourceCredentialsRequest.builder()- Parameters:
listSourceCredentialsRequest- AConsumerthat will call methods onListSourceCredentialsRequest.Builderto create a request.- Returns:
- Result of the ListSourceCredentials operation returned by the service.
- See Also:
-
listSourceCredentials
default ListSourceCredentialsResponse listSourceCredentials() throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildExceptionReturns a list of
SourceCredentialsInfoobjects.- Returns:
- Result of the ListSourceCredentials operation returned by the service.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Stores a resource policy for the ARN of a
ProjectorReportGroupobject.- Parameters:
putResourcePolicyRequest-- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException Stores a resource policy for the ARN of a
ProjectorReportGroupobject.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
retryBuild
default RetryBuildResponse retryBuild(RetryBuildRequest retryBuildRequest) throws InvalidInputException, ResourceNotFoundException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException Restarts a build.
- Parameters:
retryBuildRequest-- Returns:
- Result of the RetryBuild operation returned by the service.
- See Also:
-
retryBuild
default RetryBuildResponse retryBuild(Consumer<RetryBuildRequest.Builder> retryBuildRequest) throws InvalidInputException, ResourceNotFoundException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException Restarts a build.
This is a convenience which creates an instance of the
RetryBuildRequest.Builderavoiding the need to create one manually viaRetryBuildRequest.builder()- Parameters:
retryBuildRequest- AConsumerthat will call methods onRetryBuildRequest.Builderto create a request.- Returns:
- Result of the RetryBuild operation returned by the service.
- See Also:
-
retryBuildBatch
default RetryBuildBatchResponse retryBuildBatch(RetryBuildBatchRequest retryBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Restarts a failed batch build. Only batch builds that have failed can be retried.
- Parameters:
retryBuildBatchRequest-- Returns:
- Result of the RetryBuildBatch operation returned by the service.
- See Also:
-
retryBuildBatch
default RetryBuildBatchResponse retryBuildBatch(Consumer<RetryBuildBatchRequest.Builder> retryBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Restarts a failed batch build. Only batch builds that have failed can be retried.
This is a convenience which creates an instance of the
RetryBuildBatchRequest.Builderavoiding the need to create one manually viaRetryBuildBatchRequest.builder()- Parameters:
retryBuildBatchRequest- AConsumerthat will call methods onRetryBuildBatchRequest.Builderto create a request.- Returns:
- Result of the RetryBuildBatch operation returned by the service.
- See Also:
-
startBuild
default StartBuildResponse startBuild(StartBuildRequest startBuildRequest) throws InvalidInputException, ResourceNotFoundException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException 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.
- Parameters:
startBuildRequest-- Returns:
- Result of the StartBuild operation returned by the service.
- See Also:
-
startBuild
default StartBuildResponse startBuild(Consumer<StartBuildRequest.Builder> startBuildRequest) throws InvalidInputException, ResourceNotFoundException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException 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
StartBuildRequest.Builderavoiding the need to create one manually viaStartBuildRequest.builder()- Parameters:
startBuildRequest- AConsumerthat will call methods onStartBuildRequest.Builderto create a request.- Returns:
- Result of the StartBuild operation returned by the service.
- See Also:
-
startBuildBatch
default StartBuildBatchResponse startBuildBatch(StartBuildBatchRequest startBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Starts a batch build for a project.
- Parameters:
startBuildBatchRequest-- Returns:
- Result of the StartBuildBatch operation returned by the service.
- See Also:
-
startBuildBatch
default StartBuildBatchResponse startBuildBatch(Consumer<StartBuildBatchRequest.Builder> startBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Starts a batch build for a project.
This is a convenience which creates an instance of the
StartBuildBatchRequest.Builderavoiding the need to create one manually viaStartBuildBatchRequest.builder()- Parameters:
startBuildBatchRequest- AConsumerthat will call methods onStartBuildBatchRequest.Builderto create a request.- Returns:
- Result of the StartBuildBatch operation returned by the service.
- See Also:
-
stopBuild
default StopBuildResponse stopBuild(StopBuildRequest stopBuildRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Attempts to stop running a build.
- Parameters:
stopBuildRequest-- Returns:
- Result of the StopBuild operation returned by the service.
- See Also:
-
stopBuild
default StopBuildResponse stopBuild(Consumer<StopBuildRequest.Builder> stopBuildRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Attempts to stop running a build.
This is a convenience which creates an instance of the
StopBuildRequest.Builderavoiding the need to create one manually viaStopBuildRequest.builder()- Parameters:
stopBuildRequest- AConsumerthat will call methods onStopBuildRequest.Builderto create a request.- Returns:
- Result of the StopBuild operation returned by the service.
- See Also:
-
stopBuildBatch
default StopBuildBatchResponse stopBuildBatch(StopBuildBatchRequest stopBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Stops a running batch build.
- Parameters:
stopBuildBatchRequest-- Returns:
- Result of the StopBuildBatch operation returned by the service.
- See Also:
-
stopBuildBatch
default StopBuildBatchResponse stopBuildBatch(Consumer<StopBuildBatchRequest.Builder> stopBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Stops a running batch build.
This is a convenience which creates an instance of the
StopBuildBatchRequest.Builderavoiding the need to create one manually viaStopBuildBatchRequest.builder()- Parameters:
stopBuildBatchRequest- AConsumerthat will call methods onStopBuildBatchRequest.Builderto create a request.- Returns:
- Result of the StopBuildBatch operation returned by the service.
- See Also:
-
updateFleet
default UpdateFleetResponse updateFleet(UpdateFleetRequest updateFleetRequest) throws InvalidInputException, ResourceNotFoundException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException Updates a compute fleet.
- Parameters:
updateFleetRequest-- Returns:
- Result of the UpdateFleet operation returned by the service.
- See Also:
-
updateFleet
default UpdateFleetResponse updateFleet(Consumer<UpdateFleetRequest.Builder> updateFleetRequest) throws InvalidInputException, ResourceNotFoundException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException Updates a compute fleet.
This is a convenience which creates an instance of the
UpdateFleetRequest.Builderavoiding the need to create one manually viaUpdateFleetRequest.builder()- Parameters:
updateFleetRequest- AConsumerthat will call methods onUpdateFleetRequest.Builderto create a request.- Returns:
- Result of the UpdateFleet operation returned by the service.
- See Also:
-
updateProject
default UpdateProjectResponse updateProject(UpdateProjectRequest updateProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Changes the settings of a build project.
- Parameters:
updateProjectRequest-- Returns:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateProject
default UpdateProjectResponse updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Changes the settings of a build project.
This is a convenience which creates an instance of the
UpdateProjectRequest.Builderavoiding the need to create one manually viaUpdateProjectRequest.builder()- Parameters:
updateProjectRequest- AConsumerthat will call methods onUpdateProjectRequest.Builderto create a request.- Returns:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateProjectVisibility
default UpdateProjectVisibilityResponse updateProjectVisibility(UpdateProjectVisibilityRequest updateProjectVisibilityRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException 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.
- Parameters:
updateProjectVisibilityRequest-- Returns:
- Result of the UpdateProjectVisibility operation returned by the service.
- See Also:
-
-
updateProjectVisibility
default UpdateProjectVisibilityResponse updateProjectVisibility(Consumer<UpdateProjectVisibilityRequest.Builder> updateProjectVisibilityRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException 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
UpdateProjectVisibilityRequest.Builderavoiding the need to create one manually viaUpdateProjectVisibilityRequest.builder()- Parameters:
updateProjectVisibilityRequest- AConsumerthat will call methods onUpdateProjectVisibilityRequest.Builderto create a request.- Returns:
- Result of the UpdateProjectVisibility operation returned by the service.
- See Also:
-
-
updateReportGroup
default UpdateReportGroupResponse updateReportGroup(UpdateReportGroupRequest updateReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Updates a report group.
- Parameters:
updateReportGroupRequest-- Returns:
- Result of the UpdateReportGroup operation returned by the service.
- See Also:
-
updateReportGroup
default UpdateReportGroupResponse updateReportGroup(Consumer<UpdateReportGroupRequest.Builder> updateReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException Updates a report group.
This is a convenience which creates an instance of the
UpdateReportGroupRequest.Builderavoiding the need to create one manually viaUpdateReportGroupRequest.builder()- Parameters:
updateReportGroupRequest- AConsumerthat will call methods onUpdateReportGroupRequest.Builderto create a request.- Returns:
- Result of the UpdateReportGroup operation returned by the service.
- See Also:
-
updateWebhook
default UpdateWebhookResponse updateWebhook(UpdateWebhookRequest updateWebhookRequest) throws InvalidInputException, ResourceNotFoundException, OAuthProviderException, AwsServiceException, SdkClientException, CodeBuildException Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository,
rotateSecretis ignored.- Parameters:
updateWebhookRequest-- Returns:
- Result of the UpdateWebhook operation returned by the service.
- See Also:
-
updateWebhook
default UpdateWebhookResponse updateWebhook(Consumer<UpdateWebhookRequest.Builder> updateWebhookRequest) throws InvalidInputException, ResourceNotFoundException, OAuthProviderException, AwsServiceException, SdkClientException, CodeBuildException Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository,
rotateSecretis ignored.
This is a convenience which creates an instance of the
UpdateWebhookRequest.Builderavoiding the need to create one manually viaUpdateWebhookRequest.builder()- Parameters:
updateWebhookRequest- AConsumerthat will call methods onUpdateWebhookRequest.Builderto create a request.- Returns:
- Result of the UpdateWebhook operation returned by the service.
- See Also:
-
create
Create aCodeBuildClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aCodeBuildClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-