@ApiModelProperty(name = "cardinality")
  public String getCardinality() {
    return cardinality;
  }
Get cardinality requirement of component.

@return component cardinality requirement
ambari-server/src/main/java/org/apache/ambari/server/controller/StackServiceComponentResponse.java