Interface CustomerSetKeyAction

All Superinterfaces:
CustomerUpdateAction, ResourceUpdateAction<CustomerUpdateAction>

public interface CustomerSetKeyAction extends CustomerUpdateAction
CustomerSetKeyAction
Example to create an instance using the builder pattern

     CustomerSetKeyAction customerSetKeyAction = CustomerSetKeyAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getKey

      String getKey()

      If key is absent or null, the existing key, if any, will be removed.

      Returns:
      key
    • setKey

      void setKey(String key)

      If key is absent or null, the existing key, if any, will be removed.

      Parameters:
      key - value to be set
    • of

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

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

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

      static CustomerSetKeyActionBuilder builder()
      builder factory method for CustomerSetKeyAction
      Returns:
      builder
    • builder

      create builder for CustomerSetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerSetKeyAction

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

      static CustomerSetKeyAction ofUnset()
    • typeReference

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