java.lang.Object
com.amazonaws.services.codepipeline.model.Job
All Implemented Interfaces:
Serializable, Cloneable

public class Job extends Object implements Serializable, Cloneable

Represents information about a job.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Job()
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    The ID of the AWS account to use when performing the job.
    Additional data about a job.
    The unique system-generated ID of the job.
    A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker.
    int
     
    void
    setAccountId(String accountId)
    The ID of the AWS account to use when performing the job.
    void
    Additional data about a job.
    void
    The unique system-generated ID of the job.
    void
    A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker.
    Returns a string representation of this object; useful for testing and debugging.
    withAccountId(String accountId)
    The ID of the AWS account to use when performing the job.
    Additional data about a job.
    The unique system-generated ID of the job.
    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 java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Job

      public Job()
  • Method Details

    • setId

      public void setId(String id)

      The unique system-generated ID of the job.

      Parameters:
      id - The unique system-generated ID of the job.
    • getId

      public String getId()

      The unique system-generated ID of the job.

      Returns:
      The unique system-generated ID of the job.
    • withId

      public Job withId(String id)

      The unique system-generated ID of the job.

      Parameters:
      id - The unique system-generated ID of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setData

      public void setData(JobData data)

      Additional data about a job.

      Parameters:
      data - Additional data about a job.
    • getData

      public JobData getData()

      Additional data about a job.

      Returns:
      Additional data about a job.
    • withData

      public Job withData(JobData data)

      Additional data about a job.

      Parameters:
      data - Additional data about a job.
      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 Job 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.
    • setAccountId

      public void setAccountId(String accountId)

      The ID of the AWS account to use when performing the job.

      Parameters:
      accountId - The ID of the AWS account to use when performing the job.
    • getAccountId

      public String getAccountId()

      The ID of the AWS account to use when performing the job.

      Returns:
      The ID of the AWS account to use when performing the job.
    • withAccountId

      public Job withAccountId(String accountId)

      The ID of the AWS account to use when performing the job.

      Parameters:
      accountId - The ID of the AWS account to use when performing the job.
      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 Job clone()
      Overrides:
      clone in class Object