Interface ApprovalRuleSetNameAction
- All Superinterfaces:
ApprovalRuleUpdateAction
Setting the name for an Approval Rule generates an ApprovalRuleNameSet Message.
Example to create an instance using the builder pattern
ApprovalRuleSetNameAction approvalRuleSetNameAction = ApprovalRuleSetNameAction.builder()
.name("{name}")
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ApprovalRuleSetNameActionbuilder
(ApprovalRuleSetNameAction template) create builder for ApprovalRuleSetNameAction instancestatic ApprovalRuleSetNameAction
deepCopy
(ApprovalRuleSetNameAction template) factory method to create a deep copy of ApprovalRuleSetNameAction@NotNull String
getName()
New name to set for the Approval Rule.static ApprovalRuleSetNameAction
of()
factory methodstatic ApprovalRuleSetNameAction
of
(ApprovalRuleSetNameAction template) factory method to create a shallow copy ApprovalRuleSetNameActionvoid
New name to set for the Approval Rule.static com.fasterxml.jackson.core.type.TypeReference<ApprovalRuleSetNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.approval_rule.ApprovalRuleUpdateAction
getAction, withApprovalRuleUpdateAction
-
Field Details
-
SET_NAME
discriminator value for ApprovalRuleSetNameAction- See Also:
-
-
Method Details
-
getName
New name to set for the Approval Rule.
- Returns:
- name
-
setName
New name to set for the Approval Rule.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of ApprovalRuleSetNameAction
-
of
factory method to create a shallow copy ApprovalRuleSetNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ApprovalRuleSetNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ApprovalRuleSetNameAction- Returns:
- builder
-
builder
create builder for ApprovalRuleSetNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withApprovalRuleSetNameAction
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
-