code: public void setInstanceCounts(java.util.Collection<InstanceCount> instanceCounts) {
          if (instanceCounts == null) {
              this.instanceCounts = null;
              return;
          }
  
          this.instanceCounts = new com.amazonaws.internal.SdkInternalList<InstanceCount>(instanceCounts);
      }
docs: <p>
  The number of instances in this state.
  </p>
  
  @param instanceCounts
  The number of instances in this state.