Constructor and Description |
---|
Builder()
Create a new Builder
|
Modifier and Type | Method and Description |
---|---|
Leader.Builder |
align(Leader.Alignment align)
Set the Alignment for Leader instances created using this builder.
|
Leader |
build()
Build Leader using the current state of the Builder
|
Leader.Builder |
pattern(String pattern)
Set the pattern for Leader instances created using this builder.
|
Leader.Builder |
position(Position pos)
Set the Position for Leader instances created using this builder.
|
public Leader.Builder position(Position pos)
pos
- the Position for the leaderpublic Leader.Builder align(Leader.Alignment align)
align
- the Alignment for the leaderpublic Leader.Builder pattern(String pattern)
pattern
- the pattern for the leaderpublic Leader build()