public static final class AgentConfiguration.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
AgentConfiguration |
build() |
AgentConfiguration.Builder |
withAppKey(java.lang.String key) |
AgentConfiguration.Builder |
withAppKeyEnabledStatusChangeListener(com.appdynamics.iot.AppKeyEnabledStateChangeListener listener)
Set a custom AppKeyEnabledStateChangeListener.
|
AgentConfiguration.Builder |
withCollectorChannelFactory(CollectorChannelFactory collectorChannelFactory)
Sets the collector channel to use.
|
AgentConfiguration.Builder |
withCollectorUrl(java.lang.String url) |
public AgentConfiguration.Builder withAppKey(java.lang.String key)
key - The AppDynamics APP KEYpublic AgentConfiguration.Builder withCollectorUrl(java.lang.String url)
url - of the AppDynamics Collector collecting events public AgentConfiguration.Builder withCollectorChannelFactory(CollectorChannelFactory collectorChannelFactory)
collectorChannelFactory - custom collector channelCollectorChannelFactorypublic AgentConfiguration.Builder withAppKeyEnabledStatusChangeListener(com.appdynamics.iot.AppKeyEnabledStateChangeListener listener)
listener - set your own AppKeyEnabledStateChangeListenerAppKeyEnabledStateChangeListenerpublic AgentConfiguration build()
Instrumentation