public final class Endpoint
extends java.lang.Object
Constructor and Description |
---|
Endpoint(java.lang.String connectionDescriptor,
java.lang.String userAgent)
Creates an endpoint.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConnectionDescriptor()
Gets the connection descriptor.
|
java.lang.String |
getUserAgent()
Gets the user agent.
|
public Endpoint(java.lang.String connectionDescriptor, java.lang.String userAgent)
connectionDescriptor
- A Tableau endpoint descriptor of the format "tab.protocol://address".userAgent
- A user agent string, which will be used in telemetry (if enabled) and logging.