Class RemediationFilters
java.lang.Object
com.azure.resourcemanager.policyinsights.models.RemediationFilters
The filters that will be applied to determine which resources to remediate.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the locations property: The resource locations that will be remediated.void
validate()
Validates the instance.withLocations
(List<String> locations) Set the locations property: The resource locations that will be remediated.
-
Constructor Details
-
RemediationFilters
public RemediationFilters()Creates an instance of RemediationFilters class.
-
-
Method Details
-
locations
Get the locations property: The resource locations that will be remediated.- Returns:
- the locations value.
-
withLocations
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.
-