setAgentId method
Use this method to set the name and version of the SDK.
Syntax
IConfigurationSetter configval = config.setAgentId(agentId);
Parameters
- agentId
- Type:String
- The agent id to be configured.
Return value
- Type: IConfigurationSetter
-
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXX
methods of the Configuration class.