Class Fn
- java.lang.Object
-
- software.amazon.awssdk.services.acm.endpoints.internal.Expr
-
- software.amazon.awssdk.services.acm.endpoints.internal.Fn
-
- Direct Known Subclasses:
BooleanEqualsFn,GetAttr,IsValidHostLabel,IsVirtualHostableS3Bucket,SingleArgFn,StringEqualsFn,Substring
public abstract class Fn extends Expr implements Into<Condition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <R> Raccept(ExprVisitor<R> visitor)abstract <T> TacceptFnVisitor(FnVisitor<T> visitor)Conditioncondition()Convert this fn into a conditionConditioncondition(String result)booleanequals(Object o)protected ExprexpectOneArg()protected Pair<Expr,Expr>expectTwoArgs()protected List<Expr>expectVariableArgs(int expectedNumberArgs)List<Expr>getArgv()StringgetName()Returns the name of this function, eg.inthashCode()Conditioninto()StringtoString()-
Methods inherited from class software.amazon.awssdk.services.acm.endpoints.internal.Expr
fromNode, getAttr, getAttr, of, of, of, parseShortform, ref, template
-
-
-
-
Field Detail
-
fnNode
protected FnNode fnNode
-
-
Constructor Detail
-
Fn
public Fn(FnNode fnNode)
-
-
Method Detail
-
condition
public Condition condition()
Convert this fn into a condition
-
acceptFnVisitor
public abstract <T> T acceptFnVisitor(FnVisitor<T> visitor)
-
accept
public <R> R accept(ExprVisitor<R> visitor)
-
getName
public String getName()
Returns the name of this function, eg.isSet,parseUrl- Returns:
- The name
-
expectOneArg
protected Expr expectOneArg()
-
-