public class AcknowledgeJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of an acknowledge job action.
NOOP
Constructor and Description |
---|
AcknowledgeJobRequest() |
Modifier and Type | Method and Description |
---|---|
AcknowledgeJobRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getJobId()
The unique system-generated ID of the job for which you want to confirm
receipt.
|
String |
getNonce()
A system-generated random number that AWS CodePipeline uses to ensure
that the job is being worked on by only one job worker.
|
int |
hashCode() |
void |
setJobId(String jobId)
The unique system-generated ID of the job for which you want to confirm
receipt.
|
void |
setNonce(String nonce)
A system-generated random number that AWS CodePipeline uses to ensure
that the job is being worked on by only one job worker.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AcknowledgeJobRequest |
withJobId(String jobId)
The unique system-generated ID of the job for which you want to confirm
receipt.
|
AcknowledgeJobRequest |
withNonce(String nonce)
A system-generated random number that AWS CodePipeline uses to ensure
that the job is being worked on by only one job worker.
|
copyBaseTo, 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 for which you want to confirm receipt.
jobId
- The unique system-generated ID of the job for which you want to
confirm receipt.public String getJobId()
The unique system-generated ID of the job for which you want to confirm receipt.
public AcknowledgeJobRequest withJobId(String jobId)
The unique system-generated ID of the job for which you want to confirm receipt.
jobId
- The unique system-generated ID of the job for which you want to
confirm receipt.public void setNonce(String nonce)
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.
nonce
- A system-generated random number that AWS CodePipeline uses to
ensure that the job is being worked on by only one job worker.
This number must be returned in the response.public String getNonce()
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.
public AcknowledgeJobRequest withNonce(String nonce)
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.
nonce
- A system-generated random number that AWS CodePipeline uses to
ensure that the job is being worked on by only one job worker.
This number must be returned in the response.public String toString()
toString
in class Object
Object.toString()
public AcknowledgeJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.