Interface VariantSetKeyAction

All Superinterfaces:
VariantUpdateAction

public interface VariantSetKeyAction extends VariantUpdateAction

Sets the key of the Variant. Generates the VariantKeySet Message.


Example to create an instance using the builder pattern

     VariantSetKeyAction variantSetKeyAction = VariantSetKeyAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getKey

      String getKey()

      Value to set. Must be unique.

      Returns:
      key
    • setKey

      void setKey(String key)

      Value to set. Must be unique.

      Parameters:
      key - value to be set
    • of

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

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

      Specified by:
      copyDeep in interface VariantUpdateAction
    • deepCopy

      @Nullable static VariantSetKeyAction deepCopy(@Nullable VariantSetKeyAction template)
      factory method to create a deep copy of VariantSetKeyAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static VariantSetKeyActionBuilder builder()
      builder factory method for VariantSetKeyAction
      Returns:
      builder
    • builder

      create builder for VariantSetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withVariantSetKeyAction

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

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