public static interface StartStreamTranscriptionRequest.Builder extends TranscribeStreamingRequest.Builder, SdkPojo, CopyableBuilder<StartStreamTranscriptionRequest.Builder,StartStreamTranscriptionRequest>
| Modifier and Type | Method and Description |
|---|---|
StartStreamTranscriptionRequest.Builder |
contentIdentificationType(ContentIdentificationType contentIdentificationType)
Set this field to PII to identify personally identifiable information (PII) in the transcription output.
|
StartStreamTranscriptionRequest.Builder |
contentIdentificationType(String contentIdentificationType)
Set this field to PII to identify personally identifiable information (PII) in the transcription output.
|
StartStreamTranscriptionRequest.Builder |
contentRedactionType(ContentRedactionType contentRedactionType)
Set this field to PII to redact personally identifiable information (PII) in the transcription output.
|
StartStreamTranscriptionRequest.Builder |
contentRedactionType(String contentRedactionType)
Set this field to PII to redact personally identifiable information (PII) in the transcription output.
|
StartStreamTranscriptionRequest.Builder |
enableChannelIdentification(Boolean enableChannelIdentification)
When
true, instructs Amazon Transcribe to process each audio channel separately, then merges the
transcription output of each channel into a single transcription. |
StartStreamTranscriptionRequest.Builder |
enablePartialResultsStabilization(Boolean enablePartialResultsStabilization)
When
true, instructs Amazon Transcribe to present transcription results that have the partial
results stabilized. |
StartStreamTranscriptionRequest.Builder |
identifyLanguage(Boolean identifyLanguage)
Optional.
|
StartStreamTranscriptionRequest.Builder |
languageCode(LanguageCode languageCode)
The language code of the input audio stream.
|
StartStreamTranscriptionRequest.Builder |
languageCode(String languageCode)
The language code of the input audio stream.
|
StartStreamTranscriptionRequest.Builder |
languageModelName(String languageModelName)
The name of the language model you want to use.
|
StartStreamTranscriptionRequest.Builder |
languageOptions(String languageOptions)
An object containing a list of languages that might be present in your audio.
|
StartStreamTranscriptionRequest.Builder |
mediaEncoding(MediaEncoding mediaEncoding)
The encoding used for the input audio.
|
StartStreamTranscriptionRequest.Builder |
mediaEncoding(String mediaEncoding)
The encoding used for the input audio.
|
StartStreamTranscriptionRequest.Builder |
mediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate of the input audio (in Hertz).
|
StartStreamTranscriptionRequest.Builder |
numberOfChannels(Integer numberOfChannels)
The number of channels that are in your audio stream.
|
StartStreamTranscriptionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartStreamTranscriptionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartStreamTranscriptionRequest.Builder |
partialResultsStability(PartialResultsStability partialResultsStability)
You can use this field to set the stability level of the transcription results.
|
StartStreamTranscriptionRequest.Builder |
partialResultsStability(String partialResultsStability)
You can use this field to set the stability level of the transcription results.
|
StartStreamTranscriptionRequest.Builder |
piiEntityTypes(String piiEntityTypes)
List the PII entity types you want to identify or redact.
|
StartStreamTranscriptionRequest.Builder |
preferredLanguage(LanguageCode preferredLanguage)
Optional.
|
StartStreamTranscriptionRequest.Builder |
preferredLanguage(String preferredLanguage)
Optional.
|
StartStreamTranscriptionRequest.Builder |
sessionId(String sessionId)
A identifier for the transcription session.
|
StartStreamTranscriptionRequest.Builder |
showSpeakerLabel(Boolean showSpeakerLabel)
When
true, enables speaker identification in your media stream. |
StartStreamTranscriptionRequest.Builder |
vocabularyFilterMethod(String vocabularyFilterMethod)
The manner in which you use your vocabulary filter to filter words in your transcript.
|
StartStreamTranscriptionRequest.Builder |
vocabularyFilterMethod(VocabularyFilterMethod vocabularyFilterMethod)
The manner in which you use your vocabulary filter to filter words in your transcript.
|
StartStreamTranscriptionRequest.Builder |
vocabularyFilterName(String vocabularyFilterName)
The name of the vocabulary filter you want to use with your transcription.
|
StartStreamTranscriptionRequest.Builder |
vocabularyFilterNames(String vocabularyFilterNames)
The names of the vocabulary filters you want to use with your transcription.
|
StartStreamTranscriptionRequest.Builder |
vocabularyName(String vocabularyName)
The name of the custom vocabulary you want to use with your transcription.
|
StartStreamTranscriptionRequest.Builder |
vocabularyNames(String vocabularyNames)
The names of the custom vocabularies you want to use with your transcription.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartStreamTranscriptionRequest.Builder languageCode(String languageCode)
The language code of the input audio stream.
languageCode - The language code of the input audio stream.LanguageCode,
LanguageCodeStartStreamTranscriptionRequest.Builder languageCode(LanguageCode languageCode)
The language code of the input audio stream.
languageCode - The language code of the input audio stream.LanguageCode,
LanguageCodeStartStreamTranscriptionRequest.Builder mediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate of the input audio (in Hertz). Low-quality audio, such as telephone audio, is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must match that of your audio.
mediaSampleRateHertz - The sample rate of the input audio (in Hertz). Low-quality audio, such as telephone audio, is
typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz. Note that
the sample rate you specify must match that of your audio.StartStreamTranscriptionRequest.Builder mediaEncoding(String mediaEncoding)
The encoding used for the input audio.
mediaEncoding - The encoding used for the input audio.MediaEncoding,
MediaEncodingStartStreamTranscriptionRequest.Builder mediaEncoding(MediaEncoding mediaEncoding)
The encoding used for the input audio.
mediaEncoding - The encoding used for the input audio.MediaEncoding,
MediaEncodingStartStreamTranscriptionRequest.Builder vocabularyName(String vocabularyName)
The name of the custom vocabulary you want to use with your transcription.
This operation is not intended for use in conjunction with the IdentifyLanguage operation. If
you're using IdentifyLanguage in your request and want to use one or more custom vocabularies
with your transcription, use the VocabularyNames operation instead.
vocabularyName - The name of the custom vocabulary you want to use with your transcription.
This operation is not intended for use in conjunction with the IdentifyLanguage
operation. If you're using IdentifyLanguage in your request and want to use one or more
custom vocabularies with your transcription, use the VocabularyNames operation instead.
StartStreamTranscriptionRequest.Builder sessionId(String sessionId)
A identifier for the transcription session. Use this parameter when you want to retry a session. If you don't provide a session ID, Amazon Transcribe will generate one for you and return it in the response.
sessionId - A identifier for the transcription session. Use this parameter when you want to retry a session. If
you don't provide a session ID, Amazon Transcribe will generate one for you and return it in the
response.StartStreamTranscriptionRequest.Builder vocabularyFilterName(String vocabularyFilterName)
The name of the vocabulary filter you want to use with your transcription.
This operation is not intended for use in conjunction with the IdentifyLanguage operation. If
you're using IdentifyLanguage in your request and want to use one or more vocabulary filters
with your transcription, use the VocabularyFilterNames operation instead.
vocabularyFilterName - The name of the vocabulary filter you want to use with your transcription.
This operation is not intended for use in conjunction with the IdentifyLanguage
operation. If you're using IdentifyLanguage in your request and want to use one or more
vocabulary filters with your transcription, use the VocabularyFilterNames operation
instead.
StartStreamTranscriptionRequest.Builder vocabularyFilterMethod(String vocabularyFilterMethod)
The manner in which you use your vocabulary filter to filter words in your transcript. Remove
removes filtered words from your transcription results. Mask masks filtered words with a
*** in your transcription results. Tag keeps the filtered words in your
transcription results and tags them. The tag appears as VocabularyFilterMatch equal to
True.
vocabularyFilterMethod - The manner in which you use your vocabulary filter to filter words in your transcript.
Remove removes filtered words from your transcription results. Mask masks
filtered words with a *** in your transcription results. Tag keeps the
filtered words in your transcription results and tags them. The tag appears as
VocabularyFilterMatch equal to True.VocabularyFilterMethod,
VocabularyFilterMethodStartStreamTranscriptionRequest.Builder vocabularyFilterMethod(VocabularyFilterMethod vocabularyFilterMethod)
The manner in which you use your vocabulary filter to filter words in your transcript. Remove
removes filtered words from your transcription results. Mask masks filtered words with a
*** in your transcription results. Tag keeps the filtered words in your
transcription results and tags them. The tag appears as VocabularyFilterMatch equal to
True.
vocabularyFilterMethod - The manner in which you use your vocabulary filter to filter words in your transcript.
Remove removes filtered words from your transcription results. Mask masks
filtered words with a *** in your transcription results. Tag keeps the
filtered words in your transcription results and tags them. The tag appears as
VocabularyFilterMatch equal to True.VocabularyFilterMethod,
VocabularyFilterMethodStartStreamTranscriptionRequest.Builder showSpeakerLabel(Boolean showSpeakerLabel)
When true, enables speaker identification in your media stream.
showSpeakerLabel - When true, enables speaker identification in your media stream.StartStreamTranscriptionRequest.Builder enableChannelIdentification(Boolean enableChannelIdentification)
When true, instructs Amazon Transcribe to process each audio channel separately, then merges the
transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item. An item includes the start time, end time, and any alternative transcriptions.
enableChannelIdentification - When true, instructs Amazon Transcribe to process each audio channel separately, then
merges the transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item. An item includes the start time, end time, and any alternative transcriptions.
StartStreamTranscriptionRequest.Builder numberOfChannels(Integer numberOfChannels)
The number of channels that are in your audio stream.
numberOfChannels - The number of channels that are in your audio stream.StartStreamTranscriptionRequest.Builder enablePartialResultsStabilization(Boolean enablePartialResultsStabilization)
When true, instructs Amazon Transcribe to present transcription results that have the partial
results stabilized. Normally, any word or phrase from one partial result can change in a subsequent partial
result. With partial results stabilization enabled, only the last few words of one partial result can change
in another partial result.
enablePartialResultsStabilization - When true, instructs Amazon Transcribe to present transcription results that have the
partial results stabilized. Normally, any word or phrase from one partial result can change in a
subsequent partial result. With partial results stabilization enabled, only the last few words of one
partial result can change in another partial result.StartStreamTranscriptionRequest.Builder partialResultsStability(String partialResultsStability)
You can use this field to set the stability level of the transcription results. A higher stability level means that the transcription results are less likely to change. Higher stability levels can come with lower overall transcription accuracy.
partialResultsStability - You can use this field to set the stability level of the transcription results. A higher stability
level means that the transcription results are less likely to change. Higher stability levels can come
with lower overall transcription accuracy.PartialResultsStability,
PartialResultsStabilityStartStreamTranscriptionRequest.Builder partialResultsStability(PartialResultsStability partialResultsStability)
You can use this field to set the stability level of the transcription results. A higher stability level means that the transcription results are less likely to change. Higher stability levels can come with lower overall transcription accuracy.
partialResultsStability - You can use this field to set the stability level of the transcription results. A higher stability
level means that the transcription results are less likely to change. Higher stability levels can come
with lower overall transcription accuracy.PartialResultsStability,
PartialResultsStabilityStartStreamTranscriptionRequest.Builder contentIdentificationType(String contentIdentificationType)
Set this field to PII to identify personally identifiable information (PII) in the transcription output. Content identification is performed only upon complete transcription of the audio segments.
You can’t set both ContentIdentificationType and ContentRedactionType in the same
request. If you set both, your request returns a BadRequestException.
contentIdentificationType - Set this field to PII to identify personally identifiable information (PII) in the transcription
output. Content identification is performed only upon complete transcription of the audio
segments.
You can’t set both ContentIdentificationType and ContentRedactionType in the
same request. If you set both, your request returns a BadRequestException.
ContentIdentificationType,
ContentIdentificationTypeStartStreamTranscriptionRequest.Builder contentIdentificationType(ContentIdentificationType contentIdentificationType)
Set this field to PII to identify personally identifiable information (PII) in the transcription output. Content identification is performed only upon complete transcription of the audio segments.
You can’t set both ContentIdentificationType and ContentRedactionType in the same
request. If you set both, your request returns a BadRequestException.
contentIdentificationType - Set this field to PII to identify personally identifiable information (PII) in the transcription
output. Content identification is performed only upon complete transcription of the audio
segments.
You can’t set both ContentIdentificationType and ContentRedactionType in the
same request. If you set both, your request returns a BadRequestException.
ContentIdentificationType,
ContentIdentificationTypeStartStreamTranscriptionRequest.Builder contentRedactionType(String contentRedactionType)
Set this field to PII to redact personally identifiable information (PII) in the transcription output. Content redaction is performed only upon complete transcription of the audio segments.
You can’t set both ContentRedactionType and ContentIdentificationType in the same
request. If you set both, your request returns a BadRequestException.
contentRedactionType - Set this field to PII to redact personally identifiable information (PII) in the transcription output.
Content redaction is performed only upon complete transcription of the audio segments.
You can’t set both ContentRedactionType and ContentIdentificationType in the
same request. If you set both, your request returns a BadRequestException.
ContentRedactionType,
ContentRedactionTypeStartStreamTranscriptionRequest.Builder contentRedactionType(ContentRedactionType contentRedactionType)
Set this field to PII to redact personally identifiable information (PII) in the transcription output. Content redaction is performed only upon complete transcription of the audio segments.
You can’t set both ContentRedactionType and ContentIdentificationType in the same
request. If you set both, your request returns a BadRequestException.
contentRedactionType - Set this field to PII to redact personally identifiable information (PII) in the transcription output.
Content redaction is performed only upon complete transcription of the audio segments.
You can’t set both ContentRedactionType and ContentIdentificationType in the
same request. If you set both, your request returns a BadRequestException.
ContentRedactionType,
ContentRedactionTypeStartStreamTranscriptionRequest.Builder piiEntityTypes(String piiEntityTypes)
List the PII entity types you want to identify or redact. In order to specify entity types, you must have
either ContentIdentificationType or ContentRedactionType enabled.
PIIEntityTypes must be comma-separated; the available values are:
BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER,
CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL,
ADDRESS, NAME, PHONE, SSN, and ALL.
PiiEntityTypes is an optional parameter with a default value of ALL.
piiEntityTypes - List the PII entity types you want to identify or redact. In order to specify entity types, you must
have either ContentIdentificationType or ContentRedactionType enabled.
PIIEntityTypes must be comma-separated; the available values are:
BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER,
CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL,
ADDRESS, NAME, PHONE, SSN, and ALL.
PiiEntityTypes is an optional parameter with a default value of ALL.
StartStreamTranscriptionRequest.Builder languageModelName(String languageModelName)
The name of the language model you want to use.
languageModelName - The name of the language model you want to use.StartStreamTranscriptionRequest.Builder identifyLanguage(Boolean identifyLanguage)
Optional. Set this value to true to enable language identification for your media stream.
identifyLanguage - Optional. Set this value to true to enable language identification for your media stream.StartStreamTranscriptionRequest.Builder languageOptions(String languageOptions)
An object containing a list of languages that might be present in your audio.
You must provide two or more language codes to help Amazon Transcribe identify the correct language of your
media stream with the highest possible accuracy. You can only select one variant per language; for example,
you can't include both en-US and en-UK in the same request.
You can only use this parameter if you've set IdentifyLanguage to truein your
request.
languageOptions - An object containing a list of languages that might be present in your audio.
You must provide two or more language codes to help Amazon Transcribe identify the correct language of
your media stream with the highest possible accuracy. You can only select one variant per language;
for example, you can't include both en-US and en-UK in the same request.
You can only use this parameter if you've set IdentifyLanguage to truein
your request.
StartStreamTranscriptionRequest.Builder preferredLanguage(String preferredLanguage)
Optional. From the subset of languages codes you provided for LanguageOptions, you can select
one preferred language for your transcription.
You can only use this parameter if you've set IdentifyLanguage to truein your
request.
preferredLanguage - Optional. From the subset of languages codes you provided for LanguageOptions, you can
select one preferred language for your transcription.
You can only use this parameter if you've set IdentifyLanguage to truein
your request.
LanguageCode,
LanguageCodeStartStreamTranscriptionRequest.Builder preferredLanguage(LanguageCode preferredLanguage)
Optional. From the subset of languages codes you provided for LanguageOptions, you can select
one preferred language for your transcription.
You can only use this parameter if you've set IdentifyLanguage to truein your
request.
preferredLanguage - Optional. From the subset of languages codes you provided for LanguageOptions, you can
select one preferred language for your transcription.
You can only use this parameter if you've set IdentifyLanguage to truein
your request.
LanguageCode,
LanguageCodeStartStreamTranscriptionRequest.Builder vocabularyNames(String vocabularyNames)
The names of the custom vocabularies you want to use with your transcription.
Note that if the custom vocabularies you specify are in languages that don't match the language identified in your media, your job fails.
This operation is only intended for use in conjunction with the IdentifyLanguage operation. If
you're not using IdentifyLanguage in your request and want to use a custom vocabulary with your
transcription, use the VocabularyName operation instead.
vocabularyNames - The names of the custom vocabularies you want to use with your transcription.
Note that if the custom vocabularies you specify are in languages that don't match the language identified in your media, your job fails.
This operation is only intended for use in conjunction with the IdentifyLanguage
operation. If you're not using IdentifyLanguage in your request and want to use a custom
vocabulary with your transcription, use the VocabularyName operation instead.
StartStreamTranscriptionRequest.Builder vocabularyFilterNames(String vocabularyFilterNames)
The names of the vocabulary filters you want to use with your transcription.
Note that if the vocabulary filters you specify are in languages that don't match the language identified in your media, your job fails.
This operation is only intended for use in conjunction with the IdentifyLanguage operation. If
you're not using IdentifyLanguage in your request and want to use a vocabulary filter with your
transcription, use the VocabularyFilterName operation instead.
vocabularyFilterNames - The names of the vocabulary filters you want to use with your transcription.
Note that if the vocabulary filters you specify are in languages that don't match the language identified in your media, your job fails.
This operation is only intended for use in conjunction with the IdentifyLanguage
operation. If you're not using IdentifyLanguage in your request and want to use a
vocabulary filter with your transcription, use the VocabularyFilterName operation
instead.
StartStreamTranscriptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartStreamTranscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.