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 Details

    • RemediationFilters

      public RemediationFilters()
      Creates an instance of RemediationFilters class.
  • Method Details

    • 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.