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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetVerbs()voidsetPrefixes(List<String> prefixes) Sets the list of acceptable verb prefixed (e.g., Batch).voidsetSuggestAlternatives(Map<String, List<String>> suggestAlternatives) Sets a map of invalid verbs to suggested alternatives.voidSets 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.
 
 -