Interface BusinessUnitChangeNameAction
- All Superinterfaces:
BusinessUnitUpdateAction,ResourceUpdateAction<BusinessUnitUpdateAction>
Updating the name on a Business Unit generates a BusinessUnitNameChanged Message.
Example to create an instance using the builder pattern
BusinessUnitChangeNameAction businessUnitChangeNameAction = BusinessUnitChangeNameAction.builder()
.name("{name}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for BusinessUnitChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitChangeNameActionbuilder(BusinessUnitChangeNameAction template) create builder for BusinessUnitChangeNameAction instancecopyDeep()static BusinessUnitChangeNameActiondeepCopy(BusinessUnitChangeNameAction template) factory method to create a deep copy of BusinessUnitChangeNameAction@NotNull StringgetName()New name to set.static BusinessUnitChangeNameActionof()factory methodstatic BusinessUnitChangeNameActionof(BusinessUnitChangeNameAction template) factory method to create a shallow copy BusinessUnitChangeNameActionvoidNew name to set.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitChangeNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.business_unit.BusinessUnitUpdateAction
getAction, withBusinessUnitUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_NAME
discriminator value for BusinessUnitChangeNameAction- See Also:
-
-
Method Details
-
getName
New name to set.
- Returns:
- name
-
setName
New name to set.
- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitChangeNameAction
-
of
factory method to create a shallow copy BusinessUnitChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
BusinessUnitChangeNameAction copyDeep()- Specified by:
copyDeepin interfaceBusinessUnitUpdateAction
-
deepCopy
@Nullable static BusinessUnitChangeNameAction deepCopy(@Nullable BusinessUnitChangeNameAction template) factory method to create a deep copy of BusinessUnitChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitChangeNameAction- Returns:
- builder
-
builder
create builder for BusinessUnitChangeNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitChangeNameAction
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
-