Class IncidentPropertiesInner

java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.IncidentPropertiesInner

public final class IncidentPropertiesInner extends Object
Describes incident properties.
  • Constructor Details

    • IncidentPropertiesInner

      public IncidentPropertiesInner()
  • Method Details

    • 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 IncidentPropertiesInner withClassification(IncidentClassification classification)
      Set the classification property: The reason the incident was closed.
      Parameters:
      classification - the classification value to set.
      Returns:
      the IncidentPropertiesInner object itself.
    • classificationComment

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

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

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

      public IncidentPropertiesInner withClassificationReason(IncidentClassificationReason classificationReason)
      Set the classificationReason property: The classification reason the incident was closed with.
      Parameters:
      classificationReason - the classificationReason value to set.
      Returns:
      the IncidentPropertiesInner 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 IncidentPropertiesInner withDescription(String description)
      Set the description property: The description of the incident.
      Parameters:
      description - the description value to set.
      Returns:
      the IncidentPropertiesInner 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 IncidentPropertiesInner 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 IncidentPropertiesInner 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 IncidentPropertiesInner withLabels(List<IncidentLabel> labels)
      Set the labels property: List of labels relevant to this incident.
      Parameters:
      labels - the labels value to set.
      Returns:
      the IncidentPropertiesInner 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 IncidentPropertiesInner 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 IncidentPropertiesInner object itself.
    • providerIncidentId

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

      public IncidentPropertiesInner withProviderIncidentId(String providerIncidentId)
      Set the providerIncidentId property: The incident ID assigned by the incident provider.
      Parameters:
      providerIncidentId - the providerIncidentId value to set.
      Returns:
      the IncidentPropertiesInner 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 IncidentPropertiesInner 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 IncidentPropertiesInner 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 IncidentPropertiesInner 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 IncidentPropertiesInner 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 IncidentPropertiesInner withSeverity(IncidentSeverity severity)
      Set the severity property: The severity of the incident.
      Parameters:
      severity - the severity value to set.
      Returns:
      the IncidentPropertiesInner object itself.
    • status

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

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

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

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

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

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

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.