Class Sink

    • Method Detail

      • fromJson

        public static Sink fromJson​(String json,
                                    com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a Sink object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        Sink object represented by the provided JSON
      • fromJson

        public static Sink fromJson​(InputStream json,
                                    com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a Sink object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        Sink object represented by the provided JSON
      • getDescription

        public final String getDescription()
      • getSid

        public final String getSid()
      • getSinkConfiguration

        public final Map<String,​Object> getSinkConfiguration()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object