Interface ListJobRunsResponse.Builder

    • Method Detail

      • jobRuns

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

        This output lists information about the specified job runs.

        Parameters:
        jobRuns - This output lists information about the specified job runs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobRuns

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

        This output lists information about the specified job runs.

        Parameters:
        jobRuns - This output lists information about the specified job runs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobRuns

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

        This output lists information about the specified job runs.

        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)

        This output displays the token for the next set of job runs.

        Parameters:
        nextToken - This output displays the token for the next set of job runs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.