Class GetMedicalVocabularyResponse
- 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.GetMedicalVocabularyResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetMedicalVocabularyResponse.Builder,GetMedicalVocabularyResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetMedicalVocabularyResponse extends TranscribeResponse implements ToCopyableBuilder<GetMedicalVocabularyResponse.Builder,GetMedicalVocabularyResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetMedicalVocabularyResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMedicalVocabularyResponse.Builderbuilder()StringdownloadUri()The Amazon S3 location where the specified custom medical 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 medical vocabulary request failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LanguageCodelanguageCode()The language code you selected for your custom medical vocabulary.StringlanguageCodeAsString()The language code you selected for your custom medical vocabulary.InstantlastModifiedTime()The date and time the specified custom medical vocabulary was last modified.List<SdkField<?>>sdkFields()static Class<? extends GetMedicalVocabularyResponse.Builder>serializableBuilderClass()GetMedicalVocabularyResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvocabularyName()The name of the custom medical vocabulary you requested information about.VocabularyStatevocabularyState()The processing state of your custom medical vocabulary.StringvocabularyStateAsString()The processing state of your custom medical 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 medical vocabulary you requested information about.
- Returns:
- The name of the custom medical vocabulary you requested information about.
-
languageCode
public final LanguageCode languageCode()
The language code you selected for your custom medical vocabulary. US English (
en-US) is the only language supported with Amazon Transcribe Medical.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 medical vocabulary. US English (
en-US) is the only language supported with Amazon Transcribe Medical. - See Also:
LanguageCode
-
languageCodeAsString
public final String languageCodeAsString()
The language code you selected for your custom medical vocabulary. US English (
en-US) is the only language supported with Amazon Transcribe Medical.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 medical vocabulary. US English (
en-US) is the only language supported with Amazon Transcribe Medical. - See Also:
LanguageCode
-
vocabularyState
public final VocabularyState vocabularyState()
The processing state of your custom medical vocabulary. If the state is
READY, you can use the custom vocabulary in aStartMedicalTranscriptionJobrequest.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 medical vocabulary. If the state is
READY, you can use the custom vocabulary in aStartMedicalTranscriptionJobrequest. - See Also:
VocabularyState
-
vocabularyStateAsString
public final String vocabularyStateAsString()
The processing state of your custom medical vocabulary. If the state is
READY, you can use the custom vocabulary in aStartMedicalTranscriptionJobrequest.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 medical vocabulary. If the state is
READY, you can use the custom vocabulary in aStartMedicalTranscriptionJobrequest. - See Also:
VocabularyState
-
lastModifiedTime
public final Instant lastModifiedTime()
The date and time the specified custom medical 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 medical 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 medical vocabulary request failed. See also: Common Errors.- Returns:
- If
VocabularyStateisFAILED,FailureReasoncontains information about why the custom medical vocabulary request failed. See also: Common Errors.
-
downloadUri
public final String downloadUri()
The Amazon S3 location where the specified custom medical vocabulary is stored; use this URI to view or download the custom vocabulary.
- Returns:
- The Amazon S3 location where the specified custom medical vocabulary is stored; use this URI to view or download the custom vocabulary.
-
toBuilder
public GetMedicalVocabularyResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetMedicalVocabularyResponse.Builder,GetMedicalVocabularyResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetMedicalVocabularyResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMedicalVocabularyResponse.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
-
-