Class Fn
- java.lang.Object
-
- software.amazon.awssdk.services.sns.endpoints.internal.Expr
-
- software.amazon.awssdk.services.sns.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> R
accept(ExprVisitor<R> visitor)
abstract <T> T
acceptFnVisitor(FnVisitor<T> visitor)
Condition
condition()
Convert this fn into a conditionCondition
condition(String result)
boolean
equals(Object o)
protected Expr
expectOneArg()
protected Pair<Expr,Expr>
expectTwoArgs()
protected List<Expr>
expectVariableArgs(int expectedNumberArgs)
List<Expr>
getArgv()
String
getName()
Returns the name of this function, eg.int
hashCode()
Condition
into()
String
toString()
-
Methods inherited from class software.amazon.awssdk.services.sns.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()
-
-