Interface StringLabel
- All Superinterfaces:
Label
StringLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StringLabel stringLabel = StringLabel.builder()
.value("{value}")
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringLabelBuilder
builder()
builder factory method for StringLabelstatic StringLabelBuilder
builder
(StringLabel template) create builder for StringLabel instancestatic StringLabel
deepCopy
(StringLabel template) factory method to create a deep copy of StringLabel@NotNull String
getType()
@NotNull String
getValue()
Changed value.static StringLabel
of()
factory methodstatic StringLabel
of
(StringLabel template) factory method to create a shallow copy StringLabelvoid
Changed value.static com.fasterxml.jackson.core.type.TypeReference<StringLabel>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStringLabel
(Function<StringLabel, T> helper) accessor map function
-
Field Details
-
STRING_LABEL
discriminator value for StringLabel- See Also:
-
-
Method Details
-
getType
-
getValue
Changed value.
- Returns:
- value
-
setValue
Changed value.
- Parameters:
value
- value to be set
-
of
factory method- Returns:
- instance of StringLabel
-
of
factory method to create a shallow copy StringLabel- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of StringLabel- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StringLabel- Returns:
- builder
-
builder
create builder for StringLabel instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStringLabel
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
-