Class LocalizedEnumSetFieldBuilder
- All Implemented Interfaces:
Builder<LocalizedEnumSetField>
Example to create an instance using the builder pattern
LocalizedEnumSetField localizedEnumSetField = LocalizedEnumSetField.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds LocalizedEnumSetField with checking for non-null required valuesbuilds LocalizedEnumSetField without checking for non-null required valuesgetValue()
JSON array of localized enum values, each represented by its key.static LocalizedEnumSetFieldBuilder
of()
factory method for an instance of LocalizedEnumSetFieldBuilderstatic LocalizedEnumSetFieldBuilder
of
(LocalizedEnumSetField template) create builder for LocalizedEnumSetField instanceJSON array of localized enum values, each represented by its key.JSON array of localized enum values, each represented by its key.JSON array of localized enum values, each represented by its key.
-
Constructor Details
-
LocalizedEnumSetFieldBuilder
public LocalizedEnumSetFieldBuilder()
-
-
Method Details
-
value
JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.
- Parameters:
value
- value to be set- Returns:
- Builder
-
value
JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.
- Parameters:
value
- value to be set- Returns:
- Builder
-
plusValue
JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.
- Parameters:
value
- value to be set- Returns:
- Builder
-
getValue
JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.
- Returns:
- value
-
build
builds LocalizedEnumSetField with checking for non-null required values- Specified by:
build
in interfaceBuilder<LocalizedEnumSetField>
- Returns:
- LocalizedEnumSetField
-
buildUnchecked
builds LocalizedEnumSetField without checking for non-null required values- Returns:
- LocalizedEnumSetField
-
of
factory method for an instance of LocalizedEnumSetFieldBuilder- Returns:
- builder
-
of
create builder for LocalizedEnumSetField instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-