com.cloudera.api.model
Class ApiLicensedFeatureUsage

java.lang.Object
  extended by com.cloudera.api.model.ApiLicensedFeatureUsage

public class ApiLicensedFeatureUsage
extends Object

Information about the number of nodes using which product features.

Usage information is provided for individual clusters, as well as totals across all clusters.


Constructor Summary
ApiLicensedFeatureUsage()
           
ApiLicensedFeatureUsage(Map<String,Integer> totals, Map<String,Map<String,Integer>> byCluster)
           
 
Method Summary
 Map<String,Map<String,Integer>> getClusters()
          Map from clusters to maps of named features to the number of nodes in the cluster using those features.
 Map<String,Integer> getTotals()
          Map from named features to the total number of nodes using those features.
 void setCluster(Map<String,Map<String,Integer>> byCluster)
           
 void setTotals(Map<String,Integer> totals)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiLicensedFeatureUsage

public ApiLicensedFeatureUsage()

ApiLicensedFeatureUsage

public ApiLicensedFeatureUsage(Map<String,Integer> totals,
                               Map<String,Map<String,Integer>> byCluster)
Method Detail

getTotals

public Map<String,Integer> getTotals()
Map from named features to the total number of nodes using those features.


setTotals

public void setTotals(Map<String,Integer> totals)

getClusters

public Map<String,Map<String,Integer>> getClusters()
Map from clusters to maps of named features to the number of nodes in the cluster using those features.


setCluster

public void setCluster(Map<String,Map<String,Integer>> byCluster)


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.