Interface Job.Builder

    • Method Detail

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

        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:
        #steps(java.util.Collection)