public void setEntities(java.util.Collection<InventoryResultEntity> entities) {
        if (entities == null) {
            this.entities = null;
            return;
        }

        this.entities = new com.amazonaws.internal.SdkInternalList<InventoryResultEntity>(entities);
    }
public void setEntities ( java . util . Collection < InventoryResultEntity > entities ) { if ( entities == null ) { this . entities = null ; return ; } this . entities = new com . amazonaws . internal . SdkInternalList < InventoryResultEntity > ( entities ) ; }
<p>
Collection of inventory entities such as a collection of instance inventory.
</p>

@param entities
Collection of inventory entities such as a collection of instance inventory.