Class GetInsightsResultsMetadata
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.GetInsightsResultsMetadata
-
public final class GetInsightsResultsMetadata extends Object
Get Insights result metadata.
-
-
Constructor Summary
Constructors Constructor Description GetInsightsResultsMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GetInsightsError>
errors()
Get the errors property: information about the failed queries.int
totalCount()
Get the totalCount property: the total items found for the insights request.void
validate()
Validates the instance.GetInsightsResultsMetadata
withErrors(List<GetInsightsError> errors)
Set the errors property: information about the failed queries.GetInsightsResultsMetadata
withTotalCount(int totalCount)
Set the totalCount property: the total items found for the insights request.
-
-
-
Method Detail
-
totalCount
public int totalCount()
Get the totalCount property: the total items found for the insights request.- Returns:
- the totalCount value.
-
withTotalCount
public GetInsightsResultsMetadata withTotalCount(int totalCount)
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
public List<GetInsightsError> errors()
Get the errors property: information about the failed queries.- Returns:
- the errors value.
-
withErrors
public GetInsightsResultsMetadata withErrors(List<GetInsightsError> errors)
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.
-
-