public DataCenterFilter nameContains ( String ... names ) { allItemsNotNull ( names , "Name keywords" ) ; predicate = predicate . and ( combine ( DataCenterMetadata :: getName , in ( asList ( names ) , Predicates :: containsIgnoreCase ) ) ) ; return this ; }
Method allow to filter data centers by name . Filtering is case insensitive and occurs using substring search .