Interface TerminateServiceJobsResponse.Builder

  • Method Details

    • successful

      A list of the service job IDs whose termination request was accepted.

      Parameters:
      successful - A list of the service job IDs whose termination request was accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successful

      TerminateServiceJobsResponse.Builder successful(String... successful)

      A list of the service job IDs whose termination request was accepted.

      Parameters:
      successful - A list of the service job IDs whose termination request was accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      A list of TerminateServiceJobsErrorDetail items, one for each service job that couldn't be terminated. Each item includes the service job ID along with a code and message that describe why the service job wasn't terminated.

      Parameters:
      errors - A list of TerminateServiceJobsErrorDetail items, one for each service job that couldn't be terminated. Each item includes the service job ID along with a code and message that describe why the service job wasn't terminated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      A list of TerminateServiceJobsErrorDetail items, one for each service job that couldn't be terminated. Each item includes the service job ID along with a code and message that describe why the service job wasn't terminated.

      Parameters:
      errors - A list of TerminateServiceJobsErrorDetail items, one for each service job that couldn't be terminated. Each item includes the service job ID along with a code and message that describe why the service job wasn't terminated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      A list of TerminateServiceJobsErrorDetail items, one for each service job that couldn't be terminated. Each item includes the service job ID along with a code and message that describe why the service job wasn't terminated.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errors(List<TerminateServiceJobsErrorDetail>).

      Parameters:
      errors - a consumer that will call methods on TerminateServiceJobsErrorDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: