Interface BusinessUnitLabel

All Superinterfaces:
Label

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

     BusinessUnitLabel businessUnitLabel = BusinessUnitLabel.builder()
             .key("{key}")
             .name("{name}")
             .build()
 
  • Field Details

    • BUSINESS_UNIT_LABEL

      static final String BUSINESS_UNIT_LABEL
      discriminator value for BusinessUnitLabel
      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 Business Unit.

      Returns:
      key
    • getName

      @NotNull @NotNull String getName()

      Name of the Business Unit.

      Returns:
      name
    • setKey

      void setKey(String key)

      User-defined unique identifier of the Business Unit.

      Parameters:
      key - value to be set
    • setName

      void setName(String name)

      Name of the Business Unit.

      Parameters:
      name - value to be set
    • of

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

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

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

      static BusinessUnitLabelBuilder builder()
      builder factory method for BusinessUnitLabel
      Returns:
      builder
    • builder

      static BusinessUnitLabelBuilder builder(BusinessUnitLabel template)
      create builder for BusinessUnitLabel instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withBusinessUnitLabel

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