BatchRequest Class
- java.
lang. Object - com.
azure. ai. translation. document. models. BatchRequest
- com.
public final class BatchRequest
Definition for the input batch translation request.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchRequest(SourceInput source, List<TargetInput> targets) |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Source |
getSource()
Get the source property: Source of the input documents. |
|
Storage |
getStorageType()
Get the storage |
|
List<Target |
getTargets()
Get the targets property: Location of the destination for the output. |
|
Batch |
setStorageType(StorageInputType storageType)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
BatchRequest
public BatchRequest(SourceInput source, List<TargetInput> targets)
Creates an instance of BatchRequest class.
Parameters:
Method Details
getSource
public SourceInput getSource()
Get the source property: Source of the input documents.
Returns:
getStorageType
public StorageInputType getStorageType()
Get the storageType property: Storage type of the input documents source string.
Returns:
getTargets
public List<TargetInput> getTargets()
Get the targets property: Location of the destination for the output.
Returns:
setStorageType
public BatchRequest setStorageType(StorageInputType storageType)
Set the storageType property: Storage type of the input documents source string.
Parameters:
Returns: