Class IncidentCommentInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.IncidentCommentInner
Represents an incident comment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthor()
Get the author property: Describes the client that created the comment.Get the createdTimeUtc property: The time the comment was created.Get the lastModifiedTimeUtc property: The time the comment was updated.message()
Get the message property: The comment message.void
validate()
Validates the instance.Set the etag property: Etag of the azure resource.withMessage
(String message) Set the message property: The comment message.Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
IncidentCommentInner
public IncidentCommentInner()
-
-
Method Details
-
withEtag
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classResourceWithEtag
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
createdTimeUtc
Get the createdTimeUtc property: The time the comment was created.- Returns:
- the createdTimeUtc value.
-
lastModifiedTimeUtc
Get the lastModifiedTimeUtc property: The time the comment was updated.- Returns:
- the lastModifiedTimeUtc value.
-
message
Get the message property: The comment message.- Returns:
- the message value.
-
withMessage
Set the message property: The comment message.- Parameters:
message
- the message value to set.- Returns:
- the IncidentCommentInner object itself.
-
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 classResourceWithEtag
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-