Class IncidentInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.IncidentInner
Represents an incident in Azure Security Insights.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalData property: Additional data on the incident.Get the classification property: The reason the incident was closed.Get the classificationComment property: Describes the reason the incident was closed.Get the classificationReason property: The classification reason the incident was closed with.Get the createdTimeUtc property: The time the incident was created.Get the description property: The description of the incident.Get the firstActivityTimeUtc property: The time of the first activity in the incident.Get the incidentNumber property: A sequential number.Get the incidentUrl property: The deep-link url to the incident in Azure portal.labels()
Get the labels property: List of labels relevant to this incident.Get the lastActivityTimeUtc property: The time of the last activity in the incident.Get the lastModifiedTimeUtc property: The last time the incident was updated.owner()
Get the owner property: Describes a user that the incident is assigned to.Get the providerIncidentId property: The incident ID assigned by the incident provider.Get the providerName property: The name of the source provider that generated the incident.Get the relatedAnalyticRuleIds property: List of resource ids of Analytic rules related to the incident.severity()
Get the severity property: The severity of the incident.status()
Get the status property: The status of the incident.Get the teamInformation property: Describes a team for the incident.title()
Get the title property: The title of the incident.void
validate()
Validates the instance.withClassification
(IncidentClassification classification) Set the classification property: The reason the incident was closed.withClassificationComment
(String classificationComment) Set the classificationComment property: Describes the reason the incident was closed.withClassificationReason
(IncidentClassificationReason classificationReason) Set the classificationReason property: The classification reason the incident was closed with.withDescription
(String description) Set the description property: The description of the incident.Set the etag property: Etag of the azure resource.withFirstActivityTimeUtc
(OffsetDateTime firstActivityTimeUtc) Set the firstActivityTimeUtc property: The time of the first activity in the incident.withLabels
(List<IncidentLabel> labels) Set the labels property: List of labels relevant to this incident.withLastActivityTimeUtc
(OffsetDateTime lastActivityTimeUtc) Set the lastActivityTimeUtc property: The time of the last activity in the incident.withOwner
(IncidentOwnerInfo owner) Set the owner property: Describes a user that the incident is assigned to.withProviderIncidentId
(String providerIncidentId) Set the providerIncidentId property: The incident ID assigned by the incident provider.withProviderName
(String providerName) Set the providerName property: The name of the source provider that generated the incident.withSeverity
(IncidentSeverity severity) Set the severity property: The severity of the incident.withStatus
(IncidentStatus status) Set the status property: The status of the incident.withTeamInformation
(TeamInformationInner teamInformation) Set the teamInformation property: Describes a team for the incident.Set the title property: The title of the incident.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
-
IncidentInner
public IncidentInner()
-
-
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.
-
additionalData
Get the additionalData property: Additional data on the incident.- Returns:
- the additionalData value.
-
classification
Get the classification property: The reason the incident was closed.- Returns:
- the classification value.
-
withClassification
Set the classification property: The reason the incident was closed.- Parameters:
classification
- the classification value to set.- Returns:
- the IncidentInner object itself.
-
classificationComment
Get the classificationComment property: Describes the reason the incident was closed.- Returns:
- the classificationComment value.
-
withClassificationComment
Set the classificationComment property: Describes the reason the incident was closed.- Parameters:
classificationComment
- the classificationComment value to set.- Returns:
- the IncidentInner object itself.
-
classificationReason
Get the classificationReason property: The classification reason the incident was closed with.- Returns:
- the classificationReason value.
-
withClassificationReason
Set the classificationReason property: The classification reason the incident was closed with.- Parameters:
classificationReason
- the classificationReason value to set.- Returns:
- the IncidentInner object itself.
-
createdTimeUtc
Get the createdTimeUtc property: The time the incident was created.- Returns:
- the createdTimeUtc value.
-
description
Get the description property: The description of the incident.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the incident.- Parameters:
description
- the description value to set.- Returns:
- the IncidentInner object itself.
-
firstActivityTimeUtc
Get the firstActivityTimeUtc property: The time of the first activity in the incident.- Returns:
- the firstActivityTimeUtc value.
-
withFirstActivityTimeUtc
Set the firstActivityTimeUtc property: The time of the first activity in the incident.- Parameters:
firstActivityTimeUtc
- the firstActivityTimeUtc value to set.- Returns:
- the IncidentInner object itself.
-
incidentUrl
Get the incidentUrl property: The deep-link url to the incident in Azure portal.- Returns:
- the incidentUrl value.
-
incidentNumber
Get the incidentNumber property: A sequential number.- Returns:
- the incidentNumber value.
-
labels
Get the labels property: List of labels relevant to this incident.- Returns:
- the labels value.
-
withLabels
Set the labels property: List of labels relevant to this incident.- Parameters:
labels
- the labels value to set.- Returns:
- the IncidentInner object itself.
-
providerName
Get the providerName property: The name of the source provider that generated the incident.- Returns:
- the providerName value.
-
withProviderName
Set the providerName property: The name of the source provider that generated the incident.- Parameters:
providerName
- the providerName value to set.- Returns:
- the IncidentInner object itself.
-
providerIncidentId
Get the providerIncidentId property: The incident ID assigned by the incident provider.- Returns:
- the providerIncidentId value.
-
withProviderIncidentId
Set the providerIncidentId property: The incident ID assigned by the incident provider.- Parameters:
providerIncidentId
- the providerIncidentId value to set.- Returns:
- the IncidentInner object itself.
-
lastActivityTimeUtc
Get the lastActivityTimeUtc property: The time of the last activity in the incident.- Returns:
- the lastActivityTimeUtc value.
-
withLastActivityTimeUtc
Set the lastActivityTimeUtc property: The time of the last activity in the incident.- Parameters:
lastActivityTimeUtc
- the lastActivityTimeUtc value to set.- Returns:
- the IncidentInner object itself.
-
lastModifiedTimeUtc
Get the lastModifiedTimeUtc property: The last time the incident was updated.- Returns:
- the lastModifiedTimeUtc value.
-
owner
Get the owner property: Describes a user that the incident is assigned to.- Returns:
- the owner value.
-
withOwner
Set the owner property: Describes a user that the incident is assigned to.- Parameters:
owner
- the owner value to set.- Returns:
- the IncidentInner object itself.
-
severity
Get the severity property: The severity of the incident.- Returns:
- the severity value.
-
withSeverity
Set the severity property: The severity of the incident.- Parameters:
severity
- the severity value to set.- Returns:
- the IncidentInner object itself.
-
status
Get the status property: The status of the incident.- Returns:
- the status value.
-
withStatus
Set the status property: The status of the incident.- Parameters:
status
- the status value to set.- Returns:
- the IncidentInner object itself.
-
teamInformation
Get the teamInformation property: Describes a team for the incident.- Returns:
- the teamInformation value.
-
withTeamInformation
Set the teamInformation property: Describes a team for the incident.- Parameters:
teamInformation
- the teamInformation value to set.- Returns:
- the IncidentInner object itself.
-
title
Get the title property: The title of the incident.- Returns:
- the title value.
-
withTitle
Set the title property: The title of the incident.- Parameters:
title
- the title value to set.- Returns:
- the IncidentInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classResourceWithEtag
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-