Class UploadBatchServiceLogsConfiguration


  • public class UploadBatchServiceLogsConfiguration
    extends Object
    The Azure Batch service log files upload configuration for a Compute Node.
    • Constructor Detail

      • UploadBatchServiceLogsConfiguration

        public UploadBatchServiceLogsConfiguration()
    • Method Detail

      • containerUrl

        public String containerUrl()
        Get the URL must include a Shared Access Signature (SAS) granting write permissions to the container. The SAS duration must allow enough time for the upload to finish. The start time for SAS is optional and recommended to not be specified.
        Returns:
        the containerUrl value
      • withContainerUrl

        public UploadBatchServiceLogsConfiguration withContainerUrl​(String containerUrl)
        Set the URL must include a Shared Access Signature (SAS) granting write permissions to the container. The SAS duration must allow enough time for the upload to finish. The start time for SAS is optional and recommended to not be specified.
        Parameters:
        containerUrl - the containerUrl value to set
        Returns:
        the UploadBatchServiceLogsConfiguration object itself.
      • startTime

        public org.joda.time.DateTime startTime()
        Get any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested.
        Returns:
        the startTime value
      • withStartTime

        public UploadBatchServiceLogsConfiguration withStartTime​(org.joda.time.DateTime startTime)
        Set any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested.
        Parameters:
        startTime - the startTime value to set
        Returns:
        the UploadBatchServiceLogsConfiguration object itself.
      • endTime

        public org.joda.time.DateTime endTime()
        Get any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime.
        Returns:
        the endTime value
      • withEndTime

        public UploadBatchServiceLogsConfiguration withEndTime​(org.joda.time.DateTime endTime)
        Set any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime.
        Parameters:
        endTime - the endTime value to set
        Returns:
        the UploadBatchServiceLogsConfiguration object itself.