Interface SyncItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SyncItem.Builder,,SyncItem> SdkBuilder<SyncItem.Builder,,SyncItem> SdkPojo
- Enclosing class:
SyncItem
-
Method Summary
Modifier and TypeMethodDescriptionchannelLabel(String channelLabel) The audio channel this item came from (ch_0orch_1).The word or punctuation mark.The time, in seconds from the start of your audio, when this item ends.The position of this item in the transcript, starting at 0.languageCode(String languageCode) The language of this item, as a locale (for example,en-US).languageCode(SyncLanguageCode languageCode) The language of this item, as a locale (for example,en-US).redactions(Collection<SyncRedaction> redactions) The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item.redactions(Consumer<SyncRedaction.Builder>... redactions) The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item.redactions(SyncRedaction... redactions) The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item.speakerLabel(String speakerLabel) The speaker of this item (for example,spk_0).The time, in seconds from the start of your audio, when this item starts.vocabularyFilterMatch(Boolean vocabularyFilterMatch) Indicates whether this item matched a word in your custom vocabulary filter.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The position of this item in the transcript, starting at 0.
- Parameters:
id- The position of this item in the transcript, starting at 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The word or punctuation mark. In
RedactedResults, Amazon Transcribe replaces redacted words with[PII].- Parameters:
content- The word or punctuation mark. InRedactedResults, Amazon Transcribe replaces redacted words with[PII].- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The time, in seconds from the start of your audio, when this item starts.
- Parameters:
startTime- The time, in seconds from the start of your audio, when this item starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time, in seconds from the start of your audio, when this item ends.
- Parameters:
endTime- The time, in seconds from the start of your audio, when this item ends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageCode
The language of this item, as a locale (for example,
en-US).- Parameters:
languageCode- The language of this item, as a locale (for example,en-US).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The language of this item, as a locale (for example,
en-US).- Parameters:
languageCode- The language of this item, as a locale (for example,en-US).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelLabel
The audio channel this item came from (
ch_0orch_1). Present if you enabledChannelIdentification.Item start and end times are measured from the start of the audio, separately for each channel.
- Parameters:
channelLabel- The audio channel this item came from (ch_0orch_1). Present if you enabledChannelIdentification.Item start and end times are measured from the start of the audio, separately for each channel.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
speakerLabel
The speaker of this item (for example,
spk_0). Present if you enabledShowSpeakerLabels.- Parameters:
speakerLabel- The speaker of this item (for example,spk_0). Present if you enabledShowSpeakerLabels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vocabularyFilterMatch
Indicates whether this item matched a word in your custom vocabulary filter. Present if you included
VocabularyFilterSettings.- Parameters:
vocabularyFilterMatch- Indicates whether this item matched a word in your custom vocabulary filter. Present if you includedVocabularyFilterSettings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redactions
The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item. Present only on redacted items in
RedactedResults.- Parameters:
redactions- The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item. Present only on redacted items inRedactedResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redactions
The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item. Present only on redacted items in
RedactedResults.- Parameters:
redactions- The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item. Present only on redacted items inRedactedResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redactions
The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item. Present only on redacted items in
This is a convenience method that creates an instance of theRedactedResults.SyncRedaction.Builderavoiding the need to create one manually viaSyncRedaction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toredactions(List<SyncRedaction>).- Parameters:
redactions- a consumer that will call methods onSyncRedaction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-