public static class ParallelDoOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ParallelDoOptions |
build() |
ParallelDoOptions.Builder |
conf(String confKey,
String confValue)
Specifies key-value pairs that should be added to the
Configuration object associated with the
Job that includes these options. |
ParallelDoOptions.Builder |
sources(Collection<Source<?>> sources) |
ParallelDoOptions.Builder |
sources(Source<?>... sources) |
ParallelDoOptions.Builder |
sourceTargets(Collection<SourceTarget<?>> sourceTargets) |
ParallelDoOptions.Builder |
sourceTargets(SourceTarget<?>... sourceTargets) |
ParallelDoOptions.Builder |
targets(Collection<Target> targets) |
ParallelDoOptions.Builder |
targets(Target... targets) |
public ParallelDoOptions.Builder sources(Source<?>... sources)
public ParallelDoOptions.Builder sources(Collection<Source<?>> sources)
public ParallelDoOptions.Builder sourceTargets(SourceTarget<?>... sourceTargets)
public ParallelDoOptions.Builder sourceTargets(Collection<SourceTarget<?>> sourceTargets)
public ParallelDoOptions.Builder targets(Target... targets)
public ParallelDoOptions.Builder targets(Collection<Target> targets)
public ParallelDoOptions.Builder conf(String confKey, String confValue)
Configuration
object associated with the
Job
that includes these options.confKey
- The keyconfValue
- The valueBuilder
instancepublic ParallelDoOptions build()
Copyright © 2016 The Apache Software Foundation. All rights reserved.