Interface BusinessUnitLabel
- All Superinterfaces:
Label
BusinessUnitLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitLabel businessUnitLabel = BusinessUnitLabel.builder()
.key("{key}")
.name("{name}")
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic BusinessUnitLabelBuilderbuilder()builder factory method for BusinessUnitLabelstatic BusinessUnitLabelBuilderbuilder(BusinessUnitLabel template) create builder for BusinessUnitLabel instancecopyDeep()static BusinessUnitLabeldeepCopy(BusinessUnitLabel template) factory method to create a deep copy of BusinessUnitLabel@NotNull StringgetKey()User-defined unique identifier of the Business Unit.@NotNull StringgetName()Name of the Business Unit.@NotNull StringgetType()static BusinessUnitLabelof()factory methodstatic BusinessUnitLabelof(BusinessUnitLabel template) factory method to create a shallow copy BusinessUnitLabelvoidUser-defined unique identifier of the Business Unit.voidName of the Business Unit.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitLabel>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithBusinessUnitLabel(Function<BusinessUnitLabel, T> helper) accessor map function
-
Field Details
-
BUSINESS_UNIT_LABEL
discriminator value for BusinessUnitLabel- See Also:
-
-
Method Details
-
getType
-
getKey
User-defined unique identifier of the Business Unit.
- Returns:
- key
-
getName
Name of the Business Unit.
- Returns:
- name
-
setKey
User-defined unique identifier of the Business Unit.
- Parameters:
key- value to be set
-
setName
Name of the Business Unit.
- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitLabel
-
of
factory method to create a shallow copy BusinessUnitLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
BusinessUnitLabel copyDeep() -
deepCopy
factory method to create a deep copy of BusinessUnitLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitLabel- Returns:
- builder
-
builder
create builder for BusinessUnitLabel instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitLabel
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
-