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 Summary
Constructors Constructor Description IncidentCommentInner()
-
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.IncidentCommentInner
withEtag(String etag)
Set the etag property: Etag of the azure resource.IncidentCommentInner
withMessage(String message)
Set the message property: The comment message.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
-
-
-
-
Method Detail
-
withEtag
public IncidentCommentInner withEtag(String etag)
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
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 classResourceWithEtag
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-