Class Engagement

    • Method Detail

      • engagementArn

        public final String engagementArn()

        The Amazon Resource Name (ARN) of the engagement.

        Returns:
        The Amazon Resource Name (ARN) of the engagement.
      • contactArn

        public final String contactArn()

        The ARN of the escalation plan or contact that Incident Manager is engaging.

        Returns:
        The ARN of the escalation plan or contact that Incident Manager is engaging.
      • sender

        public final String sender()

        The user that started the engagement.

        Returns:
        The user that started the engagement.
      • incidentId

        public final String incidentId()

        The ARN of the incident that's engaging the contact.

        Returns:
        The ARN of the incident that's engaging the contact.
      • startTime

        public final Instant startTime()

        The time that the engagement began.

        Returns:
        The time that the engagement began.
      • stopTime

        public final Instant stopTime()

        The time that the engagement ended.

        Returns:
        The time that the engagement ended.
      • 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)