Class TimeSetFieldBuilder
- All Implemented Interfaces:
Builder<TimeSetField>
Example to create an instance using the builder pattern
TimeSetField timeSetField = TimeSetField.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds TimeSetField with checking for non-null required valuesbuilds TimeSetField without checking for non-null required valuesgetValue()
JSON array of time values in the formatHH:mm:ss.SSS
.static TimeSetFieldBuilder
of()
factory method for an instance of TimeSetFieldBuilderstatic TimeSetFieldBuilder
of
(TimeSetField template) create builder for TimeSetField instanceJSON array of time values in the formatHH:mm:ss.SSS
.JSON array of time values in the formatHH:mm:ss.SSS
.JSON array of time values in the formatHH:mm:ss.SSS
.
-
Constructor Details
-
TimeSetFieldBuilder
public TimeSetFieldBuilder()
-
-
Method Details
-
value
JSON array of time values in the format
HH:mm:ss.SSS
. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format±HH:mm
orZ
for UTC. The order of items in the array is not fixed.- Parameters:
value
- value to be set- Returns:
- Builder
-
value
JSON array of time values in the format
HH:mm:ss.SSS
. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format±HH:mm
orZ
for UTC. The order of items in the array is not fixed.- Parameters:
value
- value to be set- Returns:
- Builder
-
plusValue
JSON array of time values in the format
HH:mm:ss.SSS
. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format±HH:mm
orZ
for UTC. The order of items in the array is not fixed.- Parameters:
value
- value to be set- Returns:
- Builder
-
getValue
JSON array of time values in the format
HH:mm:ss.SSS
. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format±HH:mm
orZ
for UTC. The order of items in the array is not fixed.- Returns:
- value
-
build
builds TimeSetField with checking for non-null required values- Specified by:
build
in interfaceBuilder<TimeSetField>
- Returns:
- TimeSetField
-
buildUnchecked
builds TimeSetField without checking for non-null required values- Returns:
- TimeSetField
-
of
factory method for an instance of TimeSetFieldBuilder- Returns:
- builder
-
of
create builder for TimeSetField instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-