Class Rule
- java.lang.Object
-
- software.amazon.awssdk.services.sns.endpoints.internal.Rule
-
- Direct Known Subclasses:
EndpointRule
,ErrorRule
,TreeRule
public abstract class Rule extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Rule.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<Condition>
conditions
static String
CONDITIONS
protected String
documentation
static String
DOCUMENTATION
static String
ENDPOINT
static String
ERROR
static String
RULES
static String
TREE
static String
TYPE
-
Constructor Summary
Constructors Modifier Constructor Description protected
Rule(Rule.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract <T> T
accept(RuleValueVisitor<T> v)
static Rule.Builder
builder()
static Rule
fromNode(JsonNode node)
List<Condition>
getConditions()
-
-
-
Field Detail
-
CONDITIONS
public static final String CONDITIONS
- See Also:
- Constant Field Values
-
DOCUMENTATION
public static final String DOCUMENTATION
- See Also:
- Constant Field Values
-
ENDPOINT
public static final String ENDPOINT
- See Also:
- Constant Field Values
-
ERROR
public static final String ERROR
- See Also:
- Constant Field Values
-
TREE
public static final String TREE
- See Also:
- Constant Field Values
-
RULES
public static final String RULES
- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
documentation
protected final String documentation
-
-
Constructor Detail
-
Rule
protected Rule(Rule.Builder builder)
-
-
Method Detail
-
accept
public abstract <T> T accept(RuleValueVisitor<T> v)
-
builder
public static Rule.Builder builder()
-
-