Class Collector

    • Method Detail

      • collectorId

        public final String collectorId()

        The ID of the collector.

        Returns:
        The ID of the collector.
      • collectorVersion

        public final String collectorVersion()

        Current version of the collector that is running in the environment that you specify.

        Returns:
        Current version of the collector that is running in the environment that you specify.
      • configurationSummary

        public final ConfigurationSummary configurationSummary()

        Summary of the collector configuration.

        Returns:
        Summary of the collector configuration.
      • hostName

        public final String hostName()

        Hostname of the server that is hosting the collector.

        Returns:
        Hostname of the server that is hosting the collector.
      • ipAddress

        public final String ipAddress()

        IP address of the server that is hosting the collector.

        Returns:
        IP address of the server that is hosting the collector.
      • lastActivityTimeStamp

        public final String lastActivityTimeStamp()

        Time when the collector last pinged the service.

        Returns:
        Time when the collector last pinged the service.
      • registeredTimeStamp

        public final String registeredTimeStamp()

        Time when the collector registered with the service.

        Returns:
        Time when the collector registered with the service.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)