TaskAddCollectionParameter Class

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

public class TaskAddCollectionParameter

A collection of Azure Batch Tasks to add.

Constructor Summary

Constructor Description
TaskAddCollectionParameter()

Method Summary

Modifier and Type Method and Description
List<TaskAddParameter> value()

Get the total serialized size of this collection must be less than 1MB.

TaskAddCollectionParameter withValue(List<TaskAddParameter> value)

Set the total serialized size of this collection must be less than 1MB.

Methods inherited from java.lang.Object

Constructor Details

TaskAddCollectionParameter

public TaskAddCollectionParameter()

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