Class IncidentCommentProperties


  • public final class IncidentCommentProperties
    extends Object
    Incident comment property bag.
    • Constructor Detail

      • IncidentCommentProperties

        public IncidentCommentProperties()
    • Method Detail

      • createdTimeUtc

        public OffsetDateTime createdTimeUtc()
        Get the createdTimeUtc property: The time the comment was created.
        Returns:
        the createdTimeUtc value.
      • lastModifiedTimeUtc

        public OffsetDateTime lastModifiedTimeUtc()
        Get the lastModifiedTimeUtc property: The time the comment was updated.
        Returns:
        the lastModifiedTimeUtc value.
      • message

        public String message()
        Get the message property: The comment message.
        Returns:
        the message value.
      • withMessage

        public IncidentCommentProperties withMessage​(String message)
        Set the message property: The comment message.
        Parameters:
        message - the message value to set.
        Returns:
        the IncidentCommentProperties object itself.
      • author

        public ClientInfo author()
        Get the author property: Describes the client that created the comment.
        Returns:
        the author value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.