Interface CustomerGroupSetKeyAction

All Superinterfaces:
CustomerGroupUpdateAction, ResourceUpdateAction<CustomerGroupUpdateAction>

public interface CustomerGroupSetKeyAction extends CustomerGroupUpdateAction
CustomerGroupSetKeyAction
Example to create an instance using the builder pattern

     CustomerGroupSetKeyAction customerGroupSetKeyAction = CustomerGroupSetKeyAction.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

      factory method
      Returns:
      instance of CustomerGroupSetKeyAction
    • of

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

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

      builder factory method for CustomerGroupSetKeyAction
      Returns:
      builder
    • builder

      create builder for CustomerGroupSetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerGroupSetKeyAction

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

      static CustomerGroupSetKeyAction ofUnset()
    • typeReference

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