com.splunk
Class LicensePoolCollection

java.lang.Object
  extended by com.splunk.Resource
      extended by com.splunk.ResourceCollection<T>
          extended by com.splunk.EntityCollection<LicensePool>
              extended by com.splunk.LicensePoolCollection
All Implemented Interfaces:
java.util.Map<java.lang.String,LicensePool>

public class LicensePoolCollection
extends EntityCollection<LicensePool>

The LicensePoolCollection class represents a collection of license pools.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 LicensePool create(java.lang.String name, java.lang.String quota, java.lang.String stackId)
          Creates a license pool.
 LicensePool create(java.lang.String name, java.lang.String quota, java.lang.String stackId, java.util.Map args)
          Creates a license pool.
 
Methods inherited from class com.splunk.EntityCollection
create, create, remove, remove
 
Methods inherited from class com.splunk.ResourceCollection
clear, containsKey, containsKey, containsValue, entrySet, equals, get, get, hashCode, isEmpty, keySet, list, put, putAll, refresh, remove, size, validate, values, valueSize
 
Methods inherited from class com.splunk.Resource
getName, getPath, getService, getTitle, invalidate
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public LicensePool create(java.lang.String name,
                          java.lang.String quota,
                          java.lang.String stackId)
Creates a license pool.

Parameters:
name - The name of the new license pool.
quota - The indexing quota of this license pool, specified as:
  • number
  • number followed by "MB" or "GB" (for example, "10GB")
  • "MAX" (Only one license pool can have "MAX" size in a stack.)
stackId - The stack ID corresponding to this license pool.
Returns:
The new license pool.

create

public LicensePool create(java.lang.String name,
                          java.lang.String quota,
                          java.lang.String stackId,
                          java.util.Map args)
Creates a license pool.

Parameters:
name - The name of the new license pool.
quota - The indexing quota of this license pool, specified as:
  • number
  • number followed by "MB" or "GB" (for example, "10GB")
  • "MAX" (Only one license pool can have "MAX" size in a stack.)
stackId - The stack ID corresponding to this license pool.
args - Optional arguments ("description" and "slaves").
Returns:
The new license pool.