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:
  • Constructor Details

    • AcknowledgeJobRequest

      public AcknowledgeJobRequest()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: