PolicyEventsQueryResults Class

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

public final class PolicyEventsQueryResults

Query results.

Constructor Summary

Constructor Description
PolicyEventsQueryResults()

Creates an instance of PolicyEventsQueryResults class.

Method Summary

Modifier and Type Method and Description
String odataContext()

Get the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.

Integer odataCount()

Get the odataCount property: OData entity count; represents the number of policy event records returned.

String odataNextLink()

Get the odataNextLink property: Odata next link; URL to get the next set of results.

void validate()

Validates the instance.

List<PolicyEventInner> value()

Get the value property: Query results.

PolicyEventsQueryResults withOdataContext(String odataContext)

Set the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.

PolicyEventsQueryResults withOdataCount(Integer odataCount)

Set the odataCount property: OData entity count; represents the number of policy event records returned.

PolicyEventsQueryResults withOdataNextLink(String odataNextLink)

Set the odataNextLink property: Odata next link; URL to get the next set of results.

PolicyEventsQueryResults 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:

the odataContext value.

odataCount

public Integer odataCount()

Get the odataCount property: OData entity count; represents the number of policy event records returned.

Returns:

the odataCount value.

odataNextLink

public String odataNextLink()

Get the odataNextLink property: Odata next link; URL to get the next set of results.

Returns:

the odataNextLink value.

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: Query results.

Returns:

the value 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.

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.

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.

withValue

public PolicyEventsQueryResults withValue(List value)

Set the value property: Query results.

Parameters:

value - the value value to set.

Returns:

the PolicyEventsQueryResults object itself.

Applies to