public void setCredentialStoreRequired(boolean credentialStoreRequired) {
    if (credentialStoreInfo == null) {
      credentialStoreInfo = new CredentialStoreInfo();
    }
    credentialStoreInfo.setRequired(credentialStoreRequired);
  }
Set a value indicating if this service requires credential store.

@param credentialStoreRequired
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java