Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String nature,
String party)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Label |
build()
Builds a Label.
|
Label.Builder |
nature(String nature)
Set the nature.
|
Label.Builder |
party(String party)
Set the party.
|
public Label build()
public Label.Builder nature(String nature)
nature
- the naturepublic Label.Builder party(String party)
party
- the partyCopyright © 2021 IBM Cloud. All rights reserved.