Class ApprovalRuleSetNameActionBuilder

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

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

     ApprovalRuleSetNameAction approvalRuleSetNameAction = ApprovalRuleSetNameAction.builder()
             .name("{name}")
             .build()
 
  • Constructor Details

    • ApprovalRuleSetNameActionBuilder

      public ApprovalRuleSetNameActionBuilder()
  • Method Details

    • name

      New name to set for the Approval Rule.

      Parameters:
      name - value to be set
      Returns:
      Builder
    • getName

      public String getName()

      New name to set for the Approval Rule.

      Returns:
      name
    • build

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

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

      factory method for an instance of ApprovalRuleSetNameActionBuilder
      Returns:
      builder
    • of

      create builder for ApprovalRuleSetNameAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder