Package software.amazon.smithy.linters
Class StandardOperationVerbValidator.Config
java.lang.Object
software.amazon.smithy.linters.StandardOperationVerbValidator.Config
- Enclosing class:
- StandardOperationVerbValidator
StandardOperationVerb configuration settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetVerbs()
void
setPrefixes
(List<String> prefixes) Sets the list of acceptable verb prefixed (e.g., Batch).void
setSuggestAlternatives
(Map<String, List<String>> suggestAlternatives) Sets a map of invalid verbs to suggested alternatives.void
Sets the list of standard operation verbs.
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
getVerbs
-
setVerbs
Sets the list of standard operation verbs.- Parameters:
verbs
- Verbs to allow.
-
getPrefixes
-
setPrefixes
Sets the list of acceptable verb prefixed (e.g., Batch).- Parameters:
prefixes
- The list of verb prefixes.
-
getSuggestAlternatives
-
setSuggestAlternatives
Sets a map of invalid verbs to suggested alternatives.- Parameters:
suggestAlternatives
- Alternative verb suggestions.
-