Class UploadLogsOptions

java.lang.Object
com.azure.monitor.ingestion.models.UploadLogsOptions

public final class UploadLogsOptions extends Object
The options model to configure the request to upload logs to Azure Monitor.
  • 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

      public Integer 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

      public UploadLogsOptions setMaxConcurrency(Integer maxConcurrency)
      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.