Class PutJobSuccessResultRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of a put job success result action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
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.The ID of the current revision of the artifact successfully worked upon by the job.The execution details of the successful job, such as the actions taken by the job worker.getJobId()
The unique system-generated ID of the job that succeeded.int
hashCode()
void
setContinuationToken
(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
The unique system-generated ID of the job that succeeded.toString()
Returns a string representation of this object; useful for testing and debugging.withContinuationToken
(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.withCurrentRevision
(CurrentRevision currentRevision) The ID of the current revision of the artifact successfully worked upon by the job.withExecutionDetails
(ExecutionDetails executionDetails) The execution details of the successful job, such as the actions taken by the job worker.The unique system-generated ID of the job that succeeded.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
PutJobSuccessResultRequest
public PutJobSuccessResultRequest()
-
-
Method Details
-
setJobId
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
- Parameters:
jobId
- The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
-
getJobId
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
- Returns:
- The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
-
withJobId
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
- Parameters:
jobId
- The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCurrentRevision
The ID of the current revision of the artifact successfully worked upon by the job.
- Parameters:
currentRevision
- The ID of the current revision of the artifact successfully worked upon by the job.
-
getCurrentRevision
The ID of the current revision of the artifact successfully worked upon by the job.
- Returns:
- The ID of the current revision of the artifact successfully worked upon by the job.
-
withCurrentRevision
The ID of the current revision of the artifact successfully worked upon by the job.
- Parameters:
currentRevision
- The ID of the current revision of the artifact successfully worked upon by the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setContinuationToken
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withContinuationToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExecutionDetails
The execution details of the successful job, such as the actions taken by the job worker.
- Parameters:
executionDetails
- The execution details of the successful job, such as the actions taken by the job worker.
-
getExecutionDetails
The execution details of the successful job, such as the actions taken by the job worker.
- Returns:
- The execution details of the successful job, such as the actions taken by the job worker.
-
withExecutionDetails
The execution details of the successful job, such as the actions taken by the job worker.
- Parameters:
executionDetails
- The execution details of the successful job, such as the actions taken by the job worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-