UpdateTranscriptionOptions Class

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

public final class UpdateTranscriptionOptions

Options for the Update Transcription operation.

Constructor Summary

Constructor Description
UpdateTranscriptionOptions()

Creates an instance of UpdateTranscriptionOptions.

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.

UpdateTranscriptionOptions setLocale(String locale)

Sets the locale.

UpdateTranscriptionOptions setOperationContext(String operationContext)

Sets the operation context.

UpdateTranscriptionOptions setSpeechRecognitionModelEndpointId(String speechRecognitionModelEndpointId)

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

Methods inherited from java.lang.Object

Constructor Details

UpdateTranscriptionOptions

public UpdateTranscriptionOptions()

Creates an instance of UpdateTranscriptionOptions.

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 UpdateTranscriptionOptions setLocale(String locale)

Sets the locale.

Parameters:

locale - the incoming locale

Returns:

The UpdateTranscriptionOptions object.

setOperationContext

public UpdateTranscriptionOptions setOperationContext(String operationContext)

Sets the operation context.

Parameters:

operationContext - Operation Context

Returns:

The UpdateTranscriptionOptions object.

setSpeechRecognitionModelEndpointId

public UpdateTranscriptionOptions setSpeechRecognitionModelEndpointId(String speechRecognitionModelEndpointId)

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

Parameters:

speechRecognitionModelEndpointId - the speechRecognitionModelEndpointId value to set.

Returns:

the UpdateTranscriptionOptions object itself.

Applies to