Class EntityInsightItemQueryTimeInterval
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.EntityInsightItemQueryTimeInterval
-
public final class EntityInsightItemQueryTimeInterval extends Object
The Time interval that the query actually executed on.
-
-
Constructor Summary
Constructors Constructor Description EntityInsightItemQueryTimeInterval()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
endTime()
Get the endTime property: Insight query end time.OffsetDateTime
startTime()
Get the startTime property: Insight query start time.void
validate()
Validates the instance.EntityInsightItemQueryTimeInterval
withEndTime(OffsetDateTime endTime)
Set the endTime property: Insight query end time.EntityInsightItemQueryTimeInterval
withStartTime(OffsetDateTime startTime)
Set the startTime property: Insight query start time.
-
-
-
Method Detail
-
startTime
public OffsetDateTime startTime()
Get the startTime property: Insight query start time.- Returns:
- the startTime value.
-
withStartTime
public EntityInsightItemQueryTimeInterval withStartTime(OffsetDateTime startTime)
Set the startTime property: Insight query start time.- Parameters:
startTime
- the startTime value to set.- Returns:
- the EntityInsightItemQueryTimeInterval object itself.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: Insight query end time.- Returns:
- the endTime value.
-
withEndTime
public EntityInsightItemQueryTimeInterval withEndTime(OffsetDateTime endTime)
Set the endTime property: Insight query end time.- Parameters:
endTime
- the endTime value to set.- Returns:
- the EntityInsightItemQueryTimeInterval object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-