public static final class MappedReservedWords.Builder extends java.lang.Object implements SmithyBuilder<ReservedWords>
MappedReservedWords
instance.Modifier and Type | Method and Description |
---|---|
ReservedWords |
build()
Builds the reserved words.
|
MappedReservedWords.Builder |
put(java.lang.String reservedWord,
java.lang.String conversion)
Add a new reserved words.
|
MappedReservedWords.Builder |
putCaseInsensitive(java.lang.String reservedWord,
java.lang.String conversion)
Add a new case-insensitive reserved word that converts the given
reserved word to the given conversion string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public MappedReservedWords.Builder put(java.lang.String reservedWord, java.lang.String conversion)
reservedWord
- Reserved word to convert.conversion
- Word to convert to.public MappedReservedWords.Builder putCaseInsensitive(java.lang.String reservedWord, java.lang.String conversion)
Note that the conversion string is used literally. The casing
of the original word has no effect on the conversion. Use
ReservedWordsBuilder
for a case-insensitive reserved words
implementation that can take casing into account.
reservedWord
- Case-insensitive reserved word to convert.conversion
- Word to convert to.public ReservedWords build()
build
in interface SmithyBuilder<ReservedWords>