Interface AssociateRoleLabel

All Superinterfaces:
Label

public interface AssociateRoleLabel extends Label
AssociateRoleLabel
Example to create an instance using the builder pattern

     AssociateRoleLabel associateRoleLabel = AssociateRoleLabel.builder()
             .key("{key}")
             .name("{name}")
             .build()
 
  • Field Details

    • ASSOCIATE_ROLE_LABEL

      static final String ASSOCIATE_ROLE_LABEL
      discriminator value for AssociateRoleLabel
      See Also:
  • Method Details

    • getType

      @NotNull @NotNull String getType()
      Specified by:
      getType in interface Label
      Returns:
      type
    • getKey

      @NotNull @NotNull String getKey()

      User-defined unique identifier of the Associate Role.

      Returns:
      key
    • getName

      @NotNull @NotNull String getName()

      Name of the Associate Role.

      Returns:
      name
    • setKey

      void setKey(String key)

      User-defined unique identifier of the Associate Role.

      Parameters:
      key - value to be set
    • setName

      void setName(String name)

      Name of the Associate Role.

      Parameters:
      name - value to be set
    • of

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

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

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

      static AssociateRoleLabelBuilder builder()
      builder factory method for AssociateRoleLabel
      Returns:
      builder
    • builder

      static AssociateRoleLabelBuilder builder(AssociateRoleLabel template)
      create builder for AssociateRoleLabel instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAssociateRoleLabel

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