Interface CustomObjectLabel
- All Superinterfaces:
Label
CustomObjectLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomObjectLabel customObjectLabel = CustomObjectLabel.builder()
.key("{key}")
.container("{container}")
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomObjectLabelBuilder
builder()
builder factory method for CustomObjectLabelstatic CustomObjectLabelBuilder
builder
(CustomObjectLabel template) create builder for CustomObjectLabel instancestatic CustomObjectLabel
deepCopy
(CustomObjectLabel template) factory method to create a deep copy of CustomObjectLabel@NotNull String
Namespace to group Custom Objects.@NotNull String
getKey()
User-defined unique identifier of the CustomObject within the definedcontainer
.@NotNull String
getType()
static CustomObjectLabel
of()
factory methodstatic CustomObjectLabel
of
(CustomObjectLabel template) factory method to create a shallow copy CustomObjectLabelvoid
setContainer
(String container) Namespace to group Custom Objects.void
User-defined unique identifier of the CustomObject within the definedcontainer
.static com.fasterxml.jackson.core.type.TypeReference<CustomObjectLabel>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withCustomObjectLabel
(Function<CustomObjectLabel, T> helper) accessor map function
-
Field Details
-
CUSTOM_OBJECT_LABEL
discriminator value for CustomObjectLabel- See Also:
-
-
Method Details
-
getType
-
getKey
User-defined unique identifier of the CustomObject within the defined
container
.- Returns:
- key
-
getContainer
Namespace to group Custom Objects.
- Returns:
- container
-
setKey
User-defined unique identifier of the CustomObject within the defined
container
.- Parameters:
key
- value to be set
-
setContainer
Namespace to group Custom Objects.
- Parameters:
container
- value to be set
-
of
factory method- Returns:
- instance of CustomObjectLabel
-
of
factory method to create a shallow copy CustomObjectLabel- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomObjectLabel- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomObjectLabel- Returns:
- builder
-
builder
create builder for CustomObjectLabel instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomObjectLabel
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
-