public static Predicate predicateForKerberosDescriptorArtifact(String clusterName) {
    return new PredicateBuilder().begin()
      .property(ArtifactResourceProvider.CLUSTER_NAME_PROPERTY).equals(clusterName)
      .and()
      .property(ArtifactResourceProvider.ARTIFACT_NAME_PROPERTY).equals(ArtifactResourceProvider.KERBEROS_DESCRIPTOR)
      .end().toPredicate();
  }
Creates a {@link ConfigurationRequest} for each config type in the {@code configTypes} stream.

@return an {@code Optional} {@link ClusterRequest} with desired configs set to all the {@code ConfigurationRequests},
or an empty {@code Optional} if the incoming {@code configTypes} stream is empty
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/ResourceProviderAdapter.java