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