Class ActionHistory

    • Method Detail

      • timestamp

        public final Instant timestamp()
        Returns the value of the Timestamp property for this object.
        Returns:
        The value of the Timestamp property for this object.
      • status

        public final ActionStatus status()

        The status of action at the time of the event.

        If the service returns an enum value that is not available in the current SDK version, status will return ActionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of action at the time of the event.
        See Also:
        ActionStatus
      • statusAsString

        public final String statusAsString()

        The status of action at the time of the event.

        If the service returns an enum value that is not available in the current SDK version, status will return ActionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of action at the time of the event.
        See Also:
        ActionStatus
      • eventType

        public final EventType eventType()

        This distinguishes between whether the events are triggered by the user or are generated by the system.

        If the service returns an enum value that is not available in the current SDK version, eventType will return EventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from eventTypeAsString().

        Returns:
        This distinguishes between whether the events are triggered by the user or are generated by the system.
        See Also:
        EventType
      • eventTypeAsString

        public final String eventTypeAsString()

        This distinguishes between whether the events are triggered by the user or are generated by the system.

        If the service returns an enum value that is not available in the current SDK version, eventType will return EventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from eventTypeAsString().

        Returns:
        This distinguishes between whether the events are triggered by the user or are generated by the system.
        See Also:
        EventType
      • actionHistoryDetails

        public final ActionHistoryDetails actionHistoryDetails()

        The description of the details for the event.

        Returns:
        The description of the details for the event.
      • 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)