public static class CaptionProperties.Builder
extends java.lang.Object
CaptionProperties| Modifier and Type | Method and Description |
|---|---|
CaptionProperties |
build()
Builds the CaptionProperties object.
|
CaptionProperties.Builder |
languageCode(java.lang.String languageCode)
The BCP-47 code for a spoken language used on this call.
|
CaptionProperties.Builder |
maxDuration(int maxDuration)
The maximum duration for the audio captioning, in seconds.
|
CaptionProperties.Builder |
partialCaptions(boolean partialCaptions)
Whether to enable this to faster captioning at the cost of some degree of inaccuracies.
|
CaptionProperties.Builder |
statusCallbackUrl(java.lang.String statusCallbackUrl)
A publicly reachable URL controlled by the customer and capable of generating the content to
be rendered without user intervention.
|
public CaptionProperties.Builder languageCode(java.lang.String languageCode)
languageCode - The BCP-47 language code as a string.public CaptionProperties.Builder statusCallbackUrl(java.lang.String statusCallbackUrl)
statusCallbackUrl - The status callback URL as a string.public CaptionProperties.Builder maxDuration(int maxDuration)
maxDuration - The maximum captions duration in seconds.public CaptionProperties.Builder partialCaptions(boolean partialCaptions)
true.partialCaptions - Whether to enable faster captions.public CaptionProperties build()