@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VocabularyInfo extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a custom vocabulary, including the language of the vocabulary, when it was last modified, its name, and the processing state.
Constructor and Description |
---|
VocabularyInfo() |
Modifier and Type | Method and Description |
---|---|
VocabularyInfo |
clone() |
boolean |
equals(Object obj) |
String |
getLanguageCode()
The language code used to create your custom vocabulary.
|
Date |
getLastModifiedTime()
The date and time the specified vocabulary was last modified.
|
String |
getVocabularyName()
A unique name, chosen by you, for your custom vocabulary.
|
String |
getVocabularyState()
The processing state of your custom vocabulary.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLanguageCode(String languageCode)
The language code used to create your custom vocabulary.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time the specified vocabulary was last modified.
|
void |
setVocabularyName(String vocabularyName)
A unique name, chosen by you, for your custom vocabulary.
|
void |
setVocabularyState(String vocabularyState)
The processing state of your custom vocabulary.
|
String |
toString()
Returns a string representation of this object.
|
VocabularyInfo |
withLanguageCode(LanguageCode languageCode)
The language code used to create your custom vocabulary.
|
VocabularyInfo |
withLanguageCode(String languageCode)
The language code used to create your custom vocabulary.
|
VocabularyInfo |
withLastModifiedTime(Date lastModifiedTime)
The date and time the specified vocabulary was last modified.
|
VocabularyInfo |
withVocabularyName(String vocabularyName)
A unique name, chosen by you, for your custom vocabulary.
|
VocabularyInfo |
withVocabularyState(String vocabularyState)
The processing state of your custom vocabulary.
|
VocabularyInfo |
withVocabularyState(VocabularyState vocabularyState)
The processing state of your custom vocabulary.
|
public void setVocabularyName(String vocabularyName)
A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
vocabularyName
- A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain
spaces, and must be unique within an Amazon Web Services account.public String getVocabularyName()
A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
public VocabularyInfo withVocabularyName(String vocabularyName)
A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
vocabularyName
- A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain
spaces, and must be unique within an Amazon Web Services account.public void setLanguageCode(String languageCode)
The language code used to create your custom vocabulary. Each vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the vocabulary. For example, if
you create a vocabulary using US English (en-US
), you can only apply this vocabulary to files that
contain English audio.
languageCode
- The language code used to create your custom vocabulary. Each vocabulary must contain terms in only one
language.
A custom vocabulary can only be used to transcribe files in the same language as the vocabulary. For
example, if you create a vocabulary using US English (en-US
), you can only apply this
vocabulary to files that contain English audio.
LanguageCode
public String getLanguageCode()
The language code used to create your custom vocabulary. Each vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the vocabulary. For example, if
you create a vocabulary using US English (en-US
), you can only apply this vocabulary to files that
contain English audio.
A custom vocabulary can only be used to transcribe files in the same language as the vocabulary. For
example, if you create a vocabulary using US English (en-US
), you can only apply this
vocabulary to files that contain English audio.
LanguageCode
public VocabularyInfo withLanguageCode(String languageCode)
The language code used to create your custom vocabulary. Each vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the vocabulary. For example, if
you create a vocabulary using US English (en-US
), you can only apply this vocabulary to files that
contain English audio.
languageCode
- The language code used to create your custom vocabulary. Each vocabulary must contain terms in only one
language.
A custom vocabulary can only be used to transcribe files in the same language as the vocabulary. For
example, if you create a vocabulary using US English (en-US
), you can only apply this
vocabulary to files that contain English audio.
LanguageCode
public VocabularyInfo withLanguageCode(LanguageCode languageCode)
The language code used to create your custom vocabulary. Each vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the vocabulary. For example, if
you create a vocabulary using US English (en-US
), you can only apply this vocabulary to files that
contain English audio.
languageCode
- The language code used to create your custom vocabulary. Each vocabulary must contain terms in only one
language.
A custom vocabulary can only be used to transcribe files in the same language as the vocabulary. For
example, if you create a vocabulary using US English (en-US
), you can only apply this
vocabulary to files that contain English audio.
LanguageCode
public void setLastModifiedTime(Date lastModifiedTime)
The date and time the specified 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:00
represents 12:32 PM UTC-7 on May 4, 2022.
lastModifiedTime
- The date and time the specified 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:00
represents 12:32 PM UTC-7 on May 4, 2022.
public Date getLastModifiedTime()
The date and time the specified 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:00
represents 12:32 PM UTC-7 on May 4, 2022.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
public VocabularyInfo withLastModifiedTime(Date lastModifiedTime)
The date and time the specified 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:00
represents 12:32 PM UTC-7 on May 4, 2022.
lastModifiedTime
- The date and time the specified 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:00
represents 12:32 PM UTC-7 on May 4, 2022.
public void setVocabularyState(String vocabularyState)
The processing state of your custom vocabulary. If the state is READY
, you can use the vocabulary in
a StartTranscriptionJob
request.
vocabularyState
- The processing state of your custom vocabulary. If the state is READY
, you can use the
vocabulary in a StartTranscriptionJob
request.VocabularyState
public String getVocabularyState()
The processing state of your custom vocabulary. If the state is READY
, you can use the vocabulary in
a StartTranscriptionJob
request.
READY
, you can use the
vocabulary in a StartTranscriptionJob
request.VocabularyState
public VocabularyInfo withVocabularyState(String vocabularyState)
The processing state of your custom vocabulary. If the state is READY
, you can use the vocabulary in
a StartTranscriptionJob
request.
vocabularyState
- The processing state of your custom vocabulary. If the state is READY
, you can use the
vocabulary in a StartTranscriptionJob
request.VocabularyState
public VocabularyInfo withVocabularyState(VocabularyState vocabularyState)
The processing state of your custom vocabulary. If the state is READY
, you can use the vocabulary in
a StartTranscriptionJob
request.
vocabularyState
- The processing state of your custom vocabulary. If the state is READY
, you can use the
vocabulary in a StartTranscriptionJob
request.VocabularyState
public String toString()
toString
in class Object
Object.toString()
public VocabularyInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.