Class GetVocabularyResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.transcribe.model.TranscribeResponse
-
- software.amazon.awssdk.services.transcribe.model.GetVocabularyResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetVocabularyResponse.Builder,GetVocabularyResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetVocabularyResponse extends TranscribeResponse implements ToCopyableBuilder<GetVocabularyResponse.Builder,GetVocabularyResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetVocabularyResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetVocabularyResponse.Builderbuilder()StringdownloadUri()The Amazon S3 location where the custom vocabulary is stored; use this URI to view or download the custom vocabulary.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()IfVocabularyStateisFAILED,FailureReasoncontains information about why the custom vocabulary request failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LanguageCodelanguageCode()The language code you selected for your custom vocabulary.StringlanguageCodeAsString()The language code you selected for your custom vocabulary.InstantlastModifiedTime()The date and time the specified custom vocabulary was last modified.List<SdkField<?>>sdkFields()static Class<? extends GetVocabularyResponse.Builder>serializableBuilderClass()GetVocabularyResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvocabularyName()The name of the custom vocabulary you requested information about.VocabularyStatevocabularyState()The processing state of your custom vocabulary.StringvocabularyStateAsString()The processing state of your custom vocabulary.-
Methods inherited from class software.amazon.awssdk.services.transcribe.model.TranscribeResponse
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
-
vocabularyName
public final String vocabularyName()
The name of the custom vocabulary you requested information about.
- Returns:
- The name of the custom vocabulary you requested information about.
-
languageCode
public final LanguageCode languageCode()
The language code you selected for your custom vocabulary.
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:
- The language code you selected for your custom vocabulary.
- See Also:
LanguageCode
-
languageCodeAsString
public final String languageCodeAsString()
The language code you selected for your custom vocabulary.
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:
- The language code you selected for your custom vocabulary.
- See Also:
LanguageCode
-
vocabularyState
public final VocabularyState vocabularyState()
The processing state of your custom vocabulary. If the state is
READY, you can use the custom vocabulary in aStartTranscriptionJobrequest.If the service returns an enum value that is not available in the current SDK version,
vocabularyStatewill returnVocabularyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvocabularyStateAsString().- Returns:
- The processing state of your custom vocabulary. If the state is
READY, you can use the custom vocabulary in aStartTranscriptionJobrequest. - See Also:
VocabularyState
-
vocabularyStateAsString
public final String vocabularyStateAsString()
The processing state of your custom vocabulary. If the state is
READY, you can use the custom vocabulary in aStartTranscriptionJobrequest.If the service returns an enum value that is not available in the current SDK version,
vocabularyStatewill returnVocabularyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvocabularyStateAsString().- Returns:
- The processing state of your custom vocabulary. If the state is
READY, you can use the custom vocabulary in aStartTranscriptionJobrequest. - See Also:
VocabularyState
-
lastModifiedTime
public final Instant lastModifiedTime()
The date and time the specified custom vocabulary was last modified.
Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.761000-07:00represents 12:32 PM UTC-7 on May 4, 2022.- Returns:
- The date and time the specified custom vocabulary was last modified.
Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.761000-07:00represents 12:32 PM UTC-7 on May 4, 2022.
-
failureReason
public final String failureReason()
If
VocabularyStateisFAILED,FailureReasoncontains information about why the custom vocabulary request failed. See also: Common Errors.- Returns:
- If
VocabularyStateisFAILED,FailureReasoncontains information about why the custom vocabulary request failed. See also: Common Errors.
-
downloadUri
public final String downloadUri()
The Amazon S3 location where the custom vocabulary is stored; use this URI to view or download the custom vocabulary.
- Returns:
- The Amazon S3 location where the custom vocabulary is stored; use this URI to view or download the custom vocabulary.
-
toBuilder
public GetVocabularyResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetVocabularyResponse.Builder,GetVocabularyResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetVocabularyResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetVocabularyResponse.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
-
-