Class RemediationFilters
- java.lang.Object
-
- com.azure.resourcemanager.policyinsights.models.RemediationFilters
-
public final class RemediationFilters extends Object
The filters that will be applied to determine which resources to remediate.
-
-
Constructor Summary
Constructors Constructor Description RemediationFilters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
locations()
Get the locations property: The resource locations that will be remediated.void
validate()
Validates the instance.RemediationFilters
withLocations(List<String> locations)
Set the locations property: The resource locations that will be remediated.
-
-
-
Method Detail
-
locations
public List<String> locations()
Get the locations property: The resource locations that will be remediated.- Returns:
- the locations value.
-
withLocations
public RemediationFilters withLocations(List<String> locations)
Set the locations property: The resource locations that will be remediated.- Parameters:
locations
- the locations value to set.- Returns:
- the RemediationFilters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-