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 aFunctionNode
class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionNode.Builder
arguments(java.util.List<? extends ToExpression> argv)
FunctionNode
build()
Creates an immutable object that is created from the properties that have been set on the builder.FunctionNode.Builder
name(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:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
-