Class AcknowledgeJobRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.codepipeline.model.AcknowledgeJobRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class AcknowledgeJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of an acknowledge job action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AcknowledgeJobRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
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 for which you want to confirm receipt.
- Parameters:
jobId
- The unique system-generated ID of the job for which you want to confirm receipt.
-
getJobId
public String getJobId()
The unique system-generated ID of the job for which you want to confirm receipt.
- Returns:
- The unique system-generated ID of the job for which you want to confirm receipt.
-
withJobId
public AcknowledgeJobRequest withJobId(String jobId)
The unique system-generated ID of the job for which you want to confirm receipt.
- Parameters:
jobId
- The unique system-generated ID of the job for which you want to confirm receipt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNonce
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.
- Parameters:
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.
-
getNonce
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.
- Returns:
- 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.
-
withNonce
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.
- Parameters:
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.- 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 AcknowledgeJobRequest 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()
-
-