Class ApprovalRuleSetDescriptionActionBuilder
java.lang.Object
com.commercetools.api.models.approval_rule.ApprovalRuleSetDescriptionActionBuilder
- All Implemented Interfaces:
Builder<ApprovalRuleSetDescriptionAction>
public class ApprovalRuleSetDescriptionActionBuilder
extends Object
implements Builder<ApprovalRuleSetDescriptionAction>
ApprovalRuleSetDescriptionActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApprovalRuleSetDescriptionAction approvalRuleSetDescriptionAction = ApprovalRuleSetDescriptionAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ApprovalRuleSetDescriptionAction with checking for non-null required valuesbuilds ApprovalRuleSetDescriptionAction without checking for non-null required valuesdescription
(String description) New description to set for the Approval Rule.New description to set for the Approval Rule.of()
factory method for an instance of ApprovalRuleSetDescriptionActionBuilderof
(ApprovalRuleSetDescriptionAction template) create builder for ApprovalRuleSetDescriptionAction instance
-
Constructor Details
-
ApprovalRuleSetDescriptionActionBuilder
public ApprovalRuleSetDescriptionActionBuilder()
-
-
Method Details
-
description
New description to set for the Approval Rule.
- Parameters:
description
- value to be set- Returns:
- Builder
-
getDescription
New description to set for the Approval Rule.
- Returns:
- description
-
build
builds ApprovalRuleSetDescriptionAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ApprovalRuleSetDescriptionAction>
- Returns:
- ApprovalRuleSetDescriptionAction
-
buildUnchecked
builds ApprovalRuleSetDescriptionAction without checking for non-null required values- Returns:
- ApprovalRuleSetDescriptionAction
-
of
factory method for an instance of ApprovalRuleSetDescriptionActionBuilder- Returns:
- builder
-
of
create builder for ApprovalRuleSetDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-