Interface CustomObjectKeyReference

All Superinterfaces:
KeyReference

public interface CustomObjectKeyReference extends KeyReference

References a key value document by key.


Example to create an instance using the builder pattern

     CustomObjectKeyReference customObjectKeyReference = CustomObjectKeyReference.builder()
             .key("{key}")
             .container("{container}")
             .build()
 
  • Field Details

    • KEY_VALUE_DOCUMENT

      static final String KEY_VALUE_DOCUMENT
      discriminator value for CustomObjectKeyReference
      See Also:
  • Method Details

    • getContainer

      @NotNull @NotNull String getContainer()
      Returns:
      container
    • setContainer

      void setContainer(String container)
      set container
      Parameters:
      container - value to be set
    • of

      factory method
      Returns:
      instance of CustomObjectKeyReference
    • of

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

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

      builder factory method for CustomObjectKeyReference
      Returns:
      builder
    • builder

      create builder for CustomObjectKeyReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomObjectKeyReference

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