Class ShapeLink.Builder
java.lang.Object
software.amazon.smithy.codegen.core.trace.ShapeLink.Builder
- All Implemented Interfaces:
SmithyBuilder<ShapeLink>
- Enclosing class:
- ShapeLink
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a tag to the tags list of a ShapeLink.build()
Creates an immutable object that is created from the properties that have been set on the builder.Sets tags list of a ShapeLink.Sets File of a ShapeLink.Sets line of a ShapeLink.Sets tags list of a ShapeLink.
-
Constructor Details
-
Builder
public Builder()
-
-
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<ShapeLink>
- Returns:
- an instance of T
-
type
-
id
-
tags
Sets tags list of a ShapeLink.- Parameters:
tags
- list of tags.- Returns:
- This builder.
-
addTag
Adds a tag to the tags list of a ShapeLink.- Parameters:
tag
- tag to add.- Returns:
- This builder.
-
file
Sets File of a ShapeLink.- Parameters:
file
- File.- Returns:
- This builder.
-
line
Sets line of a ShapeLink.- Parameters:
line
- Line number in artifact file.- Returns:
- This builder.
-
column
Sets tags list of a ShapeLink.- Parameters:
column
- Column number in artifact file.- Returns:
- This builder.
-