@InterfaceAudience.Private @InterfaceStability.Unstable public class DistcpActionBuilder extends NodeBuilderBaseImpl<DistcpActionBuilder> implements Builder<DistcpAction>
DistcpAction.
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.| Modifier and Type | Method and Description |
|---|---|
DistcpAction |
build()
Builds and returns an object.
|
DistcpActionBuilder |
clearArgs() |
static DistcpActionBuilder |
create() |
static DistcpActionBuilder |
createFromExistingAction(Node action) |
protected DistcpActionBuilder |
getRuntimeSelfReference() |
DistcpActionBuilder |
withArg(String arg) |
DistcpActionBuilder |
withConfigProperty(String key,
String value) |
DistcpActionBuilder |
withJavaOpts(String javaOpts) |
DistcpActionBuilder |
withNameNode(String nameNode) |
DistcpActionBuilder |
withoutArg(String arg) |
DistcpActionBuilder |
withPrepare(Prepare prepare) |
DistcpActionBuilder |
withResourceManager(String resourceManager) |
addAsChildToAllParents, clearCredentials, clearParents, withCredential, withErrorHandler, withName, withoutCredential, withoutErrorHandler, withoutParent, withParent, withParentDefaultConditional, withParentWithCondition, withRetryInterval, withRetryMax, withRetryPolicypublic static DistcpActionBuilder create()
public static DistcpActionBuilder createFromExistingAction(Node action)
public DistcpActionBuilder withResourceManager(String resourceManager)
public DistcpActionBuilder withNameNode(String nameNode)
public DistcpActionBuilder withPrepare(Prepare prepare)
public DistcpActionBuilder withConfigProperty(String key, String value)
public DistcpActionBuilder withJavaOpts(String javaOpts)
public DistcpActionBuilder withArg(String arg)
public DistcpActionBuilder withoutArg(String arg)
public DistcpActionBuilder clearArgs()
public DistcpAction build()
Builderbuild in interface Builder<DistcpAction>protected DistcpActionBuilder getRuntimeSelfReference()
getRuntimeSelfReference in class NodeBuilderBaseImpl<DistcpActionBuilder>Copyright © 2021 Apache Software Foundation. All rights reserved.