Class Condition.Builder
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.syntax.rule.Condition.Builder
-
- All Implemented Interfaces:
SmithyBuilder<Condition>
- Enclosing class:
- Condition
public static class Condition.Builder extends java.lang.Object implements SmithyBuilder<Condition>
A builder used to create aCondition
class.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition
build()
Creates an immutable object that is created from the properties that have been set on the builder.Condition.Builder
fn(Expression fn)
Condition.Builder
result(java.lang.String result)
Condition.Builder
result(Identifier result)
-
-
-
Method Detail
-
fn
public Condition.Builder fn(Expression fn)
-
result
public Condition.Builder result(java.lang.String result)
-
result
public Condition.Builder result(Identifier result)
-
build
public Condition build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<Condition>
- Returns:
- an instance of T
-
-