@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Vocabulary extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a custom vocabulary.
Constructor and Description |
---|
Vocabulary() |
Modifier and Type | Method and Description |
---|---|
Vocabulary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Vocabulary |
clearTagsEntries()
Removes all the entries added into Tags.
|
Vocabulary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the custom vocabulary.
|
String |
getContent()
The content of the custom vocabulary in plain-text format with a table of values.
|
String |
getFailureReason()
The reason why the custom vocabulary was not created.
|
String |
getId()
The identifier of the custom vocabulary.
|
String |
getLanguageCode()
The language code of the vocabulary entries.
|
Date |
getLastModifiedTime()
The timestamp when the custom vocabulary was last modified.
|
String |
getName()
A unique name of the custom vocabulary.
|
String |
getState()
The current state of the custom vocabulary.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the custom vocabulary.
|
void |
setContent(String content)
The content of the custom vocabulary in plain-text format with a table of values.
|
void |
setFailureReason(String failureReason)
The reason why the custom vocabulary was not created.
|
void |
setId(String id)
The identifier of the custom vocabulary.
|
void |
setLanguageCode(String languageCode)
The language code of the vocabulary entries.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when the custom vocabulary was last modified.
|
void |
setName(String name)
A unique name of the custom vocabulary.
|
void |
setState(String state)
The current state of the custom vocabulary.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
Vocabulary |
withArn(String arn)
The Amazon Resource Name (ARN) of the custom vocabulary.
|
Vocabulary |
withContent(String content)
The content of the custom vocabulary in plain-text format with a table of values.
|
Vocabulary |
withFailureReason(String failureReason)
The reason why the custom vocabulary was not created.
|
Vocabulary |
withId(String id)
The identifier of the custom vocabulary.
|
Vocabulary |
withLanguageCode(String languageCode)
The language code of the vocabulary entries.
|
Vocabulary |
withLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries.
|
Vocabulary |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when the custom vocabulary was last modified.
|
Vocabulary |
withName(String name)
A unique name of the custom vocabulary.
|
Vocabulary |
withState(String state)
The current state of the custom vocabulary.
|
Vocabulary |
withState(VocabularyState state)
The current state of the custom vocabulary.
|
Vocabulary |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
public void setName(String name)
A unique name of the custom vocabulary.
name
- A unique name of the custom vocabulary.public String getName()
A unique name of the custom vocabulary.
public Vocabulary withName(String name)
A unique name of the custom vocabulary.
name
- A unique name of the custom vocabulary.public void setId(String id)
The identifier of the custom vocabulary.
id
- The identifier of the custom vocabulary.public String getId()
The identifier of the custom vocabulary.
public Vocabulary withId(String id)
The identifier of the custom vocabulary.
id
- The identifier of the custom vocabulary.public void setArn(String arn)
The Amazon Resource Name (ARN) of the custom vocabulary.
arn
- The Amazon Resource Name (ARN) of the custom vocabulary.public String getArn()
The Amazon Resource Name (ARN) of the custom vocabulary.
public Vocabulary withArn(String arn)
The Amazon Resource Name (ARN) of the custom vocabulary.
arn
- The Amazon Resource Name (ARN) of the custom vocabulary.public void setLanguageCode(String languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
languageCode
- The language code of the vocabulary entries. For a list of languages and their corresponding language
codes, see What is
Amazon Transcribe?VocabularyLanguageCode
public String getLanguageCode()
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
VocabularyLanguageCode
public Vocabulary withLanguageCode(String languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
languageCode
- The language code of the vocabulary entries. For a list of languages and their corresponding language
codes, see What is
Amazon Transcribe?VocabularyLanguageCode
public Vocabulary withLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
languageCode
- The language code of the vocabulary entries. For a list of languages and their corresponding language
codes, see What is
Amazon Transcribe?VocabularyLanguageCode
public void setState(String state)
The current state of the custom vocabulary.
state
- The current state of the custom vocabulary.VocabularyState
public String getState()
The current state of the custom vocabulary.
VocabularyState
public Vocabulary withState(String state)
The current state of the custom vocabulary.
state
- The current state of the custom vocabulary.VocabularyState
public Vocabulary withState(VocabularyState state)
The current state of the custom vocabulary.
state
- The current state of the custom vocabulary.VocabularyState
public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when the custom vocabulary was last modified.
lastModifiedTime
- The timestamp when the custom vocabulary was last modified.public Date getLastModifiedTime()
The timestamp when the custom vocabulary was last modified.
public Vocabulary withLastModifiedTime(Date lastModifiedTime)
The timestamp when the custom vocabulary was last modified.
lastModifiedTime
- The timestamp when the custom vocabulary was last modified.public void setFailureReason(String failureReason)
The reason why the custom vocabulary was not created.
failureReason
- The reason why the custom vocabulary was not created.public String getFailureReason()
The reason why the custom vocabulary was not created.
public Vocabulary withFailureReason(String failureReason)
The reason why the custom vocabulary was not created.
failureReason
- The reason why the custom vocabulary was not created.public void setContent(String content)
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table
represents a word or a phrase, described with Phrase
, IPA
, SoundsLike
, and
DisplayAs
fields. Separate the fields with TAB characters. For more information, see Create a
custom vocabulary using a table.
content
- The content of the custom vocabulary in plain-text format with a table of values. Each row in the table
represents a word or a phrase, described with Phrase
, IPA
,
SoundsLike
, and DisplayAs
fields. Separate the fields with TAB characters. For
more information, see Create a custom vocabulary using a table.public String getContent()
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table
represents a word or a phrase, described with Phrase
, IPA
, SoundsLike
, and
DisplayAs
fields. Separate the fields with TAB characters. For more information, see Create a
custom vocabulary using a table.
Phrase
, IPA
,
SoundsLike
, and DisplayAs
fields. Separate the fields with TAB characters. For
more information, see Create a custom vocabulary using a table.public Vocabulary withContent(String content)
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table
represents a word or a phrase, described with Phrase
, IPA
, SoundsLike
, and
DisplayAs
fields. Separate the fields with TAB characters. For more information, see Create a
custom vocabulary using a table.
content
- The content of the custom vocabulary in plain-text format with a table of values. Each row in the table
represents a word or a phrase, described with Phrase
, IPA
,
SoundsLike
, and DisplayAs
fields. Separate the fields with TAB characters. For
more information, see Create a custom vocabulary using a table.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.public Vocabulary withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.public Vocabulary addTagsEntry(String key, String value)
public Vocabulary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public Vocabulary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.