Class DateTimeSetFieldBuilder
- All Implemented Interfaces:
Builder<DateTimeSetField>
Example to create an instance using the builder pattern
DateTimeSetField dateTimeSetField = DateTimeSetField.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds DateTimeSetField with checking for non-null required valuesbuilds DateTimeSetField without checking for non-null required valuesgetValue()JSON array of date time values in the formatYYYY-MM-DDTHH:mm:ss.SSSZwithout duplicates.static DateTimeSetFieldBuilderof()factory method for an instance of DateTimeSetFieldBuilderstatic DateTimeSetFieldBuilderof(DateTimeSetField template) create builder for DateTimeSetField instanceplusValue(ZonedDateTime... value) JSON array of date time values in the formatYYYY-MM-DDTHH:mm:ss.SSSZwithout duplicates.value(ZonedDateTime... value) JSON array of date time values in the formatYYYY-MM-DDTHH:mm:ss.SSSZwithout duplicates.value(List<ZonedDateTime> value) JSON array of date time values in the formatYYYY-MM-DDTHH:mm:ss.SSSZwithout duplicates.
-
Constructor Details
-
DateTimeSetFieldBuilder
public DateTimeSetFieldBuilder()
-
-
Method Details
-
value
JSON array of date time values in the format
YYYY-MM-DDTHH:mm:ss.SSSZwithout duplicates. 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:mmorZfor UTC. The order of items in the array is not fixed.- Parameters:
value- value to be set- Returns:
- Builder
-
value
JSON array of date time values in the format
YYYY-MM-DDTHH:mm:ss.SSSZwithout duplicates. 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:mmorZfor UTC. The order of items in the array is not fixed.- Parameters:
value- value to be set- Returns:
- Builder
-
plusValue
JSON array of date time values in the format
YYYY-MM-DDTHH:mm:ss.SSSZwithout duplicates. 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:mmorZfor UTC. The order of items in the array is not fixed.- Parameters:
value- value to be set- Returns:
- Builder
-
getValue
JSON array of date time values in the format
YYYY-MM-DDTHH:mm:ss.SSSZwithout duplicates. 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:mmorZfor UTC. The order of items in the array is not fixed.- Returns:
- value
-
build
builds DateTimeSetField with checking for non-null required values- Specified by:
buildin interfaceBuilder<DateTimeSetField>- Returns:
- DateTimeSetField
-
buildUnchecked
builds DateTimeSetField without checking for non-null required values- Returns:
- DateTimeSetField
-
of
factory method for an instance of DateTimeSetFieldBuilder- Returns:
- builder
-
of
create builder for DateTimeSetField instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-