public static class Label.Builder
extends java.lang.Object
Constructor and Description |
---|
Label.Builder()
Instantiates a new builder.
|
Label.Builder(java.lang.String nature,
java.lang.String party)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Label |
build()
Builds a Label.
|
Label.Builder |
nature(java.lang.String nature)
Set the nature.
|
Label.Builder |
party(java.lang.String party)
Set the party.
|
public Label.Builder()
public Label.Builder(java.lang.String nature, java.lang.String party)
nature
- the natureparty
- the partypublic Label build()
public Label.Builder nature(java.lang.String nature)
nature
- the naturepublic Label.Builder party(java.lang.String party)
party
- the party