public class PutJobSuccessResultRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a put job success result action.
Modifier and Type | Field and Description |
---|---|
private java.lang.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.
|
private CurrentRevision |
currentRevision
The ID of the current revision of the artifact successfully worked upon
by the job.
|
private ExecutionDetails |
executionDetails
The execution details of the successful job, such as the actions taken by
the job worker.
|
private java.lang.String |
jobId
The unique system-generated ID of the job that succeeded.
|
NOOP
Constructor and Description |
---|
PutJobSuccessResultRequest() |
Modifier and Type | Method and Description |
---|---|
PutJobSuccessResultRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContinuationToken()
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 |
getCurrentRevision()
The ID of the current revision of the artifact successfully worked upon
by the job.
|
ExecutionDetails |
getExecutionDetails()
The execution details of the successful job, such as the actions taken by
the job worker.
|
java.lang.String |
getJobId()
The unique system-generated ID of the job that succeeded.
|
int |
hashCode() |
void |
setContinuationToken(java.lang.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.
|
void |
setCurrentRevision(CurrentRevision currentRevision)
The ID of the current revision of the artifact successfully worked upon
by the job.
|
void |
setExecutionDetails(ExecutionDetails executionDetails)
The execution details of the successful job, such as the actions taken by
the job worker.
|
void |
setJobId(java.lang.String jobId)
The unique system-generated ID of the job that succeeded.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutJobSuccessResultRequest |
withContinuationToken(java.lang.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.
|
PutJobSuccessResultRequest |
withCurrentRevision(CurrentRevision currentRevision)
The ID of the current revision of the artifact successfully worked upon
by the job.
|
PutJobSuccessResultRequest |
withExecutionDetails(ExecutionDetails executionDetails)
The execution details of the successful job, such as the actions taken by
the job worker.
|
PutJobSuccessResultRequest |
withJobId(java.lang.String jobId)
The unique system-generated ID of the job that succeeded.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String jobId
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
private CurrentRevision currentRevision
The ID of the current revision of the artifact successfully worked upon by the job.
private java.lang.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.
private ExecutionDetails executionDetails
The execution details of the successful job, such as the actions taken by the job worker.
public void setJobId(java.lang.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.public java.lang.String getJobId()
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
public PutJobSuccessResultRequest withJobId(java.lang.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.public void setCurrentRevision(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.public CurrentRevision getCurrentRevision()
The ID of the current revision of the artifact successfully worked upon by the job.
public PutJobSuccessResultRequest withCurrentRevision(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.public void setContinuationToken(java.lang.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.public java.lang.String getContinuationToken()
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 PutJobSuccessResultRequest withContinuationToken(java.lang.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.public void setExecutionDetails(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.public ExecutionDetails getExecutionDetails()
The execution details of the successful job, such as the actions taken by the job worker.
public PutJobSuccessResultRequest withExecutionDetails(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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PutJobSuccessResultRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()