Class FunctionNode.Builder
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.RulesComponentBuilder<FunctionNode.Builder,FunctionNode>
-
- software.amazon.smithy.rulesengine.language.syntax.expressions.functions.FunctionNode.Builder
-
- All Implemented Interfaces:
FromSourceLocation,SmithyBuilder<FunctionNode>
- Enclosing class:
- FunctionNode
public static final class FunctionNode.Builder extends RulesComponentBuilder<FunctionNode.Builder,FunctionNode>
A builder used to create aFunctionNodeclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionNode.Builderarguments(java.util.List<? extends ToExpression> argv)FunctionNodebuild()Creates an immutable object that is created from the properties that have been set on the builder.FunctionNode.Buildername(StringNode functionName)-
Methods inherited from class software.amazon.smithy.rulesengine.language.RulesComponentBuilder
getSourceLocation, javaLocation, sourceLocation
-
-
-
-
Method Detail
-
arguments
public FunctionNode.Builder arguments(java.util.List<? extends ToExpression> argv)
-
name
public FunctionNode.Builder name(StringNode functionName)
-
build
public FunctionNode build()
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
-