Interface Job.Builder

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

    • summary

      Job.Builder summary(JobSummary summary)

      Describes the summary for an execution job for an Amplify app.

      Parameters:
      summary - Describes the summary for an execution job for an Amplify app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • summary

      default Job.Builder summary(Consumer<JobSummary.Builder> summary)

      Describes the summary for an execution job for an Amplify app.

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

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

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

      Job.Builder steps(Collection<Step> steps)

      The execution steps for an execution job, for an Amplify app.

      Parameters:
      steps - The execution steps for an execution job, for an Amplify app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      Job.Builder steps(Step... steps)

      The execution steps for an execution job, for an Amplify app.

      Parameters:
      steps - The execution steps for an execution job, for an Amplify app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      Job.Builder steps(Consumer<Step.Builder>... steps)

      The execution steps for an execution job, for an Amplify app.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to steps(List<Step>).

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