| Constructor and Description |
|---|
Builder(String startAt,
String breakTypeId,
String name,
String expectedDuration,
boolean isPaid)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Break.Builder |
breakTypeId(String breakTypeId)
Setter for breakTypeId.
|
Break |
build()
Builds a new
Break object using the set fields. |
Break.Builder |
endAt(String endAt)
Setter for endAt.
|
Break.Builder |
expectedDuration(String expectedDuration)
Setter for expectedDuration.
|
Break.Builder |
id(String id)
Setter for id.
|
Break.Builder |
isPaid(boolean isPaid)
Setter for isPaid.
|
Break.Builder |
name(String name)
Setter for name.
|
Break.Builder |
startAt(String startAt)
Setter for startAt.
|
public Builder(String startAt, String breakTypeId, String name, String expectedDuration, boolean isPaid)
startAt - String value for startAt.breakTypeId - String value for breakTypeId.name - String value for name.expectedDuration - String value for expectedDuration.isPaid - boolean value for isPaid.public Break.Builder startAt(String startAt)
startAt - String value for startAt.public Break.Builder breakTypeId(String breakTypeId)
breakTypeId - String value for breakTypeId.public Break.Builder name(String name)
name - String value for name.public Break.Builder expectedDuration(String expectedDuration)
expectedDuration - String value for expectedDuration.public Break.Builder isPaid(boolean isPaid)
isPaid - boolean value for isPaid.public Break.Builder id(String id)
id - String value for id.public Break.Builder endAt(String endAt)
endAt - String value for endAt.Copyright © 2022. All rights reserved.