Class PolicyEventsQueryResults

java.lang.Object
com.azure.resourcemanager.policyinsights.models.PolicyEventsQueryResults

public final class PolicyEventsQueryResults extends Object
Query results.
  • Constructor Details

    • PolicyEventsQueryResults

      public PolicyEventsQueryResults()
      Creates an instance of PolicyEventsQueryResults class.
  • Method Details

    • odataContext

      public String odataContext()
      Get the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.
      Returns:
      the odataContext value.
    • withOdataContext

      public PolicyEventsQueryResults withOdataContext(String odataContext)
      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

      public Integer odataCount()
      Get the odataCount property: OData entity count; represents the number of policy event records returned.
      Returns:
      the odataCount value.
    • withOdataCount

      public PolicyEventsQueryResults withOdataCount(Integer odataCount)
      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

      public String odataNextLink()
      Get the odataNextLink property: Odata next link; URL to get the next set of results.
      Returns:
      the odataNextLink value.
    • withOdataNextLink

      public PolicyEventsQueryResults withOdataNextLink(String odataNextLink)
      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

      public List<PolicyEventInner> value()
      Get the value property: Query results.
      Returns:
      the value value.
    • withValue

      public PolicyEventsQueryResults withValue(List<PolicyEventInner> value)
      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.