Class SecurityAlertTimelineItem

java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityTimelineItem
com.azure.resourcemanager.securityinsights.models.SecurityAlertTimelineItem

public final class SecurityAlertTimelineItem extends EntityTimelineItem
Represents security alert timeline item.
  • Constructor Details

    • SecurityAlertTimelineItem

      public SecurityAlertTimelineItem()
  • Method Details

    • azureResourceId

      public String azureResourceId()
      Get the azureResourceId property: The alert azure resource id.
      Returns:
      the azureResourceId value.
    • withAzureResourceId

      public SecurityAlertTimelineItem withAzureResourceId(String azureResourceId)
      Set the azureResourceId property: The alert azure resource id.
      Parameters:
      azureResourceId - the azureResourceId value to set.
      Returns:
      the SecurityAlertTimelineItem object itself.
    • productName

      public String productName()
      Get the productName property: The alert product name.
      Returns:
      the productName value.
    • withProductName

      public SecurityAlertTimelineItem withProductName(String productName)
      Set the productName property: The alert product name.
      Parameters:
      productName - the productName value to set.
      Returns:
      the SecurityAlertTimelineItem object itself.
    • description

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

      public SecurityAlertTimelineItem withDescription(String description)
      Set the description property: The alert description.
      Parameters:
      description - the description value to set.
      Returns:
      the SecurityAlertTimelineItem object itself.
    • displayName

      public String displayName()
      Get the displayName property: The alert name.
      Returns:
      the displayName value.
    • withDisplayName

      public SecurityAlertTimelineItem withDisplayName(String displayName)
      Set the displayName property: The alert name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the SecurityAlertTimelineItem object itself.
    • severity

      public AlertSeverity severity()
      Get the severity property: The alert severity.
      Returns:
      the severity value.
    • withSeverity

      public SecurityAlertTimelineItem withSeverity(AlertSeverity severity)
      Set the severity property: The alert severity.
      Parameters:
      severity - the severity value to set.
      Returns:
      the SecurityAlertTimelineItem object itself.
    • endTimeUtc

      public OffsetDateTime endTimeUtc()
      Get the endTimeUtc property: The alert end time.
      Returns:
      the endTimeUtc value.
    • withEndTimeUtc

      public SecurityAlertTimelineItem withEndTimeUtc(OffsetDateTime endTimeUtc)
      Set the endTimeUtc property: The alert end time.
      Parameters:
      endTimeUtc - the endTimeUtc value to set.
      Returns:
      the SecurityAlertTimelineItem object itself.
    • startTimeUtc

      public OffsetDateTime startTimeUtc()
      Get the startTimeUtc property: The alert start time.
      Returns:
      the startTimeUtc value.
    • withStartTimeUtc

      public SecurityAlertTimelineItem withStartTimeUtc(OffsetDateTime startTimeUtc)
      Set the startTimeUtc property: The alert start time.
      Parameters:
      startTimeUtc - the startTimeUtc value to set.
      Returns:
      the SecurityAlertTimelineItem object itself.
    • timeGenerated

      public OffsetDateTime timeGenerated()
      Get the timeGenerated property: The alert generated time.
      Returns:
      the timeGenerated value.
    • withTimeGenerated

      public SecurityAlertTimelineItem withTimeGenerated(OffsetDateTime timeGenerated)
      Set the timeGenerated property: The alert generated time.
      Parameters:
      timeGenerated - the timeGenerated value to set.
      Returns:
      the SecurityAlertTimelineItem object itself.
    • alertType

      public String alertType()
      Get the alertType property: The name of the alert type.
      Returns:
      the alertType value.
    • withAlertType

      public SecurityAlertTimelineItem withAlertType(String alertType)
      Set the alertType property: The name of the alert type.
      Parameters:
      alertType - the alertType value to set.
      Returns:
      the SecurityAlertTimelineItem object itself.
    • validate

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