StartTranscriptionOptions Class

  • java.lang.Object
    • com.azure.communication.callautomation.models.StartTranscriptionOptions

public final class StartTranscriptionOptions

Options for the Start Transcription operation.

Constructor Summary

Constructor Description
StartTranscriptionOptions()

Creates an instance of StartTranscriptionOptions.

Method Summary

Modifier and Type Method and Description
String getLocale()

Get the locale.

String getOperationContext()

Get the operation context.

String getSpeechRecognitionModelEndpointId()

Get the speechRecognitionModelEndpointId property: Endpoint where the custom model was deployed.

StartTranscriptionOptions setLocale(String locale)

Sets the locale.

StartTranscriptionOptions setOperationContext(String operationContext)

Sets the operation context.

StartTranscriptionOptions setSpeechRecognitionModelEndpointId(String speechRecognitionModelEndpointId)

Set the speechRecognitionModelEndpointId property: Endpoint where the custom model was deployed.

Methods inherited from java.lang.Object

Constructor Details

StartTranscriptionOptions

public StartTranscriptionOptions()

Creates an instance of StartTranscriptionOptions.

Method Details

getLocale

public String getLocale()

Get the locale.

Returns:

locale.

getOperationContext

public String getOperationContext()

Get the operation context.

Returns:

operation context.

getSpeechRecognitionModelEndpointId

public String getSpeechRecognitionModelEndpointId()

Get the speechRecognitionModelEndpointId property: Endpoint where the custom model was deployed.

Returns:

the speechRecognitionModelEndpointId value.

setLocale

public StartTranscriptionOptions setLocale(String locale)

Sets the locale.

Parameters:

locale - the incoming locale

Returns:

The StartTranscriptionOptions object.

setOperationContext

public StartTranscriptionOptions setOperationContext(String operationContext)

Sets the operation context.

Parameters:

operationContext - Operation Context

Returns:

The StartTranscriptionOptions object.

setSpeechRecognitionModelEndpointId

public StartTranscriptionOptions setSpeechRecognitionModelEndpointId(String speechRecognitionModelEndpointId)

Set the speechRecognitionModelEndpointId property: Endpoint where the custom model was deployed.

Parameters:

speechRecognitionModelEndpointId - the speechRecognitionModelEndpointId value to set.

Returns:

the StartTranscriptionOptions object itself.

Applies to