TaskAddCollectionParameter Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.TaskAddCollectionParameter

public class TaskAddCollectionParameter

A collection of Azure Batch tasks to add.

Method Summary

Modifier and Type Method and Description
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.

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.

Method Details

value

public List 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 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.

Applies to