public AutoscalePolicyFilter nameContains ( String ... names ) { allItemsNotNull ( names , "Autoscale policy names" ) ; predicate = predicate . and ( combine ( AutoscalePolicyMetadata :: getName , in ( asList ( names ) , Predicates :: containsIgnoreCase ) ) ) ; return this ; }
Method allow to find autoscale policies that contains some substring in name . Filtering is case insensitive .