public static interface PutJobSuccessResultRequest.Builder extends CodePipelineRequest.Builder, CopyableBuilder<PutJobSuccessResultRequest.Builder,PutJobSuccessResultRequest>
Modifier and Type | Method and Description |
---|---|
PutJobSuccessResultRequest.Builder |
continuationToken(String continuationToken)
A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to
identify a custom action in progress.
|
default PutJobSuccessResultRequest.Builder |
currentRevision(Consumer<CurrentRevision.Builder> currentRevision)
The ID of the current revision of the artifact successfully worked upon by the job.
|
PutJobSuccessResultRequest.Builder |
currentRevision(CurrentRevision currentRevision)
The ID of the current revision of the artifact successfully worked upon by the job.
|
default PutJobSuccessResultRequest.Builder |
executionDetails(Consumer<ExecutionDetails.Builder> executionDetails)
The execution details of the successful job, such as the actions taken by the job worker.
|
PutJobSuccessResultRequest.Builder |
executionDetails(ExecutionDetails executionDetails)
The execution details of the successful job, such as the actions taken by the job worker.
|
PutJobSuccessResultRequest.Builder |
jobId(String jobId)
The unique system-generated ID of the job that succeeded.
|
PutJobSuccessResultRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutJobSuccessResultRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
PutJobSuccessResultRequest.Builder jobId(String jobId)
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
jobId
- The unique system-generated ID of the job that succeeded. This is the same ID returned from
PollForJobs.PutJobSuccessResultRequest.Builder currentRevision(CurrentRevision currentRevision)
The ID of the current revision of the artifact successfully worked upon by the job.
currentRevision
- The ID of the current revision of the artifact successfully worked upon by the job.default PutJobSuccessResultRequest.Builder currentRevision(Consumer<CurrentRevision.Builder> currentRevision)
The ID of the current revision of the artifact successfully worked upon by the job.
This is a convenience that creates an instance of theCurrentRevision.Builder
avoiding the need to
create one manually via CurrentRevision.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to currentRevision(CurrentRevision)
.currentRevision
- a consumer that will call methods on CurrentRevision.Builder
currentRevision(CurrentRevision)
PutJobSuccessResultRequest.Builder continuationToken(String continuationToken)
A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
continuationToken
- A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job
provides to identify a custom action in progress. Future jobs will use this token in order to identify
the running instance of the action. It can be reused to return additional information about the
progress of the custom action. When the action is complete, no continuation token should be supplied.PutJobSuccessResultRequest.Builder executionDetails(ExecutionDetails executionDetails)
The execution details of the successful job, such as the actions taken by the job worker.
executionDetails
- The execution details of the successful job, such as the actions taken by the job worker.default PutJobSuccessResultRequest.Builder executionDetails(Consumer<ExecutionDetails.Builder> executionDetails)
The execution details of the successful job, such as the actions taken by the job worker.
This is a convenience that creates an instance of theExecutionDetails.Builder
avoiding the need to
create one manually via ExecutionDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to executionDetails(ExecutionDetails)
.executionDetails
- a consumer that will call methods on ExecutionDetails.Builder
executionDetails(ExecutionDetails)
PutJobSuccessResultRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutJobSuccessResultRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.