public static final class SplunkResourceManager.Builder extends TestContainerResourceManager.Builder<SplunkResourceManager>
SplunkResourceManager.containerImageName, containerImageTag, host, port, testId, useStaticContainer| Modifier and Type | Method and Description | 
|---|---|
SplunkResourceManager | 
build()
Builds and returns a Resource Manager that extends TestContainerResourceManager. 
 | 
SplunkResourceManager.Builder | 
setHecPort(int port)
Sets the port that the Splunk Http Event Collector (HEC) service is hosted on. 
 | 
SplunkResourceManager.Builder | 
setHecToken(java.lang.String hecToken)
Manually set the Splunk HTTP Event Collector (HEC) token to the given token. 
 | 
SplunkResourceManager.Builder | 
setHost(java.lang.String containerHost)
Sets the host of the resource that the resource manager will connect to. 
 | 
SplunkResourceManager.Builder | 
setPassword(java.lang.String password)
Manually set the Splunk password to the given password. 
 | 
SplunkResourceManager.Builder | 
setPort(int port)
Sets the port that the resource is hosted on. 
 | 
SplunkResourceManager.Builder | 
setSplunkdPort(int port)
Sets the port that the Splunkd service is hosted on. 
 | 
SplunkResourceManager.Builder | 
setUsername(java.lang.String username)
Set the username used to connect to a static Splunk instance. 
 | 
setContainerImageName, setContainerImageTag, useStaticContainerpublic SplunkResourceManager.Builder setUsername(java.lang.String username)
Note: This method should only be used if useStaticContainer() is also called.
username - the username for the Splunk instance.public SplunkResourceManager.Builder setPassword(java.lang.String password)
password - the password for the Splunk instance.public SplunkResourceManager.Builder setHecToken(java.lang.String hecToken)
hecToken - the HEC token for the Splunk instance.public SplunkResourceManager.Builder setHost(java.lang.String containerHost)
TestContainerResourceManager.BuildersetHost in class TestContainerResourceManager.Builder<SplunkResourceManager>containerHost - the resource host address.public SplunkResourceManager.Builder setPort(int port)
TestContainerResourceManager.BuildersetPort in class TestContainerResourceManager.Builder<SplunkResourceManager>port - the port the resource is hosted on.public SplunkResourceManager.Builder setHecPort(int port)
port - the port hosting the HEC service.public SplunkResourceManager.Builder setSplunkdPort(int port)
port - the port hosting the Splunkd service.public SplunkResourceManager build()
TestContainerResourceManager.Builderbuild in class TestContainerResourceManager.Builder<SplunkResourceManager>