@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface CodeBuildAsyncClient extends AwsClient
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<BatchDeleteBuildsResponse> |
batchDeleteBuilds(BatchDeleteBuildsRequest batchDeleteBuildsRequest)
Deletes one or more builds.
|
default CompletableFuture<BatchDeleteBuildsResponse> |
batchDeleteBuilds(Consumer<BatchDeleteBuildsRequest.Builder> batchDeleteBuildsRequest)
Deletes one or more builds.
|
default CompletableFuture<BatchGetBuildBatchesResponse> |
batchGetBuildBatches(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest)
Retrieves information about one or more batch builds.
|
default CompletableFuture<BatchGetBuildBatchesResponse> |
batchGetBuildBatches(Consumer<BatchGetBuildBatchesRequest.Builder> batchGetBuildBatchesRequest)
Retrieves information about one or more batch builds.
|
default CompletableFuture<BatchGetBuildsResponse> |
batchGetBuilds(BatchGetBuildsRequest batchGetBuildsRequest)
Gets information about one or more builds.
|
default CompletableFuture<BatchGetBuildsResponse> |
batchGetBuilds(Consumer<BatchGetBuildsRequest.Builder> batchGetBuildsRequest)
Gets information about one or more builds.
|
default CompletableFuture<BatchGetProjectsResponse> |
batchGetProjects(BatchGetProjectsRequest batchGetProjectsRequest)
Gets information about one or more build projects.
|
default CompletableFuture<BatchGetProjectsResponse> |
batchGetProjects(Consumer<BatchGetProjectsRequest.Builder> batchGetProjectsRequest)
Gets information about one or more build projects.
|
default CompletableFuture<BatchGetReportGroupsResponse> |
batchGetReportGroups(BatchGetReportGroupsRequest batchGetReportGroupsRequest)
Returns an array of report groups.
|
default CompletableFuture<BatchGetReportGroupsResponse> |
batchGetReportGroups(Consumer<BatchGetReportGroupsRequest.Builder> batchGetReportGroupsRequest)
Returns an array of report groups.
|
default CompletableFuture<BatchGetReportsResponse> |
batchGetReports(BatchGetReportsRequest batchGetReportsRequest)
Returns an array of reports.
|
default CompletableFuture<BatchGetReportsResponse> |
batchGetReports(Consumer<BatchGetReportsRequest.Builder> batchGetReportsRequest)
Returns an array of reports.
|
static CodeBuildAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
CodeBuildAsyncClient. |
static CodeBuildAsyncClient |
create()
Create a
CodeBuildAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateProjectResponse> |
createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates a build project.
|
default CompletableFuture<CreateProjectResponse> |
createProject(CreateProjectRequest createProjectRequest)
Creates a build project.
|
default CompletableFuture<CreateReportGroupResponse> |
createReportGroup(Consumer<CreateReportGroupRequest.Builder> createReportGroupRequest)
Creates a report group.
|
default CompletableFuture<CreateReportGroupResponse> |
createReportGroup(CreateReportGroupRequest createReportGroupRequest)
Creates a report group.
|
default CompletableFuture<CreateWebhookResponse> |
createWebhook(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 CompletableFuture<CreateWebhookResponse> |
createWebhook(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 CompletableFuture<DeleteBuildBatchResponse> |
deleteBuildBatch(Consumer<DeleteBuildBatchRequest.Builder> deleteBuildBatchRequest)
Deletes a batch build.
|
default CompletableFuture<DeleteBuildBatchResponse> |
deleteBuildBatch(DeleteBuildBatchRequest deleteBuildBatchRequest)
Deletes a batch build.
|
default CompletableFuture<DeleteProjectResponse> |
deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)
Deletes a build project.
|
default CompletableFuture<DeleteProjectResponse> |
deleteProject(DeleteProjectRequest deleteProjectRequest)
Deletes a build project.
|
default CompletableFuture<DeleteReportResponse> |
deleteReport(Consumer<DeleteReportRequest.Builder> deleteReportRequest)
Deletes a report.
|
default CompletableFuture<DeleteReportResponse> |
deleteReport(DeleteReportRequest deleteReportRequest)
Deletes a report.
|
default CompletableFuture<DeleteReportGroupResponse> |
deleteReportGroup(Consumer<DeleteReportGroupRequest.Builder> deleteReportGroupRequest)
Deletes a report group.
|
default CompletableFuture<DeleteReportGroupResponse> |
deleteReportGroup(DeleteReportGroupRequest deleteReportGroupRequest)
Deletes a report group.
|
default CompletableFuture<DeleteResourcePolicyResponse> |
deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
|
default CompletableFuture<DeleteResourcePolicyResponse> |
deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
|
default CompletableFuture<DeleteSourceCredentialsResponse> |
deleteSourceCredentials(Consumer<DeleteSourceCredentialsRequest.Builder> deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
|
default CompletableFuture<DeleteSourceCredentialsResponse> |
deleteSourceCredentials(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
|
default CompletableFuture<DeleteWebhookResponse> |
deleteWebhook(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 CompletableFuture<DeleteWebhookResponse> |
deleteWebhook(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 CompletableFuture<DescribeCodeCoveragesResponse> |
describeCodeCoverages(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
|
default CompletableFuture<DescribeCodeCoveragesResponse> |
describeCodeCoverages(DescribeCodeCoveragesRequest describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
|
default DescribeCodeCoveragesPublisher |
describeCodeCoveragesPaginator(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
|
default DescribeCodeCoveragesPublisher |
describeCodeCoveragesPaginator(DescribeCodeCoveragesRequest describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
|
default CompletableFuture<DescribeTestCasesResponse> |
describeTestCases(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest)
Returns a list of details about test cases for a report.
|
default CompletableFuture<DescribeTestCasesResponse> |
describeTestCases(DescribeTestCasesRequest describeTestCasesRequest)
Returns a list of details about test cases for a report.
|
default DescribeTestCasesPublisher |
describeTestCasesPaginator(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest)
Returns a list of details about test cases for a report.
|
default DescribeTestCasesPublisher |
describeTestCasesPaginator(DescribeTestCasesRequest describeTestCasesRequest)
Returns a list of details about test cases for a report.
|
default CompletableFuture<GetReportGroupTrendResponse> |
getReportGroupTrend(Consumer<GetReportGroupTrendRequest.Builder> getReportGroupTrendRequest)
Analyzes and accumulates test report values for the specified test reports.
|
default CompletableFuture<GetReportGroupTrendResponse> |
getReportGroupTrend(GetReportGroupTrendRequest getReportGroupTrendRequest)
Analyzes and accumulates test report values for the specified test reports.
|
default CompletableFuture<GetResourcePolicyResponse> |
getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
|
default CompletableFuture<GetResourcePolicyResponse> |
getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
|
default CompletableFuture<ImportSourceCredentialsResponse> |
importSourceCredentials(Consumer<ImportSourceCredentialsRequest.Builder> importSourceCredentialsRequest)
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub,
GitHub Enterprise, or Bitbucket repository.
|
default CompletableFuture<ImportSourceCredentialsResponse> |
importSourceCredentials(ImportSourceCredentialsRequest importSourceCredentialsRequest)
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub,
GitHub Enterprise, or Bitbucket repository.
|
default CompletableFuture<InvalidateProjectCacheResponse> |
invalidateProjectCache(Consumer<InvalidateProjectCacheRequest.Builder> invalidateProjectCacheRequest)
Resets the cache for a project.
|
default CompletableFuture<InvalidateProjectCacheResponse> |
invalidateProjectCache(InvalidateProjectCacheRequest invalidateProjectCacheRequest)
Resets the cache for a project.
|
default CompletableFuture<ListBuildBatchesResponse> |
listBuildBatches(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
|
default CompletableFuture<ListBuildBatchesResponse> |
listBuildBatches(ListBuildBatchesRequest listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
|
default CompletableFuture<ListBuildBatchesForProjectResponse> |
listBuildBatchesForProject(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
|
default CompletableFuture<ListBuildBatchesForProjectResponse> |
listBuildBatchesForProject(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
|
default ListBuildBatchesForProjectPublisher |
listBuildBatchesForProjectPaginator(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
|
default ListBuildBatchesForProjectPublisher |
listBuildBatchesForProjectPaginator(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
|
default ListBuildBatchesPublisher |
listBuildBatchesPaginator(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
|
default ListBuildBatchesPublisher |
listBuildBatchesPaginator(ListBuildBatchesRequest listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
|
default CompletableFuture<ListBuildsResponse> |
listBuilds()
Gets a list of build IDs, with each build ID representing a single build.
|
default CompletableFuture<ListBuildsResponse> |
listBuilds(Consumer<ListBuildsRequest.Builder> listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
|
default CompletableFuture<ListBuildsResponse> |
listBuilds(ListBuildsRequest listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
|
default CompletableFuture<ListBuildsForProjectResponse> |
listBuildsForProject(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a
single build.
|
default CompletableFuture<ListBuildsForProjectResponse> |
listBuildsForProject(ListBuildsForProjectRequest listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a
single build.
|
default ListBuildsForProjectPublisher |
listBuildsForProjectPaginator(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a
single build.
|
default ListBuildsForProjectPublisher |
listBuildsForProjectPaginator(ListBuildsForProjectRequest listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a
single build.
|
default ListBuildsPublisher |
listBuildsPaginator()
Gets a list of build IDs, with each build ID representing a single build.
|
default ListBuildsPublisher |
listBuildsPaginator(Consumer<ListBuildsRequest.Builder> listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
|
default ListBuildsPublisher |
listBuildsPaginator(ListBuildsRequest listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
|
default CompletableFuture<ListCuratedEnvironmentImagesResponse> |
listCuratedEnvironmentImages()
Gets information about Docker images that are managed by CodeBuild.
|
default CompletableFuture<ListCuratedEnvironmentImagesResponse> |
listCuratedEnvironmentImages(Consumer<ListCuratedEnvironmentImagesRequest.Builder> listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by CodeBuild.
|
default CompletableFuture<ListCuratedEnvironmentImagesResponse> |
listCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by CodeBuild.
|
default CompletableFuture<ListProjectsResponse> |
listProjects()
Gets a list of build project names, with each build project name representing a single build project.
|
default CompletableFuture<ListProjectsResponse> |
listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
|
default CompletableFuture<ListProjectsResponse> |
listProjects(ListProjectsRequest listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
|
default ListProjectsPublisher |
listProjectsPaginator()
Gets a list of build project names, with each build project name representing a single build project.
|
default ListProjectsPublisher |
listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
|
default ListProjectsPublisher |
listProjectsPaginator(ListProjectsRequest listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
|
default CompletableFuture<ListReportGroupsResponse> |
listReportGroups(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
|
default CompletableFuture<ListReportGroupsResponse> |
listReportGroups(ListReportGroupsRequest listReportGroupsRequest)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
|
default ListReportGroupsPublisher |
listReportGroupsPaginator(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
|
default ListReportGroupsPublisher |
listReportGroupsPaginator(ListReportGroupsRequest listReportGroupsRequest)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
|
default CompletableFuture<ListReportsResponse> |
listReports(Consumer<ListReportsRequest.Builder> listReportsRequest)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
|
default CompletableFuture<ListReportsResponse> |
listReports(ListReportsRequest listReportsRequest)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
|
default CompletableFuture<ListReportsForReportGroupResponse> |
listReportsForReportGroup(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup. |
default CompletableFuture<ListReportsForReportGroupResponse> |
listReportsForReportGroup(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup. |
default ListReportsForReportGroupPublisher |
listReportsForReportGroupPaginator(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup. |
default ListReportsForReportGroupPublisher |
listReportsForReportGroupPaginator(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup. |
default ListReportsPublisher |
listReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
|
default ListReportsPublisher |
listReportsPaginator(ListReportsRequest listReportsRequest)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
|
default CompletableFuture<ListSharedProjectsResponse> |
listSharedProjects(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
|
default CompletableFuture<ListSharedProjectsResponse> |
listSharedProjects(ListSharedProjectsRequest listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
|
default ListSharedProjectsPublisher |
listSharedProjectsPaginator(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
|
default ListSharedProjectsPublisher |
listSharedProjectsPaginator(ListSharedProjectsRequest listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
|
default CompletableFuture<ListSharedReportGroupsResponse> |
listSharedReportGroups(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
|
default CompletableFuture<ListSharedReportGroupsResponse> |
listSharedReportGroups(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
|
default ListSharedReportGroupsPublisher |
listSharedReportGroupsPaginator(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
|
default ListSharedReportGroupsPublisher |
listSharedReportGroupsPaginator(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
|
default CompletableFuture<ListSourceCredentialsResponse> |
listSourceCredentials()
Returns a list of
SourceCredentialsInfo objects. |
default CompletableFuture<ListSourceCredentialsResponse> |
listSourceCredentials(Consumer<ListSourceCredentialsRequest.Builder> listSourceCredentialsRequest)
Returns a list of
SourceCredentialsInfo objects. |
default CompletableFuture<ListSourceCredentialsResponse> |
listSourceCredentials(ListSourceCredentialsRequest listSourceCredentialsRequest)
Returns a list of
SourceCredentialsInfo objects. |
default CompletableFuture<PutResourcePolicyResponse> |
putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
Stores a resource policy for the ARN of a
Project or ReportGroup object. |
default CompletableFuture<PutResourcePolicyResponse> |
putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Stores a resource policy for the ARN of a
Project or ReportGroup object. |
default CompletableFuture<RetryBuildResponse> |
retryBuild(Consumer<RetryBuildRequest.Builder> retryBuildRequest)
Restarts a build.
|
default CompletableFuture<RetryBuildResponse> |
retryBuild(RetryBuildRequest retryBuildRequest)
Restarts a build.
|
default CompletableFuture<RetryBuildBatchResponse> |
retryBuildBatch(Consumer<RetryBuildBatchRequest.Builder> retryBuildBatchRequest)
Restarts a failed batch build.
|
default CompletableFuture<RetryBuildBatchResponse> |
retryBuildBatch(RetryBuildBatchRequest retryBuildBatchRequest)
Restarts a failed batch build.
|
default CodeBuildServiceClientConfiguration |
serviceClientConfiguration() |
default CompletableFuture<StartBuildResponse> |
startBuild(Consumer<StartBuildRequest.Builder> startBuildRequest)
Starts running a build.
|
default CompletableFuture<StartBuildResponse> |
startBuild(StartBuildRequest startBuildRequest)
Starts running a build.
|
default CompletableFuture<StartBuildBatchResponse> |
startBuildBatch(Consumer<StartBuildBatchRequest.Builder> startBuildBatchRequest)
Starts a batch build for a project.
|
default CompletableFuture<StartBuildBatchResponse> |
startBuildBatch(StartBuildBatchRequest startBuildBatchRequest)
Starts a batch build for a project.
|
default CompletableFuture<StopBuildResponse> |
stopBuild(Consumer<StopBuildRequest.Builder> stopBuildRequest)
Attempts to stop running a build.
|
default CompletableFuture<StopBuildResponse> |
stopBuild(StopBuildRequest stopBuildRequest)
Attempts to stop running a build.
|
default CompletableFuture<StopBuildBatchResponse> |
stopBuildBatch(Consumer<StopBuildBatchRequest.Builder> stopBuildBatchRequest)
Stops a running batch build.
|
default CompletableFuture<StopBuildBatchResponse> |
stopBuildBatch(StopBuildBatchRequest stopBuildBatchRequest)
Stops a running batch build.
|
default CompletableFuture<UpdateProjectResponse> |
updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)
Changes the settings of a build project.
|
default CompletableFuture<UpdateProjectResponse> |
updateProject(UpdateProjectRequest updateProjectRequest)
Changes the settings of a build project.
|
default CompletableFuture<UpdateProjectVisibilityResponse> |
updateProjectVisibility(Consumer<UpdateProjectVisibilityRequest.Builder> updateProjectVisibilityRequest)
Changes the public visibility for a project.
|
default CompletableFuture<UpdateProjectVisibilityResponse> |
updateProjectVisibility(UpdateProjectVisibilityRequest updateProjectVisibilityRequest)
Changes the public visibility for a project.
|
default CompletableFuture<UpdateReportGroupResponse> |
updateReportGroup(Consumer<UpdateReportGroupRequest.Builder> updateReportGroupRequest)
Updates a report group.
|
default CompletableFuture<UpdateReportGroupResponse> |
updateReportGroup(UpdateReportGroupRequest updateReportGroupRequest)
Updates a report group.
|
default CompletableFuture<UpdateWebhookResponse> |
updateWebhook(Consumer<UpdateWebhookRequest.Builder> updateWebhookRequest)
Updates the webhook associated with an CodeBuild build project.
|
default CompletableFuture<UpdateWebhookResponse> |
updateWebhook(UpdateWebhookRequest updateWebhookRequest)
Updates the webhook associated with an CodeBuild build project.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<BatchDeleteBuildsResponse> batchDeleteBuilds(BatchDeleteBuildsRequest batchDeleteBuildsRequest)
Deletes one or more builds.
batchDeleteBuildsRequest - default CompletableFuture<BatchDeleteBuildsResponse> batchDeleteBuilds(Consumer<BatchDeleteBuildsRequest.Builder> batchDeleteBuildsRequest)
Deletes one or more builds.
This is a convenience which creates an instance of the BatchDeleteBuildsRequest.Builder avoiding the need
to create one manually via BatchDeleteBuildsRequest.builder()
batchDeleteBuildsRequest - A Consumer that will call methods on
BatchDeleteBuildsRequest.Builder to create a
request.default CompletableFuture<BatchGetBuildBatchesResponse> batchGetBuildBatches(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest)
Retrieves information about one or more batch builds.
batchGetBuildBatchesRequest - default CompletableFuture<BatchGetBuildBatchesResponse> batchGetBuildBatches(Consumer<BatchGetBuildBatchesRequest.Builder> batchGetBuildBatchesRequest)
Retrieves information about one or more batch builds.
This is a convenience which creates an instance of the BatchGetBuildBatchesRequest.Builder avoiding the
need to create one manually via BatchGetBuildBatchesRequest.builder()
batchGetBuildBatchesRequest - A Consumer that will call methods on
BatchGetBuildBatchesRequest.Builder to create a
request.default CompletableFuture<BatchGetBuildsResponse> batchGetBuilds(BatchGetBuildsRequest batchGetBuildsRequest)
Gets information about one or more builds.
batchGetBuildsRequest - default CompletableFuture<BatchGetBuildsResponse> batchGetBuilds(Consumer<BatchGetBuildsRequest.Builder> batchGetBuildsRequest)
Gets information about one or more builds.
This is a convenience which creates an instance of the BatchGetBuildsRequest.Builder avoiding the need to
create one manually via BatchGetBuildsRequest.builder()
batchGetBuildsRequest - A Consumer that will call methods on
BatchGetBuildsRequest.Builder to create a request.default CompletableFuture<BatchGetProjectsResponse> batchGetProjects(BatchGetProjectsRequest batchGetProjectsRequest)
Gets information about one or more build projects.
batchGetProjectsRequest - default CompletableFuture<BatchGetProjectsResponse> batchGetProjects(Consumer<BatchGetProjectsRequest.Builder> batchGetProjectsRequest)
Gets information about one or more build projects.
This is a convenience which creates an instance of the BatchGetProjectsRequest.Builder avoiding the need
to create one manually via BatchGetProjectsRequest.builder()
batchGetProjectsRequest - A Consumer that will call methods on
BatchGetProjectsRequest.Builder to create a
request.default CompletableFuture<BatchGetReportGroupsResponse> batchGetReportGroups(BatchGetReportGroupsRequest batchGetReportGroupsRequest)
Returns an array of report groups.
batchGetReportGroupsRequest - default CompletableFuture<BatchGetReportGroupsResponse> batchGetReportGroups(Consumer<BatchGetReportGroupsRequest.Builder> batchGetReportGroupsRequest)
Returns an array of report groups.
This is a convenience which creates an instance of the BatchGetReportGroupsRequest.Builder avoiding the
need to create one manually via BatchGetReportGroupsRequest.builder()
batchGetReportGroupsRequest - A Consumer that will call methods on
BatchGetReportGroupsRequest.Builder to create a
request.default CompletableFuture<BatchGetReportsResponse> batchGetReports(BatchGetReportsRequest batchGetReportsRequest)
Returns an array of reports.
batchGetReportsRequest - default CompletableFuture<BatchGetReportsResponse> batchGetReports(Consumer<BatchGetReportsRequest.Builder> batchGetReportsRequest)
Returns an array of reports.
This is a convenience which creates an instance of the BatchGetReportsRequest.Builder avoiding the need
to create one manually via BatchGetReportsRequest.builder()
batchGetReportsRequest - A Consumer that will call methods on
BatchGetReportsRequest.Builder to create a
request.default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest)
Creates a build project.
createProjectRequest - default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates a build project.
This is a convenience which creates an instance of the CreateProjectRequest.Builder avoiding the need to
create one manually via CreateProjectRequest.builder()
createProjectRequest - A Consumer that will call methods on
CreateProjectRequest.Builder to create a request.default CompletableFuture<CreateReportGroupResponse> createReportGroup(CreateReportGroupRequest createReportGroupRequest)
Creates a report group. A report group contains a collection of reports.
createReportGroupRequest - default CompletableFuture<CreateReportGroupResponse> createReportGroup(Consumer<CreateReportGroupRequest.Builder> createReportGroupRequest)
Creates a report group. A report group contains a collection of reports.
This is a convenience which creates an instance of the CreateReportGroupRequest.Builder avoiding the need
to create one manually via CreateReportGroupRequest.builder()
createReportGroupRequest - A Consumer that will call methods on
CreateReportGroupRequest.Builder to create a
request.default CompletableFuture<CreateWebhookResponse> createWebhook(CreateWebhookRequest createWebhookRequest)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
createWebhookRequest - default CompletableFuture<CreateWebhookResponse> createWebhook(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.
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.Builder avoiding the need to
create one manually via CreateWebhookRequest.builder()
createWebhookRequest - A Consumer that will call methods on
CreateWebhookRequest.Builder to create a request.default CompletableFuture<DeleteBuildBatchResponse> deleteBuildBatch(DeleteBuildBatchRequest deleteBuildBatchRequest)
Deletes a batch build.
deleteBuildBatchRequest - default CompletableFuture<DeleteBuildBatchResponse> deleteBuildBatch(Consumer<DeleteBuildBatchRequest.Builder> deleteBuildBatchRequest)
Deletes a batch build.
This is a convenience which creates an instance of the DeleteBuildBatchRequest.Builder avoiding the need
to create one manually via DeleteBuildBatchRequest.builder()
deleteBuildBatchRequest - A Consumer that will call methods on
DeleteBuildBatchRequest.Builder to create a
request.default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest)
Deletes a build project. When you delete a project, its builds are not deleted.
deleteProjectRequest - default CompletableFuture<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)
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.Builder avoiding the need to
create one manually via DeleteProjectRequest.builder()
deleteProjectRequest - A Consumer that will call methods on
DeleteProjectRequest.Builder to create a request.default CompletableFuture<DeleteReportResponse> deleteReport(DeleteReportRequest deleteReportRequest)
Deletes a report.
deleteReportRequest - default CompletableFuture<DeleteReportResponse> deleteReport(Consumer<DeleteReportRequest.Builder> deleteReportRequest)
Deletes a report.
This is a convenience which creates an instance of the DeleteReportRequest.Builder avoiding the need to
create one manually via DeleteReportRequest.builder()
deleteReportRequest - A Consumer that will call methods on
DeleteReportRequest.Builder to create a request.default CompletableFuture<DeleteReportGroupResponse> deleteReportGroup(DeleteReportGroupRequest deleteReportGroupRequest)
Deletes a report group. Before you delete a report group, you must delete its reports.
deleteReportGroupRequest - default CompletableFuture<DeleteReportGroupResponse> deleteReportGroup(Consumer<DeleteReportGroupRequest.Builder> deleteReportGroupRequest)
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.Builder avoiding the need
to create one manually via DeleteReportGroupRequest.builder()
deleteReportGroupRequest - A Consumer that will call methods on
DeleteReportGroupRequest.Builder to create a
request.default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
deleteResourcePolicyRequest - default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder avoiding the
need to create one manually via DeleteResourcePolicyRequest.builder()
deleteResourcePolicyRequest - A Consumer that will call methods on
DeleteResourcePolicyRequest.Builder to create a
request.default CompletableFuture<DeleteSourceCredentialsResponse> deleteSourceCredentials(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
deleteSourceCredentialsRequest - default CompletableFuture<DeleteSourceCredentialsResponse> deleteSourceCredentials(Consumer<DeleteSourceCredentialsRequest.Builder> deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
This is a convenience which creates an instance of the DeleteSourceCredentialsRequest.Builder avoiding
the need to create one manually via DeleteSourceCredentialsRequest.builder()
deleteSourceCredentialsRequest - A Consumer that will call methods on
DeleteSourceCredentialsRequest.Builder to create a
request.default CompletableFuture<DeleteWebhookResponse> deleteWebhook(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.
deleteWebhookRequest - default CompletableFuture<DeleteWebhookResponse> deleteWebhook(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.
This is a convenience which creates an instance of the DeleteWebhookRequest.Builder avoiding the need to
create one manually via DeleteWebhookRequest.builder()
deleteWebhookRequest - A Consumer that will call methods on
DeleteWebhookRequest.Builder to create a request.default CompletableFuture<DescribeCodeCoveragesResponse> describeCodeCoverages(DescribeCodeCoveragesRequest describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
describeCodeCoveragesRequest - default CompletableFuture<DescribeCodeCoveragesResponse> describeCodeCoverages(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
This is a convenience which creates an instance of the DescribeCodeCoveragesRequest.Builder avoiding the
need to create one manually via DescribeCodeCoveragesRequest.builder()
describeCodeCoveragesRequest - A Consumer that will call methods on
DescribeCodeCoveragesRequest.Builder to create a
request.default DescribeCodeCoveragesPublisher describeCodeCoveragesPaginator(DescribeCodeCoveragesRequest describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
This is a variant of
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)
operation.
describeCodeCoveragesRequest - default DescribeCodeCoveragesPublisher describeCodeCoveragesPaginator(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
This is a variant of
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)
operation.
This is a convenience which creates an instance of the DescribeCodeCoveragesRequest.Builder avoiding the
need to create one manually via DescribeCodeCoveragesRequest.builder()
describeCodeCoveragesRequest - A Consumer that will call methods on
DescribeCodeCoveragesRequest.Builder to create a
request.default CompletableFuture<DescribeTestCasesResponse> describeTestCases(DescribeTestCasesRequest describeTestCasesRequest)
Returns a list of details about test cases for a report.
describeTestCasesRequest - default CompletableFuture<DescribeTestCasesResponse> describeTestCases(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest)
Returns a list of details about test cases for a report.
This is a convenience which creates an instance of the DescribeTestCasesRequest.Builder avoiding the need
to create one manually via DescribeTestCasesRequest.builder()
describeTestCasesRequest - A Consumer that will call methods on
DescribeTestCasesRequest.Builder to create a
request.default DescribeTestCasesPublisher describeTestCasesPaginator(DescribeTestCasesRequest describeTestCasesRequest)
Returns a list of details about test cases for a report.
This is a variant of
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)
operation.
describeTestCasesRequest - default DescribeTestCasesPublisher describeTestCasesPaginator(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest)
Returns a list of details about test cases for a report.
This is a variant of
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)
operation.
This is a convenience which creates an instance of the DescribeTestCasesRequest.Builder avoiding the need
to create one manually via DescribeTestCasesRequest.builder()
describeTestCasesRequest - A Consumer that will call methods on
DescribeTestCasesRequest.Builder to create a
request.default CompletableFuture<GetReportGroupTrendResponse> getReportGroupTrend(GetReportGroupTrendRequest getReportGroupTrendRequest)
Analyzes and accumulates test report values for the specified test reports.
getReportGroupTrendRequest - default CompletableFuture<GetReportGroupTrendResponse> getReportGroupTrend(Consumer<GetReportGroupTrendRequest.Builder> getReportGroupTrendRequest)
Analyzes and accumulates test report values for the specified test reports.
This is a convenience which creates an instance of the GetReportGroupTrendRequest.Builder avoiding the
need to create one manually via GetReportGroupTrendRequest.builder()
getReportGroupTrendRequest - A Consumer that will call methods on
GetReportGroupTrendRequest.Builder to create a
request.default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
getResourcePolicyRequest - default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
This is a convenience which creates an instance of the GetResourcePolicyRequest.Builder avoiding the need
to create one manually via GetResourcePolicyRequest.builder()
getResourcePolicyRequest - A Consumer that will call methods on
GetResourcePolicyRequest.Builder to create a
request.default CompletableFuture<ImportSourceCredentialsResponse> importSourceCredentials(ImportSourceCredentialsRequest importSourceCredentialsRequest)
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
importSourceCredentialsRequest - default CompletableFuture<ImportSourceCredentialsResponse> importSourceCredentials(Consumer<ImportSourceCredentialsRequest.Builder> importSourceCredentialsRequest)
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
This is a convenience which creates an instance of the ImportSourceCredentialsRequest.Builder avoiding
the need to create one manually via ImportSourceCredentialsRequest.builder()
importSourceCredentialsRequest - A Consumer that will call methods on
ImportSourceCredentialsRequest.Builder to create a
request.default CompletableFuture<InvalidateProjectCacheResponse> invalidateProjectCache(InvalidateProjectCacheRequest invalidateProjectCacheRequest)
Resets the cache for a project.
invalidateProjectCacheRequest - default CompletableFuture<InvalidateProjectCacheResponse> invalidateProjectCache(Consumer<InvalidateProjectCacheRequest.Builder> invalidateProjectCacheRequest)
Resets the cache for a project.
This is a convenience which creates an instance of the InvalidateProjectCacheRequest.Builder avoiding the
need to create one manually via InvalidateProjectCacheRequest.builder()
invalidateProjectCacheRequest - A Consumer that will call methods on
InvalidateProjectCacheRequest.Builder to create a
request.default CompletableFuture<ListBuildBatchesResponse> listBuildBatches(ListBuildBatchesRequest listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
listBuildBatchesRequest - default CompletableFuture<ListBuildBatchesResponse> listBuildBatches(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
This is a convenience which creates an instance of the ListBuildBatchesRequest.Builder avoiding the need
to create one manually via ListBuildBatchesRequest.builder()
listBuildBatchesRequest - A Consumer that will call methods on
ListBuildBatchesRequest.Builder to create a
request.default CompletableFuture<ListBuildBatchesForProjectResponse> listBuildBatchesForProject(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
listBuildBatchesForProjectRequest - default CompletableFuture<ListBuildBatchesForProjectResponse> listBuildBatchesForProject(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
This is a convenience which creates an instance of the ListBuildBatchesForProjectRequest.Builder avoiding
the need to create one manually via ListBuildBatchesForProjectRequest.builder()
listBuildBatchesForProjectRequest - A Consumer that will call methods on
ListBuildBatchesForProjectRequest.Builder to
create a request.default ListBuildBatchesForProjectPublisher listBuildBatchesForProjectPaginator(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
This is a variant of
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)
operation.
listBuildBatchesForProjectRequest - default ListBuildBatchesForProjectPublisher listBuildBatchesForProjectPaginator(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
This is a variant of
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)
operation.
This is a convenience which creates an instance of the ListBuildBatchesForProjectRequest.Builder avoiding
the need to create one manually via ListBuildBatchesForProjectRequest.builder()
listBuildBatchesForProjectRequest - A Consumer that will call methods on
ListBuildBatchesForProjectRequest.Builder to
create a request.default ListBuildBatchesPublisher listBuildBatchesPaginator(ListBuildBatchesRequest listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
This is a variant of
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest) operation.
listBuildBatchesRequest - default ListBuildBatchesPublisher listBuildBatchesPaginator(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
This is a variant of
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest) operation.
This is a convenience which creates an instance of the ListBuildBatchesRequest.Builder avoiding the need
to create one manually via ListBuildBatchesRequest.builder()
listBuildBatchesRequest - A Consumer that will call methods on
ListBuildBatchesRequest.Builder to create a
request.default CompletableFuture<ListBuildsResponse> listBuilds(ListBuildsRequest listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
listBuildsRequest - default CompletableFuture<ListBuildsResponse> listBuilds(Consumer<ListBuildsRequest.Builder> listBuildsRequest)
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.Builder avoiding the need to
create one manually via ListBuildsRequest.builder()
listBuildsRequest - A Consumer that will call methods on
ListBuildsRequest.Builder to create a request.default CompletableFuture<ListBuildsResponse> listBuilds()
Gets a list of build IDs, with each build ID representing a single build.
default CompletableFuture<ListBuildsForProjectResponse> listBuildsForProject(ListBuildsForProjectRequest listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
listBuildsForProjectRequest - default CompletableFuture<ListBuildsForProjectResponse> listBuildsForProject(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest)
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.Builder avoiding the
need to create one manually via ListBuildsForProjectRequest.builder()
listBuildsForProjectRequest - A Consumer that will call methods on
ListBuildsForProjectRequest.Builder to create a
request.default ListBuildsForProjectPublisher listBuildsForProjectPaginator(ListBuildsForProjectRequest listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
This is a variant of
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)
operation.
listBuildsForProjectRequest - default ListBuildsForProjectPublisher listBuildsForProjectPaginator(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
This is a variant of
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)
operation.
This is a convenience which creates an instance of the ListBuildsForProjectRequest.Builder avoiding the
need to create one manually via ListBuildsForProjectRequest.builder()
listBuildsForProjectRequest - A Consumer that will call methods on
ListBuildsForProjectRequest.Builder to create a
request.default ListBuildsPublisher listBuildsPaginator()
Gets a list of build IDs, with each build ID representing a single build.
This is a variant of listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest) operation.
default ListBuildsPublisher listBuildsPaginator(ListBuildsRequest listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
This is a variant of listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest) operation.
listBuildsRequest - default ListBuildsPublisher listBuildsPaginator(Consumer<ListBuildsRequest.Builder> listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
This is a variant of listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest) operation.
This is a convenience which creates an instance of the ListBuildsRequest.Builder avoiding the need to
create one manually via ListBuildsRequest.builder()
listBuildsRequest - A Consumer that will call methods on
ListBuildsRequest.Builder to create a request.default CompletableFuture<ListCuratedEnvironmentImagesResponse> listCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by CodeBuild.
listCuratedEnvironmentImagesRequest - default CompletableFuture<ListCuratedEnvironmentImagesResponse> listCuratedEnvironmentImages(Consumer<ListCuratedEnvironmentImagesRequest.Builder> listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by CodeBuild.
This is a convenience which creates an instance of the ListCuratedEnvironmentImagesRequest.Builder
avoiding the need to create one manually via ListCuratedEnvironmentImagesRequest.builder()
listCuratedEnvironmentImagesRequest - A Consumer that will call methods on
ListCuratedEnvironmentImagesRequest.Builder to
create a request.default CompletableFuture<ListCuratedEnvironmentImagesResponse> listCuratedEnvironmentImages()
Gets information about Docker images that are managed by CodeBuild.
default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
listProjectsRequest - default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
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.Builder avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest - A Consumer that will call methods on
ListProjectsRequest.Builder to create a request.default CompletableFuture<ListProjectsResponse> listProjects()
Gets a list of build project names, with each build project name representing a single build project.
default ListProjectsPublisher listProjectsPaginator()
Gets a list of build project names, with each build project name representing a single build project.
This is a variant of listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListProjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest) operation.
default ListProjectsPublisher listProjectsPaginator(ListProjectsRequest listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
This is a variant of listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListProjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest) operation.
listProjectsRequest - default ListProjectsPublisher listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
This is a variant of listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListProjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest) operation.
This is a convenience which creates an instance of the ListProjectsRequest.Builder avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest - A Consumer that will call methods on
ListProjectsRequest.Builder to create a request.default CompletableFuture<ListReportGroupsResponse> listReportGroups(ListReportGroupsRequest listReportGroupsRequest)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
listReportGroupsRequest - default CompletableFuture<ListReportGroupsResponse> listReportGroups(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest)
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.Builder avoiding the need
to create one manually via ListReportGroupsRequest.builder()
listReportGroupsRequest - A Consumer that will call methods on
ListReportGroupsRequest.Builder to create a
request.default ListReportGroupsPublisher listReportGroupsPaginator(ListReportGroupsRequest listReportGroupsRequest)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
This is a variant of
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest) operation.
listReportGroupsRequest - default ListReportGroupsPublisher listReportGroupsPaginator(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
This is a variant of
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest) operation.
This is a convenience which creates an instance of the ListReportGroupsRequest.Builder avoiding the need
to create one manually via ListReportGroupsRequest.builder()
listReportGroupsRequest - A Consumer that will call methods on
ListReportGroupsRequest.Builder to create a
request.default CompletableFuture<ListReportsResponse> listReports(ListReportsRequest listReportsRequest)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
listReportsRequest - default CompletableFuture<ListReportsResponse> listReports(Consumer<ListReportsRequest.Builder> listReportsRequest)
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.Builder avoiding the need to
create one manually via ListReportsRequest.builder()
listReportsRequest - A Consumer that will call methods on
ListReportsRequest.Builder to create a request.default CompletableFuture<ListReportsForReportGroupResponse> listReportsForReportGroup(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a ReportGroup.
listReportsForReportGroupRequest - default CompletableFuture<ListReportsForReportGroupResponse> listReportsForReportGroup(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a ReportGroup.
This is a convenience which creates an instance of the ListReportsForReportGroupRequest.Builder avoiding
the need to create one manually via ListReportsForReportGroupRequest.builder()
listReportsForReportGroupRequest - A Consumer that will call methods on
ListReportsForReportGroupRequest.Builder to create
a request.default ListReportsForReportGroupPublisher listReportsForReportGroupPaginator(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a ReportGroup.
This is a variant of
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)
operation.
listReportsForReportGroupRequest - default ListReportsForReportGroupPublisher listReportsForReportGroupPaginator(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a ReportGroup.
This is a variant of
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)
operation.
This is a convenience which creates an instance of the ListReportsForReportGroupRequest.Builder avoiding
the need to create one manually via ListReportsForReportGroupRequest.builder()
listReportsForReportGroupRequest - A Consumer that will call methods on
ListReportsForReportGroupRequest.Builder to create
a request.default ListReportsPublisher listReportsPaginator(ListReportsRequest listReportsRequest)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
This is a variant of listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest) operation.
listReportsRequest - default ListReportsPublisher listReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
This is a variant of listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest) operation.
This is a convenience which creates an instance of the ListReportsRequest.Builder avoiding the need to
create one manually via ListReportsRequest.builder()
listReportsRequest - A Consumer that will call methods on
ListReportsRequest.Builder to create a request.default CompletableFuture<ListSharedProjectsResponse> listSharedProjects(ListSharedProjectsRequest listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
listSharedProjectsRequest - default CompletableFuture<ListSharedProjectsResponse> listSharedProjects(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
This is a convenience which creates an instance of the ListSharedProjectsRequest.Builder avoiding the
need to create one manually via ListSharedProjectsRequest.builder()
listSharedProjectsRequest - A Consumer that will call methods on
ListSharedProjectsRequest.Builder to create a
request.default ListSharedProjectsPublisher listSharedProjectsPaginator(ListSharedProjectsRequest listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
This is a variant of
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)
operation.
listSharedProjectsRequest - default ListSharedProjectsPublisher listSharedProjectsPaginator(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
This is a variant of
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)
operation.
This is a convenience which creates an instance of the ListSharedProjectsRequest.Builder avoiding the
need to create one manually via ListSharedProjectsRequest.builder()
listSharedProjectsRequest - A Consumer that will call methods on
ListSharedProjectsRequest.Builder to create a
request.default CompletableFuture<ListSharedReportGroupsResponse> listSharedReportGroups(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
listSharedReportGroupsRequest - default CompletableFuture<ListSharedReportGroupsResponse> listSharedReportGroups(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
This is a convenience which creates an instance of the ListSharedReportGroupsRequest.Builder avoiding the
need to create one manually via ListSharedReportGroupsRequest.builder()
listSharedReportGroupsRequest - A Consumer that will call methods on
ListSharedReportGroupsRequest.Builder to create a
request.default ListSharedReportGroupsPublisher listSharedReportGroupsPaginator(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
This is a variant of
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)
operation.
listSharedReportGroupsRequest - default ListSharedReportGroupsPublisher listSharedReportGroupsPaginator(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
This is a variant of
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)
operation.
This is a convenience which creates an instance of the ListSharedReportGroupsRequest.Builder avoiding the
need to create one manually via ListSharedReportGroupsRequest.builder()
listSharedReportGroupsRequest - A Consumer that will call methods on
ListSharedReportGroupsRequest.Builder to create a
request.default CompletableFuture<ListSourceCredentialsResponse> listSourceCredentials(ListSourceCredentialsRequest listSourceCredentialsRequest)
Returns a list of SourceCredentialsInfo objects.
listSourceCredentialsRequest - default CompletableFuture<ListSourceCredentialsResponse> listSourceCredentials(Consumer<ListSourceCredentialsRequest.Builder> listSourceCredentialsRequest)
Returns a list of SourceCredentialsInfo objects.
This is a convenience which creates an instance of the ListSourceCredentialsRequest.Builder avoiding the
need to create one manually via ListSourceCredentialsRequest.builder()
listSourceCredentialsRequest - A Consumer that will call methods on
ListSourceCredentialsRequest.Builder to create a
request.default CompletableFuture<ListSourceCredentialsResponse> listSourceCredentials()
Returns a list of SourceCredentialsInfo objects.
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Stores a resource policy for the ARN of a Project or ReportGroup object.
putResourcePolicyRequest - default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
Stores a resource policy for the ARN of a Project or ReportGroup object.
This is a convenience which creates an instance of the PutResourcePolicyRequest.Builder avoiding the need
to create one manually via PutResourcePolicyRequest.builder()
putResourcePolicyRequest - A Consumer that will call methods on
PutResourcePolicyRequest.Builder to create a
request.default CompletableFuture<RetryBuildResponse> retryBuild(RetryBuildRequest retryBuildRequest)
Restarts a build.
retryBuildRequest - default CompletableFuture<RetryBuildResponse> retryBuild(Consumer<RetryBuildRequest.Builder> retryBuildRequest)
Restarts a build.
This is a convenience which creates an instance of the RetryBuildRequest.Builder avoiding the need to
create one manually via RetryBuildRequest.builder()
retryBuildRequest - A Consumer that will call methods on
RetryBuildRequest.Builder to create a request.default CompletableFuture<RetryBuildBatchResponse> retryBuildBatch(RetryBuildBatchRequest retryBuildBatchRequest)
Restarts a failed batch build. Only batch builds that have failed can be retried.
retryBuildBatchRequest - default CompletableFuture<RetryBuildBatchResponse> retryBuildBatch(Consumer<RetryBuildBatchRequest.Builder> retryBuildBatchRequest)
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.Builder avoiding the need
to create one manually via RetryBuildBatchRequest.builder()
retryBuildBatchRequest - A Consumer that will call methods on
RetryBuildBatchRequest.Builder to create a
request.default CompletableFuture<StartBuildResponse> startBuild(StartBuildRequest startBuildRequest)
Starts running a build.
startBuildRequest - default CompletableFuture<StartBuildResponse> startBuild(Consumer<StartBuildRequest.Builder> startBuildRequest)
Starts running a build.
This is a convenience which creates an instance of the StartBuildRequest.Builder avoiding the need to
create one manually via StartBuildRequest.builder()
startBuildRequest - A Consumer that will call methods on
StartBuildRequest.Builder to create a request.default CompletableFuture<StartBuildBatchResponse> startBuildBatch(StartBuildBatchRequest startBuildBatchRequest)
Starts a batch build for a project.
startBuildBatchRequest - default CompletableFuture<StartBuildBatchResponse> startBuildBatch(Consumer<StartBuildBatchRequest.Builder> startBuildBatchRequest)
Starts a batch build for a project.
This is a convenience which creates an instance of the StartBuildBatchRequest.Builder avoiding the need
to create one manually via StartBuildBatchRequest.builder()
startBuildBatchRequest - A Consumer that will call methods on
StartBuildBatchRequest.Builder to create a
request.default CompletableFuture<StopBuildResponse> stopBuild(StopBuildRequest stopBuildRequest)
Attempts to stop running a build.
stopBuildRequest - default CompletableFuture<StopBuildResponse> stopBuild(Consumer<StopBuildRequest.Builder> stopBuildRequest)
Attempts to stop running a build.
This is a convenience which creates an instance of the StopBuildRequest.Builder avoiding the need to
create one manually via StopBuildRequest.builder()
stopBuildRequest - A Consumer that will call methods on
StopBuildRequest.Builder to create a request.default CompletableFuture<StopBuildBatchResponse> stopBuildBatch(StopBuildBatchRequest stopBuildBatchRequest)
Stops a running batch build.
stopBuildBatchRequest - default CompletableFuture<StopBuildBatchResponse> stopBuildBatch(Consumer<StopBuildBatchRequest.Builder> stopBuildBatchRequest)
Stops a running batch build.
This is a convenience which creates an instance of the StopBuildBatchRequest.Builder avoiding the need to
create one manually via StopBuildBatchRequest.builder()
stopBuildBatchRequest - A Consumer that will call methods on
StopBuildBatchRequest.Builder to create a request.default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest)
Changes the settings of a build project.
updateProjectRequest - default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)
Changes the settings of a build project.
This is a convenience which creates an instance of the UpdateProjectRequest.Builder avoiding the need to
create one manually via UpdateProjectRequest.builder()
updateProjectRequest - A Consumer that will call methods on
UpdateProjectRequest.Builder to create a request.default CompletableFuture<UpdateProjectVisibilityResponse> updateProjectVisibility(UpdateProjectVisibilityRequest updateProjectVisibilityRequest)
Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.
The following should be kept in mind when making your projects public:
All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.
All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are:
Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values.
Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.
updateProjectVisibilityRequest - default CompletableFuture<UpdateProjectVisibilityResponse> updateProjectVisibility(Consumer<UpdateProjectVisibilityRequest.Builder> updateProjectVisibilityRequest)
Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.
The following should be kept in mind when making your projects public:
All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.
All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are:
Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values.
Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.
This is a convenience which creates an instance of the UpdateProjectVisibilityRequest.Builder avoiding
the need to create one manually via UpdateProjectVisibilityRequest.builder()
updateProjectVisibilityRequest - A Consumer that will call methods on
UpdateProjectVisibilityRequest.Builder to create a
request.default CompletableFuture<UpdateReportGroupResponse> updateReportGroup(UpdateReportGroupRequest updateReportGroupRequest)
Updates a report group.
updateReportGroupRequest - default CompletableFuture<UpdateReportGroupResponse> updateReportGroup(Consumer<UpdateReportGroupRequest.Builder> updateReportGroupRequest)
Updates a report group.
This is a convenience which creates an instance of the UpdateReportGroupRequest.Builder avoiding the need
to create one manually via UpdateReportGroupRequest.builder()
updateReportGroupRequest - A Consumer that will call methods on
UpdateReportGroupRequest.Builder to create a
request.default CompletableFuture<UpdateWebhookResponse> updateWebhook(UpdateWebhookRequest updateWebhookRequest)
Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret is ignored.
updateWebhookRequest - default CompletableFuture<UpdateWebhookResponse> updateWebhook(Consumer<UpdateWebhookRequest.Builder> updateWebhookRequest)
Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret is ignored.
This is a convenience which creates an instance of the UpdateWebhookRequest.Builder avoiding the need to
create one manually via UpdateWebhookRequest.builder()
updateWebhookRequest - A Consumer that will call methods on
UpdateWebhookRequest.Builder to create a request.default CodeBuildServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic CodeBuildAsyncClient create()
CodeBuildAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static CodeBuildAsyncClientBuilder builder()
CodeBuildAsyncClient.Copyright © 2023. All rights reserved.