@Generated(value="software.amazon.awssdk:codegen") public final class PutJobSuccessResultRequest extends CodePipelineRequest implements ToCopyableBuilder<PutJobSuccessResultRequest.Builder,PutJobSuccessResultRequest>
Represents the input of a PutJobSuccessResult action.
Modifier and Type | Class and Description |
---|---|
static interface |
PutJobSuccessResultRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static PutJobSuccessResultRequest.Builder |
builder() |
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.
|
CurrentRevision |
currentRevision()
The ID of the current revision of the artifact successfully worked upon by the job.
|
boolean |
equals(Object obj) |
ExecutionDetails |
executionDetails()
The execution details of the successful job, such as the actions taken by the job worker.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
jobId()
The unique system-generated ID of the job that succeeded.
|
static Class<? extends PutJobSuccessResultRequest.Builder> |
serializableBuilderClass() |
PutJobSuccessResultRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String jobId()
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
public CurrentRevision currentRevision()
The ID of the current revision of the artifact successfully worked upon by the job.
public 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.
public ExecutionDetails executionDetails()
The execution details of the successful job, such as the actions taken by the job worker.
public PutJobSuccessResultRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutJobSuccessResultRequest.Builder,PutJobSuccessResultRequest>
toBuilder
in class CodePipelineRequest
public static PutJobSuccessResultRequest.Builder builder()
public static Class<? extends PutJobSuccessResultRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.