TelemetryEndpoint Class

  • java.lang.Object
    • com.azure.ai.agents.models.TelemetryEndpoint

Implements

public class TelemetryEndpoint
implements JsonSerializable<TelemetryEndpoint>

A telemetry export endpoint configuration.

Constructor Summary

Constructor Description
TelemetryEndpoint(List<TelemetryDataKind> data)

Creates an instance of TelemetryEndpoint class.

Method Summary

Modifier and Type Method and Description
static TelemetryEndpoint fromJson(JsonReader jsonReader)

Reads an instance of TelemetryEndpoint from the JsonReader.

TelemetryEndpointAuth getAuth()

Get the auth property: Optional authentication configuration.

List<TelemetryDataKind> getData()

Get the data property: Data types to export to this endpoint.

TelemetryEndpointKind getKind()

Get the kind property: The telemetry export endpoint kind.

TelemetryEndpoint setAuth(TelemetryEndpointAuth auth)

Set the auth property: Optional authentication configuration.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

TelemetryEndpoint

public TelemetryEndpoint(List<TelemetryDataKind> data)

Creates an instance of TelemetryEndpoint class.

Parameters:

data - the data value to set.

Method Details

fromJson

public static TelemetryEndpoint fromJson(JsonReader jsonReader)

Reads an instance of TelemetryEndpoint from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TelemetryEndpoint if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getAuth

public TelemetryEndpointAuth getAuth()

Get the auth property: Optional authentication configuration.

Returns:

the auth value.

getData

public List<TelemetryDataKind> getData()

Get the data property: Data types to export to this endpoint. Use an empty array to export no data.

Returns:

the data value.

getKind

public TelemetryEndpointKind getKind()

Get the kind property: The telemetry export endpoint kind.

Returns:

the kind value.

setAuth

public TelemetryEndpoint setAuth(TelemetryEndpointAuth auth)

Set the auth property: Optional authentication configuration.

Parameters:

auth - the auth value to set.

Returns:

the TelemetryEndpoint object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to