Interface StoreKeyReference

All Superinterfaces:
KeyReference

public interface StoreKeyReference extends KeyReference

References a store by key.


Example to create an instance using the builder pattern

     StoreKeyReference storeKeyReference = StoreKeyReference.builder()
             .key("{key}")
             .build()
 
  • Field Details

  • Method Details

    • of

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

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

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

      static StoreKeyReferenceBuilder builder()
      builder factory method for StoreKeyReference
      Returns:
      builder
    • builder

      static StoreKeyReferenceBuilder builder(StoreKeyReference template)
      create builder for StoreKeyReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStoreKeyReference

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