Class ApprovalFlowRejectActionBuilder
java.lang.Object
com.commercetools.api.models.approval_flow.ApprovalFlowRejectActionBuilder
- All Implemented Interfaces:
Builder<ApprovalFlowRejectAction>
public class ApprovalFlowRejectActionBuilder
extends Object
implements Builder<ApprovalFlowRejectAction>
ApprovalFlowRejectActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApprovalFlowRejectAction approvalFlowRejectAction = ApprovalFlowRejectAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ApprovalFlowRejectAction with checking for non-null required valuesbuilds ApprovalFlowRejectAction without checking for non-null required valuesThe reason for the rejection of the Approval Flow.of()
factory method for an instance of ApprovalFlowRejectActionBuilderof
(ApprovalFlowRejectAction template) create builder for ApprovalFlowRejectAction instanceThe reason for the rejection of the Approval Flow.
-
Constructor Details
-
ApprovalFlowRejectActionBuilder
public ApprovalFlowRejectActionBuilder()
-
-
Method Details
-
reason
The reason for the rejection of the Approval Flow.
- Parameters:
reason
- value to be set- Returns:
- Builder
-
getReason
The reason for the rejection of the Approval Flow.
- Returns:
- reason
-
build
builds ApprovalFlowRejectAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ApprovalFlowRejectAction>
- Returns:
- ApprovalFlowRejectAction
-
buildUnchecked
builds ApprovalFlowRejectAction without checking for non-null required values- Returns:
- ApprovalFlowRejectAction
-
of
factory method for an instance of ApprovalFlowRejectActionBuilder- Returns:
- builder
-
of
create builder for ApprovalFlowRejectAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-