public class License extends Entity
License
class represents a license, providing access to the
licenses for this Splunk instance. Splunk licenses specify how much data
you can index per calendar day (from midnight to midnight by the clock on
the license master).Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreationTime()
Returns the time and date the license was created.
|
java.util.Date |
getExpirationTime()
Returns the time and date this license expires.
|
java.lang.String[] |
getFeatures()
Returns a list of enabled features for this license.
|
java.lang.String |
getGroupId()
Returns the group ID for this license.
|
java.lang.String |
getLabel()
Returns the label for this license.
|
java.lang.String |
getLicenseHash()
Returns the hash value for this license.
|
int |
getMaxViolations()
Returns the maximum number of violations allowed for this license.
|
long |
getQuota()
Returns the daily indexing quota, which is the maximum bytes per day
of indexing volume for this license.
|
java.lang.String[] |
getSourceTypes()
Returns the source types that, when indexed, count against the indexing
volume for this license.
|
java.lang.String |
getStackId()
Returns the stack ID for this license.
|
java.lang.String |
getStatus()
Returns the status of this license.
|
java.lang.String |
getType()
Returns the license type.
|
int |
getWindowPeriod()
Returns the number of days remaining in the rolling time window
for this license.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
public java.util.Date getCreationTime()
public java.util.Date getExpirationTime()
public java.lang.String[] getFeatures()
public java.lang.String getGroupId()
null
if not available.public java.lang.String getLabel()
null
if not available.public java.lang.String getLicenseHash()
public int getMaxViolations()
public long getQuota()
public java.lang.String[] getSourceTypes()
null
if not specified.public java.lang.String getStackId()
public java.lang.String getStatus()
public java.lang.String getType()
public int getWindowPeriod()