Class TraitValidatorsTrait.Validator
- java.lang.Object
-
- software.amazon.smithy.model.traits.TraitValidatorsTrait.Validator
-
- All Implemented Interfaces:
ToNode
- Enclosing class:
- TraitValidatorsTrait
public static final class TraitValidatorsTrait.Validator extends java.lang.Object implements ToNode
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static TraitValidatorsTrait.Validator
fromNode(Node node)
java.util.Optional<java.lang.String>
getMessage()
Selector
getSelector()
Severity
getSeverity()
int
hashCode()
Node
toNode()
Converts a value to aNode
.
-
-
-
Method Detail
-
fromNode
public static TraitValidatorsTrait.Validator fromNode(Node node)
-
getSelector
public Selector getSelector()
-
getMessage
public java.util.Optional<java.lang.String> getMessage()
-
getSeverity
public Severity getSeverity()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-