Class IncidentCommentInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.IncidentCommentInner

public final class IncidentCommentInner extends ResourceWithEtag
Represents an incident comment.
  • Constructor Details

    • IncidentCommentInner

      public IncidentCommentInner()
  • Method Details

    • withEtag

      public IncidentCommentInner withEtag(String etag)
      Set the etag property: Etag of the azure resource.
      Overrides:
      withEtag in class ResourceWithEtag
      Parameters:
      etag - the etag value to set.
      Returns:
      the ResourceWithEtag object itself.
    • 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 IncidentCommentInner withMessage(String message)
      Set the message property: The comment message.
      Parameters:
      message - the message value to set.
      Returns:
      the IncidentCommentInner 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.
      Overrides:
      validate in class ResourceWithEtag
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.