Class PolicyStatesQueryResults
- java.lang.Object
-
- com.azure.resourcemanager.policyinsights.models.PolicyStatesQueryResults
-
public final class PolicyStatesQueryResults extends Object
Query results.
-
-
Constructor Summary
Constructors Constructor Description PolicyStatesQueryResults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 state 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<PolicyStateInner>
value()
Get the value property: Query results.PolicyStatesQueryResults
withOdataContext(String odataContext)
Set the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.PolicyStatesQueryResults
withOdataCount(Integer odataCount)
Set the odataCount property: OData entity count; represents the number of policy state records returned.PolicyStatesQueryResults
withOdataNextLink(String odataNextLink)
Set the odataNextLink property: Odata next link; URL to get the next set of results.PolicyStatesQueryResults
withValue(List<PolicyStateInner> value)
Set the value property: Query results.
-
-
-
Method Detail
-
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 PolicyStatesQueryResults 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 PolicyStatesQueryResults object itself.
-
odataCount
public Integer odataCount()
Get the odataCount property: OData entity count; represents the number of policy state records returned.- Returns:
- the odataCount value.
-
withOdataCount
public PolicyStatesQueryResults withOdataCount(Integer odataCount)
Set the odataCount property: OData entity count; represents the number of policy state records returned.- Parameters:
odataCount
- the odataCount value to set.- Returns:
- the PolicyStatesQueryResults 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 PolicyStatesQueryResults 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 PolicyStatesQueryResults object itself.
-
value
public List<PolicyStateInner> value()
Get the value property: Query results.- Returns:
- the value value.
-
withValue
public PolicyStatesQueryResults withValue(List<PolicyStateInner> value)
Set the value property: Query results.- Parameters:
value
- the value value to set.- Returns:
- the PolicyStatesQueryResults object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-