Class Value
java.lang.Object
software.amazon.awssdk.services.controltower.endpoints.internal.Value
- Direct Known Subclasses:
Value.Array
,Value.Bool
,Value.Endpoint
,Value.Int
,Value.None
,Value.Record
,Value.Str
Base class for the types of values computable by the
RuleEngine
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
An array value.static class
A boolean value.static class
static class
An integer value.static class
static class
A record (map) value.static class
A string value. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Value.Endpoint
endpointFromNode
(JsonNode source) boolean
int
static Value.Array
static Value.Bool
fromBool
(boolean value) static Value.Int
fromInteger
(int value) static Value
static Value.Record
fromRecord
(Map<Identifier, Value> value) static Value.Str
boolean
isNone()
static Value.None
none()
-
Constructor Details
-
Value
public Value()
-
-
Method Details
-
isNone
public boolean isNone() -
expectString
-
expectBool
public boolean expectBool() -
expectRecord
-
expectEndpoint
-
expectArray
-
expectInt
public int expectInt() -
fromNode
-
endpointFromNode
-
fromStr
-
fromInteger
-
fromBool
-
fromArray
-
fromRecord
-
none
-