Class EntityTimelineParameters
java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityTimelineParameters
The parameters required to execute s timeline operation on the given entity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: The end timeline date, so the results returned are before this date.kinds()
Get the kinds property: Array of timeline Item kinds.Get the numberOfBucket property: The number of bucket for timeline queries aggregation.Get the startTime property: The start timeline date, so the results returned are after this date.void
validate()
Validates the instance.withEndTime
(OffsetDateTime endTime) Set the endTime property: The end timeline date, so the results returned are before this date.withKinds
(List<EntityTimelineKind> kinds) Set the kinds property: Array of timeline Item kinds.withNumberOfBucket
(Integer numberOfBucket) Set the numberOfBucket property: The number of bucket for timeline queries aggregation.withStartTime
(OffsetDateTime startTime) Set the startTime property: The start timeline date, so the results returned are after this date.
-
Constructor Details
-
EntityTimelineParameters
public EntityTimelineParameters()
-
-
Method Details
-
kinds
Get the kinds property: Array of timeline Item kinds.- Returns:
- the kinds value.
-
withKinds
Set the kinds property: Array of timeline Item kinds.- Parameters:
kinds
- the kinds value to set.- Returns:
- the EntityTimelineParameters object itself.
-
startTime
Get the startTime property: The start timeline date, so the results returned are after this date.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: The start timeline date, so the results returned are after this date.- Parameters:
startTime
- the startTime value to set.- Returns:
- the EntityTimelineParameters object itself.
-
endTime
Get the endTime property: The end timeline date, so the results returned are before this date.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: The end timeline date, so the results returned are before this date.- Parameters:
endTime
- the endTime value to set.- Returns:
- the EntityTimelineParameters object itself.
-
numberOfBucket
Get the numberOfBucket property: The number of bucket for timeline queries aggregation.- Returns:
- the numberOfBucket value.
-
withNumberOfBucket
Set the numberOfBucket property: The number of bucket for timeline queries aggregation.- Parameters:
numberOfBucket
- the numberOfBucket value to set.- Returns:
- the EntityTimelineParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-