Class StatusDetails

    • Method Detail

      • message

        public final String message()

        The error message that was returned. The message is intended for human consumption and can change at any time. Use the statusCode for programmatic error handling.

        Returns:
        The error message that was returned. The message is intended for human consumption and can change at any time. Use the statusCode for programmatic error handling.
      • statusCode

        public final String statusCode()

        The status code that was returned. The status code is intended for programmatic error handling. Clean Rooms ML will not change the status code for existing error conditions.

        Returns:
        The status code that was returned. The status code is intended for programmatic error handling. Clean Rooms ML will not change the status code for existing error conditions.
      • 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)