Package software.amazon.smithy.syntax
Class CapturedToken.Builder
java.lang.Object
software.amazon.smithy.syntax.CapturedToken.Builder
- All Implemented Interfaces:
SmithyBuilder<CapturedToken>
- Enclosing class:
- CapturedToken
public static final class CapturedToken.Builder
extends Object
implements SmithyBuilder<CapturedToken>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.endColumn
(int endColumn) endLine
(int endLine) errorMessage
(String errorMessage) lexeme
(CharSequence lexeme) numberValue
(Number numberValue) position
(int position) startColumn
(int startColumn) startLine
(int startLine) stringContents
(String stringContents)
-
Method Details
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<CapturedToken>
- Returns:
- an instance of T
-
token
-
filename
-
position
-
startLine
-
startColumn
-
endLine
-
endColumn
-
lexeme
-
stringContents
-
errorMessage
-
numberValue
-