Class StartStreamTranscriptionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.transcribestreaming.model.TranscribeStreamingResponse
-
- software.amazon.awssdk.services.transcribestreaming.model.StartStreamTranscriptionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartStreamTranscriptionResponse.Builder,StartStreamTranscriptionResponse>
@Generated("software.amazon.awssdk:codegen") public final class StartStreamTranscriptionResponse extends TranscribeStreamingResponse implements ToCopyableBuilder<StartStreamTranscriptionResponse.Builder,StartStreamTranscriptionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartStreamTranscriptionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartStreamTranscriptionResponse.Builderbuilder()ContentIdentificationTypecontentIdentificationType()Shows whether content identification was enabled for your transcription.StringcontentIdentificationTypeAsString()Shows whether content identification was enabled for your transcription.ContentRedactionTypecontentRedactionType()Shows whether content redaction was enabled for your transcription.StringcontentRedactionTypeAsString()Shows whether content redaction was enabled for your transcription.BooleanenableChannelIdentification()Shows whether channel identification was enabled for your transcription.BooleanenablePartialResultsStabilization()Shows whether partial results stabilization was enabled for your transcription.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanidentifyLanguage()Shows whether automatic language identification was enabled for your transcription.BooleanidentifyMultipleLanguages()Shows whether automatic multi-language identification was enabled for your transcription.LanguageCodelanguageCode()Provides the language code that you specified in your request.StringlanguageCodeAsString()Provides the language code that you specified in your request.StringlanguageModelName()Provides the name of the custom language model that you specified in your request.StringlanguageOptions()Provides the language codes that you specified in your request.MediaEncodingmediaEncoding()Provides the media encoding you specified in your request.StringmediaEncodingAsString()Provides the media encoding you specified in your request.IntegermediaSampleRateHertz()Provides the sample rate that you specified in your request.IntegernumberOfChannels()Provides the number of channels that you specified in your request.PartialResultsStabilitypartialResultsStability()Provides the stabilization level used for your transcription.StringpartialResultsStabilityAsString()Provides the stabilization level used for your transcription.StringpiiEntityTypes()Lists the PII entity types you specified in your request.LanguageCodepreferredLanguage()Provides the preferred language that you specified in your request.StringpreferredLanguageAsString()Provides the preferred language that you specified in your request.StringrequestId()Provides the identifier for your streaming request.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartStreamTranscriptionResponse.Builder>serializableBuilderClass()StringsessionId()Provides the identifier for your transcription session.BooleanshowSpeakerLabel()Shows whether speaker partitioning was enabled for your transcription.StartStreamTranscriptionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.VocabularyFilterMethodvocabularyFilterMethod()Provides the vocabulary filtering method used in your transcription.StringvocabularyFilterMethodAsString()Provides the vocabulary filtering method used in your transcription.StringvocabularyFilterName()Provides the name of the custom vocabulary filter that you specified in your request.StringvocabularyFilterNames()Provides the names of the custom vocabulary filters that you specified in your request.StringvocabularyName()Provides the name of the custom vocabulary that you specified in your request.StringvocabularyNames()Provides the names of the custom vocabularies that you specified in your request.-
Methods inherited from class software.amazon.awssdk.services.transcribestreaming.model.TranscribeStreamingResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
requestId
public final String requestId()
Provides the identifier for your streaming request.
- Returns:
- Provides the identifier for your streaming request.
-
languageCode
public final LanguageCode languageCode()
Provides the language code that you specified in your request.
If the service returns an enum value that is not available in the current SDK version,
languageCodewill returnLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- Provides the language code that you specified in your request.
- See Also:
LanguageCode
-
languageCodeAsString
public final String languageCodeAsString()
Provides the language code that you specified in your request.
If the service returns an enum value that is not available in the current SDK version,
languageCodewill returnLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- Provides the language code that you specified in your request.
- See Also:
LanguageCode
-
mediaSampleRateHertz
public final Integer mediaSampleRateHertz()
Provides the sample rate that you specified in your request.
- Returns:
- Provides the sample rate that you specified in your request.
-
mediaEncoding
public final MediaEncoding mediaEncoding()
Provides the media encoding you specified in your request.
If the service returns an enum value that is not available in the current SDK version,
mediaEncodingwill returnMediaEncoding.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommediaEncodingAsString().- Returns:
- Provides the media encoding you specified in your request.
- See Also:
MediaEncoding
-
mediaEncodingAsString
public final String mediaEncodingAsString()
Provides the media encoding you specified in your request.
If the service returns an enum value that is not available in the current SDK version,
mediaEncodingwill returnMediaEncoding.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommediaEncodingAsString().- Returns:
- Provides the media encoding you specified in your request.
- See Also:
MediaEncoding
-
vocabularyName
public final String vocabularyName()
Provides the name of the custom vocabulary that you specified in your request.
- Returns:
- Provides the name of the custom vocabulary that you specified in your request.
-
sessionId
public final String sessionId()
Provides the identifier for your transcription session.
- Returns:
- Provides the identifier for your transcription session.
-
vocabularyFilterName
public final String vocabularyFilterName()
Provides the name of the custom vocabulary filter that you specified in your request.
- Returns:
- Provides the name of the custom vocabulary filter that you specified in your request.
-
vocabularyFilterMethod
public final VocabularyFilterMethod vocabularyFilterMethod()
Provides the vocabulary filtering method used in your transcription.
If the service returns an enum value that is not available in the current SDK version,
vocabularyFilterMethodwill returnVocabularyFilterMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvocabularyFilterMethodAsString().- Returns:
- Provides the vocabulary filtering method used in your transcription.
- See Also:
VocabularyFilterMethod
-
vocabularyFilterMethodAsString
public final String vocabularyFilterMethodAsString()
Provides the vocabulary filtering method used in your transcription.
If the service returns an enum value that is not available in the current SDK version,
vocabularyFilterMethodwill returnVocabularyFilterMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvocabularyFilterMethodAsString().- Returns:
- Provides the vocabulary filtering method used in your transcription.
- See Also:
VocabularyFilterMethod
-
showSpeakerLabel
public final Boolean showSpeakerLabel()
Shows whether speaker partitioning was enabled for your transcription.
- Returns:
- Shows whether speaker partitioning was enabled for your transcription.
-
enableChannelIdentification
public final Boolean enableChannelIdentification()
Shows whether channel identification was enabled for your transcription.
- Returns:
- Shows whether channel identification was enabled for your transcription.
-
numberOfChannels
public final Integer numberOfChannels()
Provides the number of channels that you specified in your request.
- Returns:
- Provides the number of channels that you specified in your request.
-
enablePartialResultsStabilization
public final Boolean enablePartialResultsStabilization()
Shows whether partial results stabilization was enabled for your transcription.
- Returns:
- Shows whether partial results stabilization was enabled for your transcription.
-
partialResultsStability
public final PartialResultsStability partialResultsStability()
Provides the stabilization level used for your transcription.
If the service returns an enum value that is not available in the current SDK version,
partialResultsStabilitywill returnPartialResultsStability.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompartialResultsStabilityAsString().- Returns:
- Provides the stabilization level used for your transcription.
- See Also:
PartialResultsStability
-
partialResultsStabilityAsString
public final String partialResultsStabilityAsString()
Provides the stabilization level used for your transcription.
If the service returns an enum value that is not available in the current SDK version,
partialResultsStabilitywill returnPartialResultsStability.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompartialResultsStabilityAsString().- Returns:
- Provides the stabilization level used for your transcription.
- See Also:
PartialResultsStability
-
contentIdentificationType
public final ContentIdentificationType contentIdentificationType()
Shows whether content identification was enabled for your transcription.
If the service returns an enum value that is not available in the current SDK version,
contentIdentificationTypewill returnContentIdentificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentIdentificationTypeAsString().- Returns:
- Shows whether content identification was enabled for your transcription.
- See Also:
ContentIdentificationType
-
contentIdentificationTypeAsString
public final String contentIdentificationTypeAsString()
Shows whether content identification was enabled for your transcription.
If the service returns an enum value that is not available in the current SDK version,
contentIdentificationTypewill returnContentIdentificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentIdentificationTypeAsString().- Returns:
- Shows whether content identification was enabled for your transcription.
- See Also:
ContentIdentificationType
-
contentRedactionType
public final ContentRedactionType contentRedactionType()
Shows whether content redaction was enabled for your transcription.
If the service returns an enum value that is not available in the current SDK version,
contentRedactionTypewill returnContentRedactionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentRedactionTypeAsString().- Returns:
- Shows whether content redaction was enabled for your transcription.
- See Also:
ContentRedactionType
-
contentRedactionTypeAsString
public final String contentRedactionTypeAsString()
Shows whether content redaction was enabled for your transcription.
If the service returns an enum value that is not available in the current SDK version,
contentRedactionTypewill returnContentRedactionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentRedactionTypeAsString().- Returns:
- Shows whether content redaction was enabled for your transcription.
- See Also:
ContentRedactionType
-
piiEntityTypes
public final String piiEntityTypes()
Lists the PII entity types you specified in your request.
- Returns:
- Lists the PII entity types you specified in your request.
-
languageModelName
public final String languageModelName()
Provides the name of the custom language model that you specified in your request.
- Returns:
- Provides the name of the custom language model that you specified in your request.
-
identifyLanguage
public final Boolean identifyLanguage()
Shows whether automatic language identification was enabled for your transcription.
- Returns:
- Shows whether automatic language identification was enabled for your transcription.
-
languageOptions
public final String languageOptions()
Provides the language codes that you specified in your request.
- Returns:
- Provides the language codes that you specified in your request.
-
preferredLanguage
public final LanguageCode preferredLanguage()
Provides the preferred language that you specified in your request.
If the service returns an enum value that is not available in the current SDK version,
preferredLanguagewill returnLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompreferredLanguageAsString().- Returns:
- Provides the preferred language that you specified in your request.
- See Also:
LanguageCode
-
preferredLanguageAsString
public final String preferredLanguageAsString()
Provides the preferred language that you specified in your request.
If the service returns an enum value that is not available in the current SDK version,
preferredLanguagewill returnLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompreferredLanguageAsString().- Returns:
- Provides the preferred language that you specified in your request.
- See Also:
LanguageCode
-
identifyMultipleLanguages
public final Boolean identifyMultipleLanguages()
Shows whether automatic multi-language identification was enabled for your transcription.
- Returns:
- Shows whether automatic multi-language identification was enabled for your transcription.
-
vocabularyNames
public final String vocabularyNames()
Provides the names of the custom vocabularies that you specified in your request.
- Returns:
- Provides the names of the custom vocabularies that you specified in your request.
-
vocabularyFilterNames
public final String vocabularyFilterNames()
Provides the names of the custom vocabulary filters that you specified in your request.
- Returns:
- Provides the names of the custom vocabulary filters that you specified in your request.
-
toBuilder
public StartStreamTranscriptionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartStreamTranscriptionResponse.Builder,StartStreamTranscriptionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static StartStreamTranscriptionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartStreamTranscriptionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-