Class IncidentInner


  • public final class IncidentInner
    extends ResourceWithEtag
    Represents an incident in Azure Security Insights.
    • Constructor Detail

      • IncidentInner

        public IncidentInner()
    • Method Detail

      • withEtag

        public IncidentInner 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.
      • additionalData

        public IncidentAdditionalData additionalData()
        Get the additionalData property: Additional data on the incident.
        Returns:
        the additionalData value.
      • classification

        public IncidentClassification classification()
        Get the classification property: The reason the incident was closed.
        Returns:
        the classification value.
      • withClassification

        public IncidentInner withClassification​(IncidentClassification classification)
        Set the classification property: The reason the incident was closed.
        Parameters:
        classification - the classification value to set.
        Returns:
        the IncidentInner object itself.
      • classificationComment

        public String classificationComment()
        Get the classificationComment property: Describes the reason the incident was closed.
        Returns:
        the classificationComment value.
      • withClassificationComment

        public IncidentInner withClassificationComment​(String classificationComment)
        Set the classificationComment property: Describes the reason the incident was closed.
        Parameters:
        classificationComment - the classificationComment value to set.
        Returns:
        the IncidentInner object itself.
      • classificationReason

        public IncidentClassificationReason classificationReason()
        Get the classificationReason property: The classification reason the incident was closed with.
        Returns:
        the classificationReason value.
      • withClassificationReason

        public IncidentInner withClassificationReason​(IncidentClassificationReason classificationReason)
        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

        public OffsetDateTime createdTimeUtc()
        Get the createdTimeUtc property: The time the incident was created.
        Returns:
        the createdTimeUtc value.
      • description

        public String description()
        Get the description property: The description of the incident.
        Returns:
        the description value.
      • withDescription

        public IncidentInner withDescription​(String description)
        Set the description property: The description of the incident.
        Parameters:
        description - the description value to set.
        Returns:
        the IncidentInner object itself.
      • firstActivityTimeUtc

        public OffsetDateTime firstActivityTimeUtc()
        Get the firstActivityTimeUtc property: The time of the first activity in the incident.
        Returns:
        the firstActivityTimeUtc value.
      • withFirstActivityTimeUtc

        public IncidentInner withFirstActivityTimeUtc​(OffsetDateTime firstActivityTimeUtc)
        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

        public String incidentUrl()
        Get the incidentUrl property: The deep-link url to the incident in Azure portal.
        Returns:
        the incidentUrl value.
      • incidentNumber

        public Integer incidentNumber()
        Get the incidentNumber property: A sequential number.
        Returns:
        the incidentNumber value.
      • labels

        public List<IncidentLabel> labels()
        Get the labels property: List of labels relevant to this incident.
        Returns:
        the labels value.
      • withLabels

        public IncidentInner withLabels​(List<IncidentLabel> labels)
        Set the labels property: List of labels relevant to this incident.
        Parameters:
        labels - the labels value to set.
        Returns:
        the IncidentInner object itself.
      • providerName

        public String providerName()
        Get the providerName property: The name of the source provider that generated the incident.
        Returns:
        the providerName value.
      • withProviderName

        public IncidentInner withProviderName​(String providerName)
        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

        public String providerIncidentId()
        Get the providerIncidentId property: The incident ID assigned by the incident provider.
        Returns:
        the providerIncidentId value.
      • withProviderIncidentId

        public IncidentInner withProviderIncidentId​(String providerIncidentId)
        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

        public OffsetDateTime lastActivityTimeUtc()
        Get the lastActivityTimeUtc property: The time of the last activity in the incident.
        Returns:
        the lastActivityTimeUtc value.
      • withLastActivityTimeUtc

        public IncidentInner withLastActivityTimeUtc​(OffsetDateTime lastActivityTimeUtc)
        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

        public OffsetDateTime lastModifiedTimeUtc()
        Get the lastModifiedTimeUtc property: The last time the incident was updated.
        Returns:
        the lastModifiedTimeUtc value.
      • owner

        public IncidentOwnerInfo owner()
        Get the owner property: Describes a user that the incident is assigned to.
        Returns:
        the owner value.
      • withOwner

        public IncidentInner withOwner​(IncidentOwnerInfo owner)
        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.
      • relatedAnalyticRuleIds

        public List<String> relatedAnalyticRuleIds()
        Get the relatedAnalyticRuleIds property: List of resource ids of Analytic rules related to the incident.
        Returns:
        the relatedAnalyticRuleIds value.
      • severity

        public IncidentSeverity severity()
        Get the severity property: The severity of the incident.
        Returns:
        the severity value.
      • withSeverity

        public IncidentInner withSeverity​(IncidentSeverity severity)
        Set the severity property: The severity of the incident.
        Parameters:
        severity - the severity value to set.
        Returns:
        the IncidentInner object itself.
      • status

        public IncidentStatus status()
        Get the status property: The status of the incident.
        Returns:
        the status value.
      • withStatus

        public IncidentInner withStatus​(IncidentStatus status)
        Set the status property: The status of the incident.
        Parameters:
        status - the status value to set.
        Returns:
        the IncidentInner object itself.
      • teamInformation

        public TeamInformationInner teamInformation()
        Get the teamInformation property: Describes a team for the incident.
        Returns:
        the teamInformation value.
      • withTeamInformation

        public IncidentInner withTeamInformation​(TeamInformationInner teamInformation)
        Set the teamInformation property: Describes a team for the incident.
        Parameters:
        teamInformation - the teamInformation value to set.
        Returns:
        the IncidentInner object itself.
      • title

        public String title()
        Get the title property: The title of the incident.
        Returns:
        the title value.
      • withTitle

        public IncidentInner withTitle​(String title)
        Set the title property: The title of the incident.
        Parameters:
        title - the title value to set.
        Returns:
        the IncidentInner object itself.