Class ApprovalRuleSetKeyActionBuilder
java.lang.Object
com.commercetools.api.models.approval_rule.ApprovalRuleSetKeyActionBuilder
- All Implemented Interfaces:
Builder<ApprovalRuleSetKeyAction>
public class ApprovalRuleSetKeyActionBuilder
extends Object
implements Builder<ApprovalRuleSetKeyAction>
ApprovalRuleSetKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApprovalRuleSetKeyAction approvalRuleSetKeyAction = ApprovalRuleSetKeyAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ApprovalRuleSetKeyAction with checking for non-null required valuesbuilds ApprovalRuleSetKeyAction without checking for non-null required valuesgetKey()
Value to set.Value to set.of()
factory method for an instance of ApprovalRuleSetKeyActionBuilderof
(ApprovalRuleSetKeyAction template) create builder for ApprovalRuleSetKeyAction instance
-
Constructor Details
-
ApprovalRuleSetKeyActionBuilder
public ApprovalRuleSetKeyActionBuilder()
-
-
Method Details
-
key
Value to set. Must be unique within a Business Unit. If empty, any existing value will be removed.
- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
Value to set. Must be unique within a Business Unit. If empty, any existing value will be removed.
- Returns:
- key
-
build
builds ApprovalRuleSetKeyAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ApprovalRuleSetKeyAction>
- Returns:
- ApprovalRuleSetKeyAction
-
buildUnchecked
builds ApprovalRuleSetKeyAction without checking for non-null required values- Returns:
- ApprovalRuleSetKeyAction
-
of
factory method for an instance of ApprovalRuleSetKeyActionBuilder- Returns:
- builder
-
of
create builder for ApprovalRuleSetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-