Interface ChannelKeyReference

All Superinterfaces:
KeyReference

public interface ChannelKeyReference extends KeyReference

References a channel by key.


Example to create an instance using the builder pattern

     ChannelKeyReference channelKeyReference = ChannelKeyReference.builder()
             .key("{key}")
             .build()
 
  • Field Details

  • Method Details

    • of

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

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

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

      static ChannelKeyReferenceBuilder builder()
      builder factory method for ChannelKeyReference
      Returns:
      builder
    • builder

      create builder for ChannelKeyReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withChannelKeyReference

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