Class ServiceJobPreemptedAttempt

    • Method Detail

      • serviceResourceId

        public final ServiceResourceId serviceResourceId()

        The service resource identifier associated with the service job attempt.

        Returns:
        The service resource identifier associated with the service job attempt.
      • startedAt

        public final Long startedAt()

        The Unix timestamp (in milliseconds) for when the service job attempt was started.

        Returns:
        The Unix timestamp (in milliseconds) for when the service job attempt was started.
      • stoppedAt

        public final Long stoppedAt()

        The Unix timestamp (in milliseconds) for when the service job attempt stopped running.

        Returns:
        The Unix timestamp (in milliseconds) for when the service job attempt stopped running.
      • statusReason

        public final String statusReason()

        A string that provides additional details for the current status of the service job attempt.

        Returns:
        A string that provides additional details for the current status of the service job attempt.
      • 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)