Interface JobCancelRequest.Builder

Enclosing interface:
JobCancelRequest

public static interface JobCancelRequest.Builder
Creates a new instance of JobCancelRequest.
  • Method Details

    • withId

      Required: Sets the ID of the job instance to cancel.
      Parameters:
      jobId - a String containing the jobInstanceId of the job instance to cancel. Cannot be null.
      Returns:
      this Builder
    • build

      Validates and returns the completed JobCancelRequest.
      Returns:
      the completed JobCancelRequest