Class ExpressionParser
java.lang.Object
software.amazon.awssdk.codegen.poet.rules2.ExpressionParser
Utility methods for parsing endpoint rules expressions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PropertiesExpressionparsePropertiesExpression(com.fasterxml.jackson.jr.stree.JrsObject object) static RuleSetExpressionparseRuleSetExpression(RuleModel model) Parses a rule set expression.static RuleExpressionparseStringValue(String value) Parses a string value.
-
Method Details
-
parseRuleSetExpression
Parses a rule set expression. Each expression consist of a list of conditions plus a body that can be either a tree node grouping more rule set expressions or a leaf node which is either an endpoint or an error. -
parseStringValue
Parses a string value. A string value can be parsed into:- A literal string value, e.g.,
"--x-s3" - A get attribute expression, e.g.,
"{url#scheme}" - A get indexed attribute expression, e.g.,
"resourceId[0]" - A string concatenation expression, e.g.,
"https://{Bucket}.op-{outpostId}.{url#authority}"
- A literal string value, e.g.,
-
parsePropertiesExpression
public static PropertiesExpression parsePropertiesExpression(com.fasterxml.jackson.jr.stree.JrsObject object)
-