Class Zipkin


  • public final class Zipkin
    extends java.lang.Object
    • Constructor Detail

      • Zipkin

        @ConstructorProperties({"serviceName","used","upstream","downstream"})
        public Zipkin​(java.lang.String serviceName,
                      java.lang.Boolean used,
                      java.util.List<@Valid ZipkinDependency> upstream,
                      java.util.List<@Valid ZipkinDependency> downstream)
    • Method Detail

      • getServiceName

        public java.lang.String getServiceName()
      • getUsed

        public java.lang.Boolean getUsed()
      • getDownstream

        public java.util.List<@Valid ZipkinDependency> getDownstream()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withServiceName

        public Zipkin withServiceName​(java.lang.String serviceName)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withUsed

        public Zipkin withUsed​(java.lang.Boolean used)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withUpstream

        public Zipkin withUpstream​(java.util.List<@Valid ZipkinDependency> upstream)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDownstream

        public Zipkin withDownstream​(java.util.List<@Valid ZipkinDependency> downstream)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).