public class PutJobSuccessResultRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a put job success result action.
NOOP
Constructor and Description |
---|
PutJobSuccessResultRequest() |
Modifier and Type | Method and Description |
---|---|
PutJobSuccessResultRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getContinuationToken()
A system-generated token, such as a AWS CodeDeploy deployment ID, that
the successful job used to complete a job asynchronously.
|
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.
|
String |
getJobId()
The unique system-generated ID of the job that succeeded.
|
int |
hashCode() |
void |
setContinuationToken(String continuationToken)
A system-generated token, such as a AWS CodeDeploy deployment ID, that
the successful job used to complete a job asynchronously.
|
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(String jobId)
The unique system-generated ID of the job that succeeded.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutJobSuccessResultRequest |
withContinuationToken(String continuationToken)
A system-generated token, such as a AWS CodeDeploy deployment ID, that
the successful job used to complete a job asynchronously.
|
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(String jobId)
The unique system-generated ID of the job that succeeded.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setJobId(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 String getJobId()
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
public PutJobSuccessResultRequest withJobId(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(String continuationToken)
A system-generated token, such as a AWS CodeDeploy deployment ID, that the successful job used to complete a job asynchronously.
continuationToken
- A system-generated token, such as a AWS CodeDeploy deployment ID,
that the successful job used to complete a job asynchronously.public String getContinuationToken()
A system-generated token, such as a AWS CodeDeploy deployment ID, that the successful job used to complete a job asynchronously.
public PutJobSuccessResultRequest withContinuationToken(String continuationToken)
A system-generated token, such as a AWS CodeDeploy deployment ID, that the successful job used to complete a job asynchronously.
continuationToken
- A system-generated token, such as a AWS CodeDeploy deployment ID,
that the successful job used to complete a job asynchronously.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 String toString()
toString
in class Object
Object.toString()
public PutJobSuccessResultRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.