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.com.azure.core.util.serializer.ObjectSerializer
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
(com.azure.core.util.serializer.ObjectSerializer objectSerializer) Sets the serializer to use to convert the log objects to JSON.
-
Constructor Details
-
UploadLogsOptions
public UploadLogsOptions()
-
-
Method Details
-
getObjectSerializer
public com.azure.core.util.serializer.ObjectSerializer 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
public UploadLogsOptions setObjectSerializer(com.azure.core.util.serializer.ObjectSerializer objectSerializer) 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.
-