Class IsVirtualHostableS3Bucket
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.SyntaxElement
software.amazon.smithy.rulesengine.language.syntax.expressions.Expression
software.amazon.smithy.rulesengine.language.syntax.expressions.functions.LibraryFunction
software.amazon.smithy.rulesengine.aws.language.functions.IsVirtualHostableS3Bucket
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,TypeCheck
,ToCondition
,ToExpression
An AWS rule-set function for determining whether a given string can be promoted to an S3 virtual bucket host label.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
AFunctionDefinition
for theIsVirtualHostableS3Bucket
function. -
Field Summary
Fields inherited from class software.amazon.smithy.rulesengine.language.syntax.expressions.functions.LibraryFunction
definition, functionNode
-
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(ExpressionVisitor<T> visitor) Invoke theExpressionVisitor
functions for this expression.Gets theFunctionDefinition
implementation.static IsVirtualHostableS3Bucket
ofExpressions
(ToExpression arg1, boolean arg2) Creates aIsVirtualHostableS3Bucket
function from the given expressions.static IsVirtualHostableS3Bucket
ofExpressions
(ToExpression arg1, ToExpression arg2) Creates aIsVirtualHostableS3Bucket
function from the given expressions.Methods inherited from class software.amazon.smithy.rulesengine.language.syntax.expressions.functions.LibraryFunction
equals, expectOneArgument, getArguments, getName, getSourceLocation, hashCode, toNode, toString, typeCheckLocal
Methods inherited from class software.amazon.smithy.rulesengine.language.syntax.expressions.Expression
fromNode, getLiteral, getReference, of, of, of, parseShortform, toConditionBuilder, toExpression, type, typeCheck
Methods inherited from class software.amazon.smithy.rulesengine.language.syntax.SyntaxElement
booleanEqual, getAttr, getAttr, isSet, isValidHostLabel, not, parseUrl, stringEqual, substring, template
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.smithy.rulesengine.language.syntax.ToCondition
toCondition, toCondition
-
Field Details
-
ID
- See Also:
-
-
Method Details
-
getDefinition
Gets theFunctionDefinition
implementation.- Returns:
- the function definition.
-
ofExpressions
Creates aIsVirtualHostableS3Bucket
function from the given expressions.- Parameters:
arg1
- the value to check.arg2
- whether to allow subdomains.- Returns:
- The resulting
IsVirtualHostableS3Bucket
function.
-
ofExpressions
Creates aIsVirtualHostableS3Bucket
function from the given expressions.- Parameters:
arg1
- the value to check.arg2
- whether to allow subdomains.- Returns:
- The resulting
IsVirtualHostableS3Bucket
function.
-
accept
Description copied from class:Expression
Invoke theExpressionVisitor
functions for this expression.- Specified by:
accept
in classExpression
- Type Parameters:
T
- the visitor return type.- Parameters:
visitor
- the visitor to be invoked.- Returns:
- the return value of the visitor.
-