Interface SeverityOverride
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
Changes the severity of a validation event.
- 
Method Summary
Modifier and TypeMethodDescriptionapply(ValidationEvent event) Returns the severity to apply to the validation event.static SeverityOverridefromMetadata(Node node) Creates a severity override from aNodefound in the "severityOverrides" metadata of a Smithy model. 
- 
Method Details
- 
apply
Returns the severity to apply to the validation event.- Parameters:
 event- Event to modify.- Returns:
 - Returns the severity to use with the event.
 
 - 
fromMetadata
Creates a severity override from aNodefound in the "severityOverrides" metadata of a Smithy model.- Parameters:
 node- Node to parse.- Returns:
 - Returns the loaded override.
 - Throws:
 ExpectationNotMetException- if the override node is malformed.
 
 -