Class InsightQueryItemPropertiesDefaultTimeRange
java.lang.Object
com.azure.resourcemanager.securityinsights.models.InsightQueryItemPropertiesDefaultTimeRange
The insight chart query.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the afterRange property: The padding for the end time of the query.Get the beforeRange property: The padding for the start time of the query.void
validate()
Validates the instance.withAfterRange
(String afterRange) Set the afterRange property: The padding for the end time of the query.withBeforeRange
(String beforeRange) Set the beforeRange property: The padding for the start time of the query.
-
Constructor Details
-
InsightQueryItemPropertiesDefaultTimeRange
public InsightQueryItemPropertiesDefaultTimeRange()
-
-
Method Details
-
beforeRange
Get the beforeRange property: The padding for the start time of the query.- Returns:
- the beforeRange value.
-
withBeforeRange
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
Get the afterRange property: The padding for the end time of the query.- Returns:
- the afterRange value.
-
withAfterRange
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.
-