public static final class ShapeLink.Builder extends java.lang.Object implements SmithyBuilder<ShapeLink>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ShapeLink.Builder |
addTag(java.lang.String tag)
Adds a tag to the tags list of a ShapeLink.
|
ShapeLink |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
ShapeLink.Builder |
column(java.lang.Integer column)
Sets tags list of a ShapeLink.
|
ShapeLink.Builder |
file(java.lang.String file)
Sets File of a ShapeLink.
|
ShapeLink.Builder |
id(java.lang.String id) |
ShapeLink.Builder |
line(java.lang.Integer line)
Sets line of a ShapeLink.
|
ShapeLink.Builder |
tags(java.util.List<java.lang.String> tags)
Sets tags list of a ShapeLink.
|
ShapeLink.Builder |
type(java.lang.String type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public ShapeLink build()
SmithyBuilder
build
in interface SmithyBuilder<ShapeLink>
public ShapeLink.Builder type(java.lang.String type)
public ShapeLink.Builder id(java.lang.String id)
public ShapeLink.Builder tags(java.util.List<java.lang.String> tags)
tags
- list of tags.public ShapeLink.Builder addTag(java.lang.String tag)
tag
- tag to add.public ShapeLink.Builder file(java.lang.String file)
file
- File.public ShapeLink.Builder line(java.lang.Integer line)
line
- Line number in artifact file.public ShapeLink.Builder column(java.lang.Integer column)
column
- Column number in artifact file.