All Superinterfaces:
Buildable, CopyableBuilder<Job.Builder,Job>, SdkBuilder<Job.Builder,Job>, SdkPojo
Enclosing class:
Job

public static interface Job.Builder extends SdkPojo, CopyableBuilder<Job.Builder,Job>
  • Method Details

    • 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.
    • data

      Job.Builder data(JobData data)

      Other data about a job.

      Parameters:
      data - Other data about a job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • data

      default Job.Builder data(Consumer<JobData.Builder> data)

      Other data about a job.

      This is a convenience method that creates an instance of the JobData.Builder avoiding the need to create one manually via JobData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to data(JobData).

      Parameters:
      data - a consumer that will call methods on JobData.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nonce

      Job.Builder nonce(String nonce)

      A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.

      Parameters:
      nonce - A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      Job.Builder accountId(String accountId)

      The ID of the Amazon Web Services account to use when performing the job.

      Parameters:
      accountId - The ID of the Amazon Web Services account to use when performing the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.