Class InstanceStatusEvent

    • Method Detail

      • instanceEventId

        public final String instanceEventId()

        The ID of the event.

        Returns:
        The ID of the event.
      • description

        public final String description()

        A description of the event.

        After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].

        Returns:
        A description of the event.

        After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].

      • notAfter

        public final Instant notAfter()

        The latest scheduled end time for the event.

        Returns:
        The latest scheduled end time for the event.
      • notBefore

        public final Instant notBefore()

        The earliest scheduled start time for the event.

        Returns:
        The earliest scheduled start time for the event.
      • notBeforeDeadline

        public final Instant notBeforeDeadline()

        The deadline for starting the event.

        Returns:
        The deadline for starting 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)