@InterfaceAudience.Private @InterfaceStability.Unstable public class SqoopActionBuilder extends NodeBuilderBaseImpl<SqoopActionBuilder> implements Builder<SqoopAction>
SqoopAction.
The properties of the builder can only be set once, an attempt to set them a second time will trigger
an IllegalStateException. The properties that are lists are an exception to this rule, of course multiple
elements can be added / removed.
Builder instances can be used to build several elements, although properties already set cannot be changed after
a call to build() either.addAsChildToAllParents, clearCredentials, clearParents, withCredential, withErrorHandler, withName, withoutCredential, withoutErrorHandler, withoutParent, withParent, withParentDefaultConditional, withParentWithCondition, withRetryInterval, withRetryMax, withRetryPolicypublic static SqoopActionBuilder create()
public static SqoopActionBuilder createFromExistingAction(SqoopAction action)
public static SqoopActionBuilder createFromExistingAction(Node action)
public SqoopActionBuilder withResourceManager(String resourceManager)
public SqoopActionBuilder withNameNode(String nameNode)
public SqoopActionBuilder withPrepare(Prepare prepare)
public SqoopActionBuilder withLauncher(Launcher launcher)
public SqoopActionBuilder withJobXml(String jobXml)
public SqoopActionBuilder withoutJobXml(String jobXml)
public SqoopActionBuilder clearJobXmls()
public SqoopActionBuilder withConfigProperty(String key, String value)
public SqoopActionBuilder withCommand(String command)
public SqoopActionBuilder withArgument(String argument)
public SqoopActionBuilder withoutArgument(String argument)
public SqoopActionBuilder clearArguments()
public SqoopActionBuilder withFile(String file)
public SqoopActionBuilder withoutFile(String file)
public SqoopActionBuilder clearFiles()
public SqoopActionBuilder withArchive(String archive)
public SqoopActionBuilder withoutArchive(String archive)
public SqoopActionBuilder clearArchives()
public SqoopAction build()
Builderbuild in interface Builder<SqoopAction>protected SqoopActionBuilder getRuntimeSelfReference()
getRuntimeSelfReference in class NodeBuilderBaseImpl<SqoopActionBuilder>Copyright © 2021 Apache Software Foundation. All rights reserved.