Class ResourceProperty

    • Method Detail

      • data

        public final Document data()

        Details about this property. The content of this field is a JSON object that varies based on the resource type.

        Returns:
        Details about this property. The content of this field is a JSON object that varies based on the resource type.
      • lastReportedAt

        public final Instant lastReportedAt()

        The date and time that the information about this resource property was last updated.

        Returns:
        The date and time that the information about this resource property was last updated.
      • name

        public final String name()

        The name of this property of the resource.

        Returns:
        The name of this property of the resource.
      • 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)