public void setScope(String scope) {
    this.scope = scope;
  }
Setter for scope property.

@param scope the scope of the dependency.  Either "cluster" or "host".
ambari-server/src/main/java/org/apache/ambari/server/state/DependencyInfo.java