Class InsightQueryItemPropertiesDefaultTimeRange
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.InsightQueryItemPropertiesDefaultTimeRange
-
public final class InsightQueryItemPropertiesDefaultTimeRange extends Object
The insight chart query.
-
-
Constructor Summary
Constructors Constructor Description InsightQueryItemPropertiesDefaultTimeRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
afterRange()
Get the afterRange property: The padding for the end time of the query.String
beforeRange()
Get the beforeRange property: The padding for the start time of the query.void
validate()
Validates the instance.InsightQueryItemPropertiesDefaultTimeRange
withAfterRange(String afterRange)
Set the afterRange property: The padding for the end time of the query.InsightQueryItemPropertiesDefaultTimeRange
withBeforeRange(String beforeRange)
Set the beforeRange property: The padding for the start time of the query.
-
-
-
Method Detail
-
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.
-
-