Class CreateVocabularyResponse
- 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.CreateVocabularyResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateVocabularyResponse.Builder,CreateVocabularyResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateVocabularyResponse extends TranscribeResponse implements ToCopyableBuilder<CreateVocabularyResponse.Builder,CreateVocabularyResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateVocabularyResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateVocabularyResponse.Builderbuilder()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 you created your custom vocabulary.List<SdkField<?>>sdkFields()static Class<? extends CreateVocabularyResponse.Builder>serializableBuilderClass()CreateVocabularyResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvocabularyName()The name you chose for your custom vocabulary.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 you chose for your custom vocabulary.
- Returns:
- The name you chose for your custom vocabulary.
-
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 you created your custom vocabulary.
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 you created your custom vocabulary.
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.
-
toBuilder
public CreateVocabularyResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateVocabularyResponse.Builder,CreateVocabularyResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateVocabularyResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateVocabularyResponse.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
-
-