Class AnomalyTimelineItem

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

public final class AnomalyTimelineItem extends EntityTimelineItem
Represents anomaly timeline item.
  • Constructor Details

    • AnomalyTimelineItem

      public AnomalyTimelineItem()
  • Method Details

    • azureResourceId

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

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

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

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

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

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

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

      public AnomalyTimelineItem withDisplayName(String displayName)
      Set the displayName property: The anomaly name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the AnomalyTimelineItem object itself.
    • endTimeUtc

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

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

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

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

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

      public AnomalyTimelineItem withTimeGenerated(OffsetDateTime timeGenerated)
      Set the timeGenerated property: The anomaly generated time.
      Parameters:
      timeGenerated - the timeGenerated value to set.
      Returns:
      the AnomalyTimelineItem object itself.
    • vendor

      public String vendor()
      Get the vendor property: The name of the anomaly vendor.
      Returns:
      the vendor value.
    • withVendor

      public AnomalyTimelineItem withVendor(String vendor)
      Set the vendor property: The name of the anomaly vendor.
      Parameters:
      vendor - the vendor value to set.
      Returns:
      the AnomalyTimelineItem object itself.
    • intent

      public String intent()
      Get the intent property: The intent of the anomaly.
      Returns:
      the intent value.
    • withIntent

      public AnomalyTimelineItem withIntent(String intent)
      Set the intent property: The intent of the anomaly.
      Parameters:
      intent - the intent value to set.
      Returns:
      the AnomalyTimelineItem object itself.
    • techniques

      public List<String> techniques()
      Get the techniques property: The techniques of the anomaly.
      Returns:
      the techniques value.
    • withTechniques

      public AnomalyTimelineItem withTechniques(List<String> techniques)
      Set the techniques property: The techniques of the anomaly.
      Parameters:
      techniques - the techniques value to set.
      Returns:
      the AnomalyTimelineItem object itself.
    • reasons

      public List<String> reasons()
      Get the reasons property: The reasons that cause the anomaly.
      Returns:
      the reasons value.
    • withReasons

      public AnomalyTimelineItem withReasons(List<String> reasons)
      Set the reasons property: The reasons that cause the anomaly.
      Parameters:
      reasons - the reasons value to set.
      Returns:
      the AnomalyTimelineItem object itself.
    • validate

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