Interface ListJobRunsResponse.Builder

    • Method Detail

      • jobRuns

        ListJobRunsResponse.Builder jobRuns​(Collection<JobRun> jobRuns)

        A list of job runs that have occurred for the specified job.

        Parameters:
        jobRuns - A list of job runs that have occurred for the specified job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobRuns

        ListJobRunsResponse.Builder jobRuns​(JobRun... jobRuns)

        A list of job runs that have occurred for the specified job.

        Parameters:
        jobRuns - A list of job runs that have occurred for the specified job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobRuns

        ListJobRunsResponse.Builder jobRuns​(Consumer<JobRun.Builder>... jobRuns)

        A list of job runs that have occurred for the specified job.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #jobRuns(List).

        Parameters:
        jobRuns - a consumer that will call methods on JobRun.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #jobRuns(java.util.Collection)
      • nextToken

        ListJobRunsResponse.Builder nextToken​(String nextToken)

        A token that you can use in a subsequent call to retrieve the next set of results.

        Parameters:
        nextToken - A token that you can use in a subsequent call to retrieve the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.