Interface StringSetField
- All Superinterfaces:
CustomField
A field with a string set value.
Example to create an instance using the builder pattern
StringSetField stringSetField = StringSetField.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringSetFieldBuilder
builder()
builder factory method for StringSetFieldstatic StringSetFieldBuilder
builder
(StringSetField template) create builder for StringSetField instancestatic StringSetField
deepCopy
(StringSetField template) factory method to create a deep copy of StringSetFieldgetValue()
static StringSetField
of()
factory methodstatic StringSetField
of
(StringSetField template) factory method to create a shallow copy StringSetFieldvoid
set valuevoid
set valuestatic com.fasterxml.jackson.core.type.TypeReference<StringSetField>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStringSetField
(Function<StringSetField, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.customfields.CustomField
getType, withCustomField
-
Field Details
-
STRING_SET
discriminator value for StringSetField- See Also:
-
-
Method Details
-
getValue
- Returns:
- value
-
setValue
set value- Parameters:
value
- values to be set
-
setValue
set value- Parameters:
value
- values to be set
-
of
factory method- Returns:
- instance of StringSetField
-
of
factory method to create a shallow copy StringSetField- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of StringSetField- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StringSetField- Returns:
- builder
-
builder
create builder for StringSetField instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStringSetField
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-