BatchTaskBulkCreateOptions Class

  • java.lang.Object
    • com.azure.compute.batch.models.BatchTaskBulkCreateOptions

public class BatchTaskBulkCreateOptions

Optional parameters for Create Tasks operation.

Constructor Summary

Constructor Description
BatchTaskBulkCreateOptions()

Initializes a new instance of the BatchTaskBulkCreateOptions class.

Method Summary

Modifier and Type Method and Description
Integer getMaxConcurrency()

Gets the maximum number of concurrent tasks enabled by this BatchTaskBulkCreateOptions instance.

BatchTaskBulkCreateOptions setMaxConcurrency(Integer maxConcurrency)

Sets the maximum number of concurrent tasks enabled by this BatchTaskBulkCreateOptions instance.

Methods inherited from java.lang.Object

Constructor Details

BatchTaskBulkCreateOptions

public BatchTaskBulkCreateOptions()

Initializes a new instance of the BatchTaskBulkCreateOptions class.

Method Details

getMaxConcurrency

public Integer getMaxConcurrency()

Gets the maximum number of concurrent tasks enabled by this BatchTaskBulkCreateOptions instance. If not set, it returns null, indicating no specific limit is set.

Returns:

The maximum number of concurrent tasks or null if not set.

setMaxConcurrency

public BatchTaskBulkCreateOptions setMaxConcurrency(Integer maxConcurrency)

Sets the maximum number of concurrent tasks enabled by this BatchTaskBulkCreateOptions instance. Pass null to make the maximum degree of parallelism optional.

Parameters:

maxConcurrency - the maximum number of concurrent tasks or null.

Returns:

Applies to