@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSCodeBuildAsyncClient extends AWSCodeBuildClient implements AWSCodeBuildAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests, and you pay only for the build time you consume. For more information about AWS CodeBuild, see the AWS CodeBuild User Guide.
AWS CodeBuild supports these operations:
BatchDeleteBuilds: Deletes one or more builds.
BatchGetProjects: Gets information about one or more build projects. A build project defines how
AWS CodeBuild will run a build. This includes information such as where to get the source code to build, the build
environment to use, the build commands to run, and where to store the build output. A build environment
represents a combination of operating system, programming language runtime, and tools that AWS CodeBuild will use to
run a build. Also, you can add tags to build projects to help manage your resources and costs.
CreateProject: Creates a build project.
CreateWebhook: For an existing AWS CodeBuild build project that has its source code stored in a GitHub
repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is
pushed to the repository.
DeleteProject: Deletes a build project.
DeleteWebhook: For an existing AWS CodeBuild build project that has its source code stored in a GitHub
repository, stops AWS CodeBuild from automatically rebuilding the source code every time a code change is pushed to
the repository.
ListProjects: Gets a list of build project names, with each build project name representing a single
build project.
UpdateProject: Changes the settings of an existing build project.
BatchGetBuilds: Gets information about one or more builds.
ListBuilds: Gets a list of build IDs, with each build ID representing a single build.
ListBuildsForProject: Gets a list of build IDs for the specified build project, with each build ID
representing a single build.
StartBuild: Starts running a build.
StopBuild: Attempts to stop running a build.
ListCuratedEnvironmentImages: Gets information about Docker images that are managed by AWS CodeBuild.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Constructor and Description |
|---|
AWSCodeBuildAsyncClient()
Deprecated.
|
AWSCodeBuildAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AWSCodeBuildAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSCodeBuildAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AWSCodeBuildAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static AWSCodeBuildAsyncClientBuilder |
asyncBuilder() |
Future<BatchDeleteBuildsResult> |
batchDeleteBuildsAsync(BatchDeleteBuildsRequest request)
Deletes one or more builds.
|
Future<BatchDeleteBuildsResult> |
batchDeleteBuildsAsync(BatchDeleteBuildsRequest request,
AsyncHandler<BatchDeleteBuildsRequest,BatchDeleteBuildsResult> asyncHandler)
Deletes one or more builds.
|
Future<BatchGetBuildsResult> |
batchGetBuildsAsync(BatchGetBuildsRequest request)
Gets information about builds.
|
Future<BatchGetBuildsResult> |
batchGetBuildsAsync(BatchGetBuildsRequest request,
AsyncHandler<BatchGetBuildsRequest,BatchGetBuildsResult> asyncHandler)
Gets information about builds.
|
Future<BatchGetProjectsResult> |
batchGetProjectsAsync(BatchGetProjectsRequest request)
Gets information about build projects.
|
Future<BatchGetProjectsResult> |
batchGetProjectsAsync(BatchGetProjectsRequest request,
AsyncHandler<BatchGetProjectsRequest,BatchGetProjectsResult> asyncHandler)
Gets information about build projects.
|
Future<CreateProjectResult> |
createProjectAsync(CreateProjectRequest request)
Creates a build project.
|
Future<CreateProjectResult> |
createProjectAsync(CreateProjectRequest request,
AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
Creates a build project.
|
Future<CreateWebhookResult> |
createWebhookAsync(CreateWebhookRequest request)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS
CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
|
Future<CreateWebhookResult> |
createWebhookAsync(CreateWebhookRequest request,
AsyncHandler<CreateWebhookRequest,CreateWebhookResult> asyncHandler)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS
CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
|
Future<DeleteProjectResult> |
deleteProjectAsync(DeleteProjectRequest request)
Deletes a build project.
|
Future<DeleteProjectResult> |
deleteProjectAsync(DeleteProjectRequest request,
AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
Deletes a build project.
|
Future<DeleteWebhookResult> |
deleteWebhookAsync(DeleteWebhookRequest request)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS
CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.
|
Future<DeleteWebhookResult> |
deleteWebhookAsync(DeleteWebhookRequest request,
AsyncHandler<DeleteWebhookRequest,DeleteWebhookResult> asyncHandler)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS
CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<ListBuildsResult> |
listBuildsAsync(ListBuildsRequest request)
Gets a list of build IDs, with each build ID representing a single build.
|
Future<ListBuildsResult> |
listBuildsAsync(ListBuildsRequest request,
AsyncHandler<ListBuildsRequest,ListBuildsResult> asyncHandler)
Gets a list of build IDs, with each build ID representing a single build.
|
Future<ListBuildsForProjectResult> |
listBuildsForProjectAsync(ListBuildsForProjectRequest request)
Gets a list of build IDs for the specified build project, with each build ID representing a single build.
|
Future<ListBuildsForProjectResult> |
listBuildsForProjectAsync(ListBuildsForProjectRequest request,
AsyncHandler<ListBuildsForProjectRequest,ListBuildsForProjectResult> asyncHandler)
Gets a list of build IDs for the specified build project, with each build ID representing a single build.
|
Future<ListCuratedEnvironmentImagesResult> |
listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest request)
Gets information about Docker images that are managed by AWS CodeBuild.
|
Future<ListCuratedEnvironmentImagesResult> |
listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest request,
AsyncHandler<ListCuratedEnvironmentImagesRequest,ListCuratedEnvironmentImagesResult> asyncHandler)
Gets information about Docker images that are managed by AWS CodeBuild.
|
Future<ListProjectsResult> |
listProjectsAsync(ListProjectsRequest request)
Gets a list of build project names, with each build project name representing a single build project.
|
Future<ListProjectsResult> |
listProjectsAsync(ListProjectsRequest request,
AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
Gets a list of build project names, with each build project name representing a single build project.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<StartBuildResult> |
startBuildAsync(StartBuildRequest request)
Starts running a build.
|
Future<StartBuildResult> |
startBuildAsync(StartBuildRequest request,
AsyncHandler<StartBuildRequest,StartBuildResult> asyncHandler)
Starts running a build.
|
Future<StopBuildResult> |
stopBuildAsync(StopBuildRequest request)
Attempts to stop running a build.
|
Future<StopBuildResult> |
stopBuildAsync(StopBuildRequest request,
AsyncHandler<StopBuildRequest,StopBuildResult> asyncHandler)
Attempts to stop running a build.
|
Future<UpdateProjectResult> |
updateProjectAsync(UpdateProjectRequest request)
Changes the settings of a build project.
|
Future<UpdateProjectResult> |
updateProjectAsync(UpdateProjectRequest request,
AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
Changes the settings of a build project.
|
batchDeleteBuilds, batchGetBuilds, batchGetProjects, builder, createProject, createWebhook, deleteProject, deleteWebhook, getCachedResponseMetadata, listBuilds, listBuildsForProject, listCuratedEnvironmentImages, listProjects, startBuild, stopBuild, updateProjectaddRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchDeleteBuilds, batchGetBuilds, batchGetProjects, createProject, createWebhook, deleteProject, deleteWebhook, getCachedResponseMetadata, listBuilds, listBuildsForProject, listCuratedEnvironmentImages, listProjects, setEndpoint, setRegion, startBuild, stopBuild, updateProject@Deprecated public AWSCodeBuildAsyncClient()
AWSCodeBuildAsyncClientBuilder.defaultClient()Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AWSCodeBuildAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections().
clientConfiguration - The client configuration options controlling how this client connects to AWS CodeBuild (ex: proxy
settings, retry counts, etc).DefaultAWSCredentialsProviderChain,
Executors.newFixedThreadPool(int)@Deprecated public AWSCodeBuildAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)@Deprecated public AWSCodeBuildAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService - The executor service by which all asynchronous requests will be executed.@Deprecated public AWSCodeBuildAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).executorService - The executor service by which all asynchronous requests will be executed.@Deprecated public AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)@Deprecated public AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections().
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain,
Executors.newFixedThreadPool(int)@Deprecated public AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService - The executor service by which all asynchronous requests will be executed.@Deprecated public AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).executorService - The executor service by which all asynchronous requests will be executed.public static AWSCodeBuildAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchDeleteBuildsResult> batchDeleteBuildsAsync(BatchDeleteBuildsRequest request)
AWSCodeBuildAsyncDeletes one or more builds.
batchDeleteBuildsAsync in interface AWSCodeBuildAsyncpublic Future<BatchDeleteBuildsResult> batchDeleteBuildsAsync(BatchDeleteBuildsRequest request, AsyncHandler<BatchDeleteBuildsRequest,BatchDeleteBuildsResult> asyncHandler)
AWSCodeBuildAsyncDeletes one or more builds.
batchDeleteBuildsAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetBuildsResult> batchGetBuildsAsync(BatchGetBuildsRequest request)
AWSCodeBuildAsyncGets information about builds.
batchGetBuildsAsync in interface AWSCodeBuildAsyncpublic Future<BatchGetBuildsResult> batchGetBuildsAsync(BatchGetBuildsRequest request, AsyncHandler<BatchGetBuildsRequest,BatchGetBuildsResult> asyncHandler)
AWSCodeBuildAsyncGets information about builds.
batchGetBuildsAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetProjectsResult> batchGetProjectsAsync(BatchGetProjectsRequest request)
AWSCodeBuildAsyncGets information about build projects.
batchGetProjectsAsync in interface AWSCodeBuildAsyncpublic Future<BatchGetProjectsResult> batchGetProjectsAsync(BatchGetProjectsRequest request, AsyncHandler<BatchGetProjectsRequest,BatchGetProjectsResult> asyncHandler)
AWSCodeBuildAsyncGets information about build projects.
batchGetProjectsAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request)
AWSCodeBuildAsyncCreates a build project.
createProjectAsync in interface AWSCodeBuildAsyncpublic Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
AWSCodeBuildAsyncCreates a build project.
createProjectAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest request)
AWSCodeBuildAsyncFor an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds will be created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you will be billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 9 in Change a Build Project’s Settings.
createWebhookAsync in interface AWSCodeBuildAsyncpublic Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest request, AsyncHandler<CreateWebhookRequest,CreateWebhookResult> asyncHandler)
AWSCodeBuildAsyncFor an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds will be created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you will be billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 9 in Change a Build Project’s Settings.
createWebhookAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request)
AWSCodeBuildAsyncDeletes a build project.
deleteProjectAsync in interface AWSCodeBuildAsyncpublic Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
AWSCodeBuildAsyncDeletes a build project.
deleteProjectAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest request)
AWSCodeBuildAsyncFor an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.
deleteWebhookAsync in interface AWSCodeBuildAsyncpublic Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest request, AsyncHandler<DeleteWebhookRequest,DeleteWebhookResult> asyncHandler)
AWSCodeBuildAsyncFor an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.
deleteWebhookAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBuildsResult> listBuildsAsync(ListBuildsRequest request)
AWSCodeBuildAsyncGets a list of build IDs, with each build ID representing a single build.
listBuildsAsync in interface AWSCodeBuildAsyncpublic Future<ListBuildsResult> listBuildsAsync(ListBuildsRequest request, AsyncHandler<ListBuildsRequest,ListBuildsResult> asyncHandler)
AWSCodeBuildAsyncGets a list of build IDs, with each build ID representing a single build.
listBuildsAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest request)
AWSCodeBuildAsyncGets a list of build IDs for the specified build project, with each build ID representing a single build.
listBuildsForProjectAsync in interface AWSCodeBuildAsyncpublic Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest request, AsyncHandler<ListBuildsForProjectRequest,ListBuildsForProjectResult> asyncHandler)
AWSCodeBuildAsyncGets a list of build IDs for the specified build project, with each build ID representing a single build.
listBuildsForProjectAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListCuratedEnvironmentImagesResult> listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest request)
AWSCodeBuildAsyncGets information about Docker images that are managed by AWS CodeBuild.
listCuratedEnvironmentImagesAsync in interface AWSCodeBuildAsyncpublic Future<ListCuratedEnvironmentImagesResult> listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest request, AsyncHandler<ListCuratedEnvironmentImagesRequest,ListCuratedEnvironmentImagesResult> asyncHandler)
AWSCodeBuildAsyncGets information about Docker images that are managed by AWS CodeBuild.
listCuratedEnvironmentImagesAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request)
AWSCodeBuildAsyncGets a list of build project names, with each build project name representing a single build project.
listProjectsAsync in interface AWSCodeBuildAsyncpublic Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
AWSCodeBuildAsyncGets a list of build project names, with each build project name representing a single build project.
listProjectsAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartBuildResult> startBuildAsync(StartBuildRequest request)
AWSCodeBuildAsyncStarts running a build.
startBuildAsync in interface AWSCodeBuildAsyncpublic Future<StartBuildResult> startBuildAsync(StartBuildRequest request, AsyncHandler<StartBuildRequest,StartBuildResult> asyncHandler)
AWSCodeBuildAsyncStarts running a build.
startBuildAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopBuildResult> stopBuildAsync(StopBuildRequest request)
AWSCodeBuildAsyncAttempts to stop running a build.
stopBuildAsync in interface AWSCodeBuildAsyncpublic Future<StopBuildResult> stopBuildAsync(StopBuildRequest request, AsyncHandler<StopBuildRequest,StopBuildResult> asyncHandler)
AWSCodeBuildAsyncAttempts to stop running a build.
stopBuildAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request)
AWSCodeBuildAsyncChanges the settings of a build project.
updateProjectAsync in interface AWSCodeBuildAsyncpublic Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
AWSCodeBuildAsyncChanges the settings of a build project.
updateProjectAsync in interface AWSCodeBuildAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSCodeBuildshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.