Class PutJobSuccessResultRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.codepipeline.model.PutJobSuccessResultRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class PutJobSuccessResultRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a put job success result action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PutJobSuccessResultRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutJobSuccessResultRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
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.String
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
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 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(String jobId)
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
-
-
-
-
Method Detail
-
setJobId
public void setJobId(String jobId)
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
public String 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
public PutJobSuccessResultRequest withJobId(String jobId)
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
public void setCurrentRevision(CurrentRevision currentRevision)
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
public CurrentRevision 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
public PutJobSuccessResultRequest withCurrentRevision(CurrentRevision currentRevision)
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
public 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. 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
public 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.
- 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
public PutJobSuccessResultRequest 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. 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
public void setExecutionDetails(ExecutionDetails executionDetails)
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
public ExecutionDetails 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
public PutJobSuccessResultRequest withExecutionDetails(ExecutionDetails executionDetails)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutJobSuccessResultRequest 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:
Object.clone()
-
-