PolicyEventsQueryResults Class
- java.
lang. Object - com.
azure. resourcemanager. policyinsights. models. PolicyEventsQueryResults
- com.
public final class PolicyEventsQueryResults
Query results.
Constructor Summary
Constructor | Description |
---|---|
PolicyEventsQueryResults() |
Creates an instance of Policy |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
odataContext()
Get the odata |
Integer |
odataCount()
Get the odata |
String |
odataNextLink()
Get the odata |
void |
validate()
Validates the instance. |
List<Policy |
value()
Get the value property: Query results. |
Policy |
withOdataContext(String odataContext)
Set the odata |
Policy |
withOdataCount(Integer odataCount)
Set the odata |
Policy |
withOdataNextLink(String odataNextLink)
Set the odata |
Policy |
withValue(List<PolicyEventInner> value)
Set the value property: Query results. |
Methods inherited from java.lang.Object
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:
odataCount
public Integer odataCount()
Get the odataCount property: OData entity count; represents the number of policy event records returned.
Returns:
odataNextLink
public String odataNextLink()
Get the odataNextLink property: Odata next link; URL to get the next set of results.
Returns:
validate
public void validate()
Validates the instance.
value
public List
Get the value property: Query results.
Returns:
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:
Returns:
withOdataCount
public PolicyEventsQueryResults withOdataCount(Integer odataCount)
Set the odataCount property: OData entity count; represents the number of policy event records returned.
Parameters:
Returns:
withOdataNextLink
public PolicyEventsQueryResults withOdataNextLink(String odataNextLink)
Set the odataNextLink property: Odata next link; URL to get the next set of results.
Parameters:
Returns:
withValue
public PolicyEventsQueryResults withValue(List
Set the value property: Query results.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for