| Constructor and Description |
|---|
Builder(String locationId,
String breakName,
String expectedDuration,
boolean isPaid)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BreakType.Builder |
breakName(String breakName)
Setter for breakName.
|
BreakType |
build()
Builds a new
BreakType object using the set fields. |
BreakType.Builder |
createdAt(String createdAt)
Setter for createdAt.
|
BreakType.Builder |
expectedDuration(String expectedDuration)
Setter for expectedDuration.
|
BreakType.Builder |
id(String id)
Setter for id.
|
BreakType.Builder |
isPaid(boolean isPaid)
Setter for isPaid.
|
BreakType.Builder |
locationId(String locationId)
Setter for locationId.
|
BreakType.Builder |
updatedAt(String updatedAt)
Setter for updatedAt.
|
BreakType.Builder |
version(Integer version)
Setter for version.
|
public Builder(String locationId, String breakName, String expectedDuration, boolean isPaid)
locationId - String value for locationId.breakName - String value for breakName.expectedDuration - String value for expectedDuration.isPaid - boolean value for isPaid.public BreakType.Builder locationId(String locationId)
locationId - String value for locationId.public BreakType.Builder breakName(String breakName)
breakName - String value for breakName.public BreakType.Builder expectedDuration(String expectedDuration)
expectedDuration - String value for expectedDuration.public BreakType.Builder isPaid(boolean isPaid)
isPaid - boolean value for isPaid.public BreakType.Builder id(String id)
id - String value for id.public BreakType.Builder version(Integer version)
version - Integer value for version.public BreakType.Builder createdAt(String createdAt)
createdAt - String value for createdAt.public BreakType.Builder updatedAt(String updatedAt)
updatedAt - String value for updatedAt.Copyright © 2022. All rights reserved.