public class ModularInputKind extends Entity
ModularInputKind
class represents a particular modular input.
The actual inputs of this kind can be accessed from the
InputCollection
object.Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
args |
Modifier and Type | Method and Description |
---|---|
ModularInputKindArgument |
getArgument(java.lang.String argumentName)
Returns a map-like object representing a particular argument of this
modular input kind.
|
java.util.Map<java.lang.String,ModularInputKindArgument> |
getArguments()
Returns an argument map that contains the argument names as keys, and the
ModularInputKindArgument s as corresponding values. |
java.lang.String |
getDescription()
Returns the description of this modular input kind.
|
java.lang.String |
getStreamingMode()
Returns the streaming mode of this modular input kind.
|
java.lang.String |
getTitle()
Returns the title of this modular input kind, which is also displayed in
Splunk Web (rather than the name used in the REST API).
|
boolean |
hasArgument(java.lang.String argumentName)
Indicates whether this modular input kind has a given argument.
|
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, getUpdated, invalidate
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> args
public java.util.Map<java.lang.String,ModularInputKindArgument> getArguments()
ModularInputKindArgument
s as corresponding values.Map
containing the argument key-value pairs.public java.lang.String getStreamingMode()
public ModularInputKindArgument getArgument(java.lang.String argumentName)
argumentName
- The name of the argument to retrieve.ModularInputKindArgument
object representing the given
argument, or null
if the argument does not exist.public java.lang.String getDescription()
public java.lang.String getTitle()
public boolean hasArgument(java.lang.String argumentName)
argumentName
- The argument to look up.true
if the argument exists, false
if not.