Class JobSubmission.JobSubmissionBuilder

    • Constructor Detail

      • JobSubmissionBuilder

        public JobSubmissionBuilder​(Path jar)
    • Method Detail

      • setMainClass

        public JobSubmission.JobSubmissionBuilder setMainClass​(String mainClass)
        Sets the main class for the job.
        Parameters:
        mainClass - main class for the job
        Returns:
        the modified builder
      • setParallelism

        public JobSubmission.JobSubmissionBuilder setParallelism​(int parallelism)
        Sets the parallelism for the job.
        Parameters:
        parallelism - parallelism for the job
        Returns:
        the modified builder
      • setDetached

        public JobSubmission.JobSubmissionBuilder setDetached​(boolean detached)
        Sets whether the job should be submitted in a detached manner.
        Parameters:
        detached - whether to submit the job in a detached manner
        Returns:
        the modified builder