Class ApprovalFlowApproveActionBuilder
java.lang.Object
com.commercetools.api.models.approval_flow.ApprovalFlowApproveActionBuilder
- All Implemented Interfaces:
Builder<ApprovalFlowApproveAction>
public class ApprovalFlowApproveActionBuilder
extends Object
implements Builder<ApprovalFlowApproveAction>
ApprovalFlowApproveActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApprovalFlowApproveAction approvalFlowApproveAction = ApprovalFlowApproveAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ApprovalFlowApproveAction with checking for non-null required valuesbuilds ApprovalFlowApproveAction without checking for non-null required valuesof()
factory method for an instance of ApprovalFlowApproveActionBuilderof
(ApprovalFlowApproveAction template) create builder for ApprovalFlowApproveAction instance
-
Constructor Details
-
ApprovalFlowApproveActionBuilder
public ApprovalFlowApproveActionBuilder()
-
-
Method Details
-
build
builds ApprovalFlowApproveAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ApprovalFlowApproveAction>
- Returns:
- ApprovalFlowApproveAction
-
buildUnchecked
builds ApprovalFlowApproveAction without checking for non-null required values- Returns:
- ApprovalFlowApproveAction
-
of
factory method for an instance of ApprovalFlowApproveActionBuilder- Returns:
- builder
-
of
create builder for ApprovalFlowApproveAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-