com.splunk
Class ServiceArgs
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<java.lang.String,java.lang.Object>
com.splunk.Args
com.splunk.ServiceArgs
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
public class ServiceArgs
- extends Args
The ServiceArgs
class contains a collection of arguments that are
used to initialize a Splunk Service
instance.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Methods inherited from class java.util.LinkedHashMap |
clear, containsValue, get, removeEldestEntry |
Methods inherited from class java.util.HashMap |
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
app
public java.lang.String app
- Deprecated. Use
setApp(String)
instead.- The application context of the service.
host
public java.lang.String host
- Deprecated. Use
setHost(String)
instead.- The host name of the service.
owner
public java.lang.String owner
- Deprecated. Use
setOwner(String)
instead.- The owner context of the service.
port
public java.lang.Integer port
- Deprecated. Use
setPort(int)
instead.- The port number of the service.
scheme
public java.lang.String scheme
- Deprecated. Use
setScheme(String)
instead.- The scheme to use for accessing the service.
token
public java.lang.String token
- Deprecated. Use
setToken(String)
instead.- A Splunk authentication token to use for the session.
ServiceArgs
public ServiceArgs()
setApp
public void setApp(java.lang.String app)
- Parameters:
app
- The application context of the service.
setHost
public void setHost(java.lang.String host)
- Parameters:
host
- The host name of the service.
setHTTPSHandler
public void setHTTPSHandler(java.net.URLStreamHandler handler)
- Parameters:
handler
- A URLStreamHandler to handle HTTPS requests for the service.
setOwner
public void setOwner(java.lang.String owner)
- Parameters:
owner
- The owner context of the service.
setPassword
public void setPassword(java.lang.String password)
- Parameters:
password
- The password to use when logging in.
setPort
public void setPort(int port)
- Parameters:
port
- The port number of the service.
setScheme
public void setScheme(java.lang.String scheme)
- Parameters:
scheme
- The scheme to use for accessing the service.
setSSLSecurityProtocol
public void setSSLSecurityProtocol(SSLSecurityProtocol securityProtocol)
- Parameters:
securityProtocol
- The SSL security protocol for the service.
setToken
public void setToken(java.lang.String token)
- Parameters:
token
- A Splunk authentication token to use for the session.
setUsername
public void setUsername(java.lang.String username)
- Parameters:
username
- The username to use when logging in.