Class ApprovalRuleSetKeyActionBuilder

java.lang.Object
com.commercetools.api.models.approval_rule.ApprovalRuleSetKeyActionBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<ApprovalRuleSetKeyAction>

public class ApprovalRuleSetKeyActionBuilder extends Object implements io.vrap.rmf.base.client.Builder<ApprovalRuleSetKeyAction>
ApprovalRuleSetKeyActionBuilder
Example to create an instance using the builder pattern

     ApprovalRuleSetKeyAction approvalRuleSetKeyAction = ApprovalRuleSetKeyAction.builder()
             .build()
 
  • 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

      @Nullable public String getKey()

      Value to set. Must be unique within a Business Unit. If empty, any existing value will be removed.

      Returns:
      key
    • build

      public ApprovalRuleSetKeyAction build()
      builds ApprovalRuleSetKeyAction with checking for non-null required values
      Specified by:
      build in interface io.vrap.rmf.base.client.Builder<ApprovalRuleSetKeyAction>
      Returns:
      ApprovalRuleSetKeyAction
    • buildUnchecked

      public ApprovalRuleSetKeyAction buildUnchecked()
      builds ApprovalRuleSetKeyAction without checking for non-null required values
      Returns:
      ApprovalRuleSetKeyAction
    • of

      public static ApprovalRuleSetKeyActionBuilder 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