Class StandardOperationVerbValidator.Config

java.lang.Object
software.amazon.smithy.linters.StandardOperationVerbValidator.Config
Enclosing class:
StandardOperationVerbValidator

public static final class StandardOperationVerbValidator.Config extends Object
StandardOperationVerb configuration settings.
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • getVerbs

      public List<String> getVerbs()
    • setVerbs

      public void setVerbs(List<String> verbs)
      Sets the list of standard operation verbs.
      Parameters:
      verbs - Verbs to allow.
    • getPrefixes

      public List<String> getPrefixes()
    • setPrefixes

      public void setPrefixes(List<String> prefixes)
      Sets the list of acceptable verb prefixed (e.g., Batch).
      Parameters:
      prefixes - The list of verb prefixes.
    • getSuggestAlternatives

      public Map<String,List<String>> getSuggestAlternatives()
    • setSuggestAlternatives

      public void setSuggestAlternatives(Map<String,List<String>> suggestAlternatives)
      Sets a map of invalid verbs to suggested alternatives.
      Parameters:
      suggestAlternatives - Alternative verb suggestions.