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
-
Method Summary
Modifier and TypeMethodDescriptionstatic BusinessUnitLabelBuilder
builder()
builder factory method for BusinessUnitLabelstatic BusinessUnitLabelBuilder
builder
(BusinessUnitLabel template) create builder for BusinessUnitLabel instancestatic BusinessUnitLabel
deepCopy
(BusinessUnitLabel template) factory method to create a deep copy of BusinessUnitLabel@NotNull String
getKey()
User-defined unique identifier of the Business Unit.@NotNull String
getName()
Name of the Business Unit.@NotNull String
getType()
static BusinessUnitLabel
of()
factory methodstatic BusinessUnitLabel
of
(BusinessUnitLabel template) factory method to create a shallow copy BusinessUnitLabelvoid
User-defined unique identifier of the Business Unit.void
Name of the Business Unit.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitLabel>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitLabel
(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
-
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
-