Class UploadLogsOptions
java.lang.Object
com.azure.monitor.ingestion.models.UploadLogsOptions
The options model to configure the request to upload logs to Azure Monitor.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the max concurrent requests to send to the Azure Monitor service when uploading logs.Returns the serializer to use to convert the log objects to JSON.setMaxConcurrency
(Integer maxConcurrency) Sets the max concurrent requests to send to the Azure Monitor service when uploading logs.setObjectSerializer
(ObjectSerializer objectSerializer) Sets the serializer to use to convert the log objects to JSON.
-
Constructor Details
-
UploadLogsOptions
public UploadLogsOptions()
-
-
Method Details
-
getObjectSerializer
Returns the serializer to use to convert the log objects to JSON.- Returns:
- the serializer to use to convert the log objects to JSON.
-
setObjectSerializer
Sets the serializer to use to convert the log objects to JSON.- Parameters:
objectSerializer
- the serializer to use to convert the log objects to JSON.- Returns:
- the update
UploadLogsOptions
instance.
-
getMaxConcurrency
Returns the max concurrent requests to send to the Azure Monitor service when uploading logs.- Returns:
- the max concurrent requests to send to the Azure Monitor service when uploading logs.
-
setMaxConcurrency
Sets the max concurrent requests to send to the Azure Monitor service when uploading logs.- Parameters:
maxConcurrency
- the max concurrent requests to send to the Azure Monitor service when uploading logs.- Returns:
- the update
UploadLogsOptions
instance.
-