Interface ToCondition
- All Known Implementing Classes:
 AwsPartition,BooleanEquals,BooleanLiteral,Condition,Expression,GetAttr,IntegerLiteral,IsSet,IsValidHostLabel,IsVirtualHostableS3Bucket,LibraryFunction,Literal,Not,Parameter,ParseArn,ParseUrl,RecordLiteral,Reference,StringEquals,StringLiteral,Substring,SyntaxElement,TupleLiteral,UriEncode
public interface ToCondition
Supplies functionality to be coercible into 
Conditions for
 use in composing rule-sets in code.- 
Method Summary
Modifier and TypeMethodDescriptiondefault ConditionConvert this into a condition.default ConditiontoCondition(String result) Converts this function into a condition which stores the output in the named result.Convert this into a condition builder for compositional use. 
- 
Method Details
- 
toConditionBuilder
Condition.Builder toConditionBuilder()Convert this into a condition builder for compositional use.- Returns:
 - the condition builder.
 
 - 
toCondition
Convert this into a condition.- Returns:
 - the condition.
 
 - 
toCondition
Converts this function into a condition which stores the output in the named result.- Parameters:
 result- the name of the result parameter.- Returns:
 - the function as a condition.
 
 
 -