Class TimelineResultsMetadata
java.lang.Object
com.azure.resourcemanager.securityinsights.models.TimelineResultsMetadata
Expansion result metadata.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aggregations property: timeline aggregation per kind.errors()
Get the errors property: information about the failure queries.int
Get the totalCount property: the total items found for the timeline request.void
validate()
Validates the instance.withAggregations
(List<TimelineAggregation> aggregations) Set the aggregations property: timeline aggregation per kind.withErrors
(List<TimelineError> errors) Set the errors property: information about the failure queries.withTotalCount
(int totalCount) Set the totalCount property: the total items found for the timeline request.
-
Constructor Details
-
TimelineResultsMetadata
public TimelineResultsMetadata()
-
-
Method Details
-
totalCount
public int totalCount()Get the totalCount property: the total items found for the timeline request.- Returns:
- the totalCount value.
-
withTotalCount
Set the totalCount property: the total items found for the timeline request.- Parameters:
totalCount
- the totalCount value to set.- Returns:
- the TimelineResultsMetadata object itself.
-
aggregations
Get the aggregations property: timeline aggregation per kind.- Returns:
- the aggregations value.
-
withAggregations
Set the aggregations property: timeline aggregation per kind.- Parameters:
aggregations
- the aggregations value to set.- Returns:
- the TimelineResultsMetadata object itself.
-
errors
Get the errors property: information about the failure queries.- Returns:
- the errors value.
-
withErrors
Set the errors property: information about the failure queries.- Parameters:
errors
- the errors value to set.- Returns:
- the TimelineResultsMetadata object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-