Class InsightQueryItemPropertiesDefaultTimeRange

java.lang.Object
com.azure.resourcemanager.securityinsights.models.InsightQueryItemPropertiesDefaultTimeRange

public final class InsightQueryItemPropertiesDefaultTimeRange extends Object
The insight chart query.
  • Constructor Details

    • InsightQueryItemPropertiesDefaultTimeRange

      public InsightQueryItemPropertiesDefaultTimeRange()
  • Method Details

    • beforeRange

      public String beforeRange()
      Get the beforeRange property: The padding for the start time of the query.
      Returns:
      the beforeRange value.
    • withBeforeRange

      public InsightQueryItemPropertiesDefaultTimeRange withBeforeRange(String beforeRange)
      Set the beforeRange property: The padding for the start time of the query.
      Parameters:
      beforeRange - the beforeRange value to set.
      Returns:
      the InsightQueryItemPropertiesDefaultTimeRange object itself.
    • afterRange

      public String afterRange()
      Get the afterRange property: The padding for the end time of the query.
      Returns:
      the afterRange value.
    • withAfterRange

      public InsightQueryItemPropertiesDefaultTimeRange withAfterRange(String afterRange)
      Set the afterRange property: The padding for the end time of the query.
      Parameters:
      afterRange - the afterRange value to set.
      Returns:
      the InsightQueryItemPropertiesDefaultTimeRange object itself.
    • validate

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