Class PolicyEventsQueryResults
java.lang.Object
com.azure.resourcemanager.policyinsights.models.PolicyEventsQueryResults
Query results.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PolicyEventsQueryResults class. -
Method Summary
Modifier and TypeMethodDescriptionGet the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.Get the odataCount property: OData entity count; represents the number of policy event records returned.Get the odataNextLink property: Odata next link; URL to get the next set of results.void
validate()
Validates the instance.value()
Get the value property: Query results.withOdataContext
(String odataContext) Set the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.withOdataCount
(Integer odataCount) Set the odataCount property: OData entity count; represents the number of policy event records returned.withOdataNextLink
(String odataNextLink) Set the odataNextLink property: Odata next link; URL to get the next set of results.withValue
(List<PolicyEventInner> value) Set the value property: Query results.
-
Constructor Details
-
PolicyEventsQueryResults
public PolicyEventsQueryResults()Creates an instance of PolicyEventsQueryResults class.
-
-
Method Details
-
odataContext
Get the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.- Returns:
- the odataContext value.
-
withOdataContext
Set the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.- Parameters:
odataContext
- the odataContext value to set.- Returns:
- the PolicyEventsQueryResults object itself.
-
odataCount
Get the odataCount property: OData entity count; represents the number of policy event records returned.- Returns:
- the odataCount value.
-
withOdataCount
Set the odataCount property: OData entity count; represents the number of policy event records returned.- Parameters:
odataCount
- the odataCount value to set.- Returns:
- the PolicyEventsQueryResults object itself.
-
odataNextLink
Get the odataNextLink property: Odata next link; URL to get the next set of results.- Returns:
- the odataNextLink value.
-
withOdataNextLink
Set the odataNextLink property: Odata next link; URL to get the next set of results.- Parameters:
odataNextLink
- the odataNextLink value to set.- Returns:
- the PolicyEventsQueryResults object itself.
-
value
Get the value property: Query results.- Returns:
- the value value.
-
withValue
Set the value property: Query results.- Parameters:
value
- the value value to set.- Returns:
- the PolicyEventsQueryResults object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-