Interface AssociateRoleSetNameAction
- All Superinterfaces:
AssociateRoleUpdateAction,ResourceUpdateAction<AssociateRoleUpdateAction>
Updating the name of an AssociateRole generates an AssociateRoleNameSet Message.
Example to create an instance using the builder pattern
AssociateRoleSetNameAction associateRoleSetNameAction = AssociateRoleSetNameAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for AssociateRoleSetNameActionbuilder(AssociateRoleSetNameAction template) create builder for AssociateRoleSetNameAction instancecopyDeep()static AssociateRoleSetNameActiondeepCopy(AssociateRoleSetNameAction template) factory method to create a deep copy of AssociateRoleSetNameActiongetName()New name to set.static AssociateRoleSetNameActionof()factory methodstatic AssociateRoleSetNameActionof(AssociateRoleSetNameAction template) factory method to create a shallow copy AssociateRoleSetNameActionvoidNew name to set.static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleSetNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.associate_role.AssociateRoleUpdateAction
getAction, withAssociateRoleUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_NAME
discriminator value for AssociateRoleSetNameAction- See Also:
-
-
Method Details
-
getName
String getName()New name to set. If
nameis absent ornull, the existing name, if any, will be removed.- Returns:
- name
-
setName
New name to set. If
nameis absent ornull, the existing name, if any, will be removed.- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of AssociateRoleSetNameAction
-
of
factory method to create a shallow copy AssociateRoleSetNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AssociateRoleSetNameAction copyDeep()- Specified by:
copyDeepin interfaceAssociateRoleUpdateAction
-
deepCopy
factory method to create a deep copy of AssociateRoleSetNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AssociateRoleSetNameAction- Returns:
- builder
-
builder
create builder for AssociateRoleSetNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAssociateRoleSetNameAction
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
-