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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomObjectLabelBuilderbuilder()builder factory method for CustomObjectLabelstatic CustomObjectLabelBuilderbuilder(CustomObjectLabel template) create builder for CustomObjectLabel instancecopyDeep()static CustomObjectLabeldeepCopy(CustomObjectLabel template) factory method to create a deep copy of CustomObjectLabel@NotNull StringNamespace to group Custom Objects.@NotNull StringgetKey()User-defined unique identifier of the CustomObject within the definedcontainer.@NotNull StringgetType()static CustomObjectLabelof()factory methodstatic CustomObjectLabelof(CustomObjectLabel template) factory method to create a shallow copy CustomObjectLabelvoidsetContainer(String container) Namespace to group Custom Objects.voidUser-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> TwithCustomObjectLabel(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
-
copyDeep
CustomObjectLabel copyDeep() -
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
-