Interface BatchGetJobsResponse.Builder

    • Method Detail

      • jobs

        BatchGetJobsResponse.Builder jobs​(Collection<Job> jobs)

        A list of job definitions.

        Parameters:
        jobs - A list of job definitions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobs

        BatchGetJobsResponse.Builder jobs​(Job... jobs)

        A list of job definitions.

        Parameters:
        jobs - A list of job definitions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobs

        BatchGetJobsResponse.Builder jobs​(Consumer<Job.Builder>... jobs)

        A list of job definitions.

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

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

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

        BatchGetJobsResponse.Builder jobsNotFound​(Collection<String> jobsNotFound)

        A list of names of jobs not found.

        Parameters:
        jobsNotFound - A list of names of jobs not found.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobsNotFound

        BatchGetJobsResponse.Builder jobsNotFound​(String... jobsNotFound)

        A list of names of jobs not found.

        Parameters:
        jobsNotFound - A list of names of jobs not found.
        Returns:
        Returns a reference to this object so that method calls can be chained together.