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
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AssociateRoleSetNameActionbuilder
(AssociateRoleSetNameAction template) create builder for AssociateRoleSetNameAction instancestatic AssociateRoleSetNameAction
deepCopy
(AssociateRoleSetNameAction template) factory method to create a deep copy of AssociateRoleSetNameActiongetName()
New name to set.static AssociateRoleSetNameAction
of()
factory methodstatic AssociateRoleSetNameAction
of
(AssociateRoleSetNameAction template) factory method to create a shallow copy AssociateRoleSetNameActionvoid
New name to set.static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleSetNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.associate_role.AssociateRoleUpdateAction
getAction, withAssociateRoleUpdateAction
Methods 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
name
is absent ornull
, the existing name, if any, will be removed.- Returns:
- name
-
setName
New name to set. If
name
is 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
-
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
-