Interface SearchJobsRequest.Builder

    • Method Detail

      • inputFile

        SearchJobsRequest.Builder inputFile​(String inputFile)
        Optional. Provide your input file URL or your partial input file name. The maximum length for an input file is 300 characters.
        Parameters:
        inputFile - Optional. Provide your input file URL or your partial input file name. The maximum length for an input file is 300 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        SearchJobsRequest.Builder maxResults​(Integer maxResults)
        Optional. Number of jobs, up to twenty, that will be returned at one time.
        Parameters:
        maxResults - Optional. Number of jobs, up to twenty, that will be returned at one time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        SearchJobsRequest.Builder nextToken​(String nextToken)
        Optional. Use this string, provided with the response to a previous request, to request the next batch of jobs.
        Parameters:
        nextToken - Optional. Use this string, provided with the response to a previous request, to request the next batch of jobs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • order

        SearchJobsRequest.Builder order​(String order)
        Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
        Parameters:
        order - Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Order, Order
      • order

        SearchJobsRequest.Builder order​(Order order)
        Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
        Parameters:
        order - Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Order, Order
      • queue

        SearchJobsRequest.Builder queue​(String queue)
        Optional. Provide a queue name, or a queue ARN, to return only jobs from that queue.
        Parameters:
        queue - Optional. Provide a queue name, or a queue ARN, to return only jobs from that queue.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        SearchJobsRequest.Builder status​(String status)
        Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
        Parameters:
        status - Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • status

        SearchJobsRequest.Builder status​(JobStatus status)
        Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
        Parameters:
        status - Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus