public class AcknowledgeJobRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of an acknowledge job action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
jobId
The unique system-generated ID of the job for which you want to confirm
receipt.
|
private java.lang.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.
|
NOOP
Constructor and Description |
---|
AcknowledgeJobRequest() |
Modifier and Type | Method and Description |
---|---|
AcknowledgeJobRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobId()
The unique system-generated ID of the job for which you want to confirm
receipt.
|
java.lang.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(java.lang.String jobId)
The unique system-generated ID of the job for which you want to confirm
receipt.
|
void |
setNonce(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AcknowledgeJobRequest |
withJobId(java.lang.String jobId)
The unique system-generated ID of the job for which you want to confirm
receipt.
|
AcknowledgeJobRequest |
withNonce(java.lang.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, 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 for which you want to confirm receipt.
private java.lang.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.
public void setJobId(java.lang.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 java.lang.String getJobId()
The unique system-generated ID of the job for which you want to confirm receipt.
public AcknowledgeJobRequest withJobId(java.lang.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(java.lang.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 java.lang.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(java.lang.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 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 AcknowledgeJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()