Interface AssociateRoleAssignment


public interface AssociateRoleAssignment
AssociateRoleAssignment
Example to create an instance using the builder pattern

     AssociateRoleAssignment associateRoleAssignment = AssociateRoleAssignment.builder()
             .associateRole(associateRoleBuilder -> associateRoleBuilder)
             .inheritance(AssociateRoleInheritanceMode.ENABLED)
             .build()
 
  • Method Details

    • getAssociateRole

      @NotNull @Valid @NotNull @Valid KeyReference getAssociateRole()
      Returns:
      associateRole
    • getInheritance

      @NotNull @NotNull AssociateRoleInheritanceMode getInheritance()

      Determines whether an AssociateRoleAssignment can be inherited by child Business Units.

      Returns:
      inheritance
    • setAssociateRole

      void setAssociateRole(KeyReference associateRole)
      set associateRole
      Parameters:
      associateRole - value to be set
    • setInheritance

      void setInheritance(AssociateRoleInheritanceMode inheritance)

      Determines whether an AssociateRoleAssignment can be inherited by child Business Units.

      Parameters:
      inheritance - value to be set
    • of

      factory method
      Returns:
      instance of AssociateRoleAssignment
    • of

      factory method to create a shallow copy AssociateRoleAssignment
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

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

      builder factory method for AssociateRoleAssignment
      Returns:
      builder
    • builder

      create builder for AssociateRoleAssignment instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAssociateRoleAssignment

      default <T> T withAssociateRoleAssignment(Function<AssociateRoleAssignment,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<AssociateRoleAssignment> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference