Class TaskAddCollectionParameter


  • public class TaskAddCollectionParameter
    extends Object
    A collection of Azure Batch Tasks to add.
    • Constructor Detail

      • TaskAddCollectionParameter

        public TaskAddCollectionParameter()
    • Method Detail

      • value

        public List<TaskAddParameter> value()
        Get the total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each Task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer Tasks.
        Returns:
        the value value
      • withValue

        public TaskAddCollectionParameter withValue​(List<TaskAddParameter> value)
        Set the total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each Task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer Tasks.
        Parameters:
        value - the value value to set
        Returns:
        the TaskAddCollectionParameter object itself.