Interface AttributeGroupChangeNameAction
- All Superinterfaces:
AttributeGroupUpdateAction,ResourceUpdateAction<AttributeGroupUpdateAction>
AttributeGroupChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeGroupChangeNameAction attributeGroupChangeNameAction = AttributeGroupChangeNameAction.builder()
.name(nameBuilder -> nameBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for AttributeGroupChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for AttributeGroupChangeNameActionbuilder(AttributeGroupChangeNameAction template) create builder for AttributeGroupChangeNameAction instancecopyDeep()deepCopy(AttributeGroupChangeNameAction template) factory method to create a deep copy of AttributeGroupChangeNameAction@NotNull @Valid LocalizedStringgetName()New value to set.of()factory methodof(AttributeGroupChangeNameAction template) factory method to create a shallow copy AttributeGroupChangeNameActionvoidsetName(LocalizedString name) New value to set.static com.fasterxml.jackson.core.type.TypeReference<AttributeGroupChangeNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.attribute_group.AttributeGroupUpdateAction
getAction, withAttributeGroupUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_NAME
discriminator value for AttributeGroupChangeNameAction- See Also:
-
-
Method Details
-
getName
New value to set. Must not be empty.
- Returns:
- name
-
setName
New value to set. Must not be empty.
- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of AttributeGroupChangeNameAction
-
of
factory method to create a shallow copy AttributeGroupChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AttributeGroupChangeNameAction copyDeep()- Specified by:
copyDeepin interfaceAttributeGroupUpdateAction
-
deepCopy
@Nullable static AttributeGroupChangeNameAction deepCopy(@Nullable AttributeGroupChangeNameAction template) factory method to create a deep copy of AttributeGroupChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeGroupChangeNameAction- Returns:
- builder
-
builder
create builder for AttributeGroupChangeNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeGroupChangeNameAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<AttributeGroupChangeNameAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-