Class IncidentCommentProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.fluent.models.IncidentCommentProperties
-
public final class IncidentCommentProperties extends Object
Incident comment property bag.
-
-
Constructor Summary
Constructors Constructor Description IncidentCommentProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientInfo
author()
Get the author property: Describes the client that created the comment.OffsetDateTime
createdTimeUtc()
Get the createdTimeUtc property: The time the comment was created.OffsetDateTime
lastModifiedTimeUtc()
Get the lastModifiedTimeUtc property: The time the comment was updated.String
message()
Get the message property: The comment message.void
validate()
Validates the instance.IncidentCommentProperties
withMessage(String message)
Set the message property: The comment message.
-
-
-
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.
-
-