Class ApprovalRuleSetNameActionBuilder
java.lang.Object
com.commercetools.api.models.approval_rule.ApprovalRuleSetNameActionBuilder
- All Implemented Interfaces:
Builder<ApprovalRuleSetNameAction>
public class ApprovalRuleSetNameActionBuilder
extends Object
implements Builder<ApprovalRuleSetNameAction>
ApprovalRuleSetNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApprovalRuleSetNameAction approvalRuleSetNameAction = ApprovalRuleSetNameAction.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ApprovalRuleSetNameAction with checking for non-null required valuesbuilds ApprovalRuleSetNameAction without checking for non-null required valuesgetName()
New name to set for the Approval Rule.New name to set for the Approval Rule.of()
factory method for an instance of ApprovalRuleSetNameActionBuilderof
(ApprovalRuleSetNameAction template) create builder for ApprovalRuleSetNameAction instance
-
Constructor Details
-
ApprovalRuleSetNameActionBuilder
public ApprovalRuleSetNameActionBuilder()
-
-
Method Details
-
name
New name to set for the Approval Rule.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
New name to set for the Approval Rule.
- Returns:
- name
-
build
builds ApprovalRuleSetNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ApprovalRuleSetNameAction>
- Returns:
- ApprovalRuleSetNameAction
-
buildUnchecked
builds ApprovalRuleSetNameAction without checking for non-null required values- Returns:
- ApprovalRuleSetNameAction
-
of
factory method for an instance of ApprovalRuleSetNameActionBuilder- Returns:
- builder
-
of
create builder for ApprovalRuleSetNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-