public static class SaharaJobExecution.concreteJobExecutionBuilder extends Object implements JobExecutionBuilder
Modifier and Type | Method and Description |
---|---|
JobExecution |
build()
Creates and return the Model Entity M
|
JobExecutionBuilder |
clusterId(String clusterId)
|
JobExecutionBuilder |
from(JobExecution in)
Creates a Builder using the param M as the default values
|
JobExecutionBuilder |
inputId(String inputId)
|
JobExecutionBuilder |
jobId(String jobId)
|
JobExecutionBuilder |
outputId(String outputId)
|
JobExecutionBuilder |
setJobConfig(JobConfig jobConfig)
|
public JobExecution build()
Buildable.Builder
build
in interface Buildable.Builder<JobExecutionBuilder,JobExecution>
public JobExecutionBuilder from(JobExecution in)
Buildable.Builder
from
in interface Buildable.Builder<JobExecutionBuilder,JobExecution>
public JobExecutionBuilder clusterId(String clusterId)
JobExecutionBuilder
clusterId
in interface JobExecutionBuilder
clusterId
- the cluster identifierpublic JobExecutionBuilder inputId(String inputId)
JobExecutionBuilder
inputId
in interface JobExecutionBuilder
inputId
- the input identifierpublic JobExecutionBuilder outputId(String outputId)
JobExecutionBuilder
outputId
in interface JobExecutionBuilder
outputId
- the output identifierpublic JobExecutionBuilder setJobConfig(JobConfig jobConfig)
JobExecutionBuilder
setJobConfig
in interface JobExecutionBuilder
jobConfig
- the job configurationpublic JobExecutionBuilder jobId(String jobId)
JobExecutionBuilder
jobId
in interface JobExecutionBuilder
jobId
- the job identifierCopyright © 2017. All rights reserved.