public void setAggregators(java.util.Collection<InventoryAggregator> aggregators) {
        if (aggregators == null) {
            this.aggregators = null;
            return;
        }

        this.aggregators = new com.amazonaws.internal.SdkInternalList<InventoryAggregator>(aggregators);
    }
<p>
Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an
expression that uses the <code>AWS:InstanceInformation.PlatformType</code> type, you can see a count of how many
Windows and Linux managed nodes exist in your inventoried fleet.
</p>

@param aggregators
       Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using
       an expression that uses the <code>AWS:InstanceInformation.PlatformType</code> type, you can see a count of
       how many Windows and Linux managed nodes exist in your inventoried fleet.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/GetInventoryRequest.java