Method allow to find autoscale policies that contains some substring in name.
Filtering is case insensitive.

@param names is not null list of name substrings
@return {@link AutoscalePolicyFilter}
@throws NullPointerException if {@code names} is null
548852
public AutoscalePolicyFilter nameContains(String... names) {
        allItemsNotNull(names, "Autoscale policy names");

        predicate = predicate.and(combine(
            AutoscalePolicyMetadata::getName, in(asList(names), Predicates::containsIgnoreCase)
        ));

        return this;
    }
1213279
private static boolean containsIgnoreCase(List<String> names, String nameToFind) {
		if (CollUtil.isEmpty(names)) {
			return false;
		}
		if (StrUtil.isEmpty(nameToFind)) {
			return false;
		}
		for (String name : names) {
			if (nameToFind.equalsIgnoreCase(name)) {
				return true;
			}
		}
		return false;
	}
924847
public List<String> headerList(String name) {
		if(StrUtil.isBlank(name)) {
			return null;
		}
		
		final CaseInsensitiveMap<String,List<String>> headersIgnoreCase = new CaseInsensitiveMap<>(this.headers);
		return headersIgnoreCase.get(name.trim());
	}
142836
public List<String> getRolesForUser(String name) {
        try {
            return model.model.get("g").get("g").rm.getRoles(name);
        } catch (Error e) {
            if (!e.getMessage().equals("error: name does not exist")) {
                throw e;
            }
        }
        return null;
    }
81198
public static autoscaleaction get(nitro_service service, String name) throws Exception{
		autoscaleaction obj = new autoscaleaction();
		obj.set_name(name);
		autoscaleaction response = (autoscaleaction) obj.get_resource(service);
		return response;
	}
1015263
@Nullable
  public static AnnotationTree getAnnotationWithSimpleName(
      List<? extends AnnotationTree> annotations, String name) {
    for (AnnotationTree annotation : annotations) {
      if (hasSimpleName(annotation, name)) {
        return annotation;
      }
    }
    return null;
  }
25507
@VisibleForTesting
  List<Name> names(Iterable<String> names) {
    List<Name> result = new ArrayList<>();
    for (String name : names) {
      result.add(name(name));
    }
    return result;
  }
252930
public static filterpolicy_binding get(nitro_service service, String name) throws Exception{
		filterpolicy_binding obj = new filterpolicy_binding();
		obj.set_name(name);
		filterpolicy_binding response = (filterpolicy_binding) obj.get_resource(service);
		return response;
	}
170848
def select(self, names):
        """"""
        return PolicyCollection(
            [p for p in self.policies if p.name in names], self.options)
371862
public TemplateFilter nameContains(String... names) {
        allItemsNotNull(names, "Name substrings");

        predicate = predicate.and(combine(
            TemplateMetadata::getName, in(asList(names), Predicates::containsIgnoreCase)
            ));

        return this;
    }
579916
public Set<String> getAttributeNamesSkip(String ... names) {
        Set<String> attributes = new CaseInsensitiveSet(getAttributeNames());
        for (String name : names) {
            attributes.remove(name);
        }
        return attributes;
    }
622436
public void setNames(String names) {
		this.names = new HashSet<String>(Arrays.asList(names.split(" ")));
	}
1058021
public static List<String> get(String name, @Nullable Map<String, String> keyValues) {
    return Args.flaggedKeyValues(name, keyValues);
  }
709199
public ServerFilter nameContains(String... subStrings) {
        allItemsNotNull(subStrings, "Name keywords");

        predicate = predicate.and(combine(
            ServerMetadata::getName, in(asList(subStrings), Predicates::containsIgnoreCase)
        ));

        return this;
    }
1337274
public AlertPolicyFilter nameContains(String... subStrings) {
        checkNotNull(subStrings, "Name match criteria must be not a null");

        predicate = predicate.and(combine(
            AlertPolicyMetadata::getName, in(asList(subStrings), Predicates::containsIgnoreCase)
        ));

        return this;
    }
447415
public AntiAffinityPolicyFilter nameContains(String... subStrings) {
        checkNotNull(subStrings, "Name match criteria must be not a null");

        predicate = predicate.and(combine(
            AntiAffinityPolicyMetadata::getName, in(asList(subStrings), Predicates::containsIgnoreCase)
        ));

        return this;
    }
1311949
public AlertPolicyFilter names(String... names) {
        checkNotNull(names, "Name match criteria must be not a null");

        predicate = predicate.and(combine(
            AlertPolicyMetadata::getName, in(asList(names), Predicates::containsIgnoreCase)
        ));

        return this;
    }