Class GetInsightsResultsMetadata
java.lang.Object
com.azure.resourcemanager.securityinsights.models.GetInsightsResultsMetadata
Get Insights result metadata.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionerrors()
Get the errors property: information about the failed queries.int
Get the totalCount property: the total items found for the insights request.void
validate()
Validates the instance.withErrors
(List<GetInsightsErrorKind> errors) Set the errors property: information about the failed queries.withTotalCount
(int totalCount) Set the totalCount property: the total items found for the insights request.
-
Constructor Details
-
GetInsightsResultsMetadata
public GetInsightsResultsMetadata()
-
-
Method Details
-
totalCount
public int totalCount()Get the totalCount property: the total items found for the insights request.- Returns:
- the totalCount value.
-
withTotalCount
Set the totalCount property: the total items found for the insights request.- Parameters:
totalCount
- the totalCount value to set.- Returns:
- the GetInsightsResultsMetadata object itself.
-
errors
Get the errors property: information about the failed queries.- Returns:
- the errors value.
-
withErrors
Set the errors property: information about the failed queries.- Parameters:
errors
- the errors value to set.- Returns:
- the GetInsightsResultsMetadata object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-