Class PolicyDefinitionListResult
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.PolicyDefinitionListResult
-
public final class PolicyDefinitionListResult extends Object
List of policy definitions.
-
-
Constructor Summary
Constructors Constructor Description PolicyDefinitionListResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnextLink()Get the nextLink property: The URL to use for getting the next set of results.voidvalidate()Validates the instance.List<PolicyDefinitionInner>value()Get the value property: An array of policy definitions.PolicyDefinitionListResultwithNextLink(String nextLink)Set the nextLink property: The URL to use for getting the next set of results.PolicyDefinitionListResultwithValue(List<PolicyDefinitionInner> value)Set the value property: An array of policy definitions.
-
-
-
Method Detail
-
value
public List<PolicyDefinitionInner> value()
Get the value property: An array of policy definitions.- Returns:
- the value value.
-
withValue
public PolicyDefinitionListResult withValue(List<PolicyDefinitionInner> value)
Set the value property: An array of policy definitions.- Parameters:
value- the value value to set.- Returns:
- the PolicyDefinitionListResult object itself.
-
nextLink
public String nextLink()
Get the nextLink property: The URL to use for getting the next set of results.- Returns:
- the nextLink value.
-
withNextLink
public PolicyDefinitionListResult withNextLink(String nextLink)
Set the nextLink property: The URL to use for getting the next set of results.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the PolicyDefinitionListResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-