Interface RuleApproverDraft

All Superinterfaces:
Draft<RuleApproverDraft>

public interface RuleApproverDraft extends Draft<RuleApproverDraft>
RuleApproverDraft
Example to create an instance using the builder pattern

     RuleApproverDraft ruleApproverDraft = RuleApproverDraft.builder()
             .associateRole(associateRoleBuilder -> associateRoleBuilder)
             .build()
 
  • Method Details

    • getAssociateRole

      @NotNull @Valid @NotNull @Valid AssociateRoleResourceIdentifier getAssociateRole()

      Any Associate with this Role can approve.

      Returns:
      associateRole
    • setAssociateRole

      void setAssociateRole(AssociateRoleResourceIdentifier associateRole)

      Any Associate with this Role can approve.

      Parameters:
      associateRole - value to be set
    • of

      static RuleApproverDraft of()
      factory method
      Returns:
      instance of RuleApproverDraft
    • of

      static RuleApproverDraft of(RuleApproverDraft template)
      factory method to create a shallow copy RuleApproverDraft
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of RuleApproverDraft
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static RuleApproverDraftBuilder builder()
      builder factory method for RuleApproverDraft
      Returns:
      builder
    • builder

      static RuleApproverDraftBuilder builder(RuleApproverDraft template)
      create builder for RuleApproverDraft instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withRuleApproverDraft

      default <T> T withRuleApproverDraft(Function<RuleApproverDraft,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<RuleApproverDraft> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference