Class TimelineResultsMetadata
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.TimelineResultsMetadata
-
public final class TimelineResultsMetadata extends Object
Expansion result metadata.
-
-
Constructor Summary
Constructors Constructor Description TimelineResultsMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TimelineAggregation>
aggregations()
Get the aggregations property: timeline aggregation per kind.List<TimelineError>
errors()
Get the errors property: information about the failure queries.int
totalCount()
Get the totalCount property: the total items found for the timeline request.void
validate()
Validates the instance.TimelineResultsMetadata
withAggregations(List<TimelineAggregation> aggregations)
Set the aggregations property: timeline aggregation per kind.TimelineResultsMetadata
withErrors(List<TimelineError> errors)
Set the errors property: information about the failure queries.TimelineResultsMetadata
withTotalCount(int totalCount)
Set the totalCount property: the total items found for the timeline request.
-
-
-
Method Detail
-
totalCount
public int totalCount()
Get the totalCount property: the total items found for the timeline request.- Returns:
- the totalCount value.
-
withTotalCount
public TimelineResultsMetadata withTotalCount(int totalCount)
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
public List<TimelineAggregation> aggregations()
Get the aggregations property: timeline aggregation per kind.- Returns:
- the aggregations value.
-
withAggregations
public TimelineResultsMetadata withAggregations(List<TimelineAggregation> aggregations)
Set the aggregations property: timeline aggregation per kind.- Parameters:
aggregations
- the aggregations value to set.- Returns:
- the TimelineResultsMetadata object itself.
-
errors
public List<TimelineError> errors()
Get the errors property: information about the failure queries.- Returns:
- the errors value.
-
withErrors
public TimelineResultsMetadata withErrors(List<TimelineError> errors)
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.
-
-