@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VocabularySummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains summary information about the custom vocabulary.
| Constructor and Description |
|---|
VocabularySummary() |
| Modifier and Type | Method and Description |
|---|---|
VocabularySummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the custom vocabulary.
|
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.
|
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 |
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.
|
String |
toString()
Returns a string representation of this object.
|
VocabularySummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the custom vocabulary.
|
VocabularySummary |
withFailureReason(String failureReason)
The reason why the custom vocabulary was not created.
|
VocabularySummary |
withId(String id)
The identifier of the custom vocabulary.
|
VocabularySummary |
withLanguageCode(String languageCode)
The language code of the vocabulary entries.
|
VocabularySummary |
withLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries.
|
VocabularySummary |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when the custom vocabulary was last modified.
|
VocabularySummary |
withName(String name)
A unique name of the custom vocabulary.
|
VocabularySummary |
withState(String state)
The current state of the custom vocabulary.
|
VocabularySummary |
withState(VocabularyState state)
The current state of the custom vocabulary.
|
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 VocabularySummary 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 VocabularySummary 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 VocabularySummary 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?VocabularyLanguageCodepublic String getLanguageCode()
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
VocabularyLanguageCodepublic VocabularySummary 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?VocabularyLanguageCodepublic VocabularySummary 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?VocabularyLanguageCodepublic void setState(String state)
The current state of the custom vocabulary.
state - The current state of the custom vocabulary.VocabularyStatepublic String getState()
The current state of the custom vocabulary.
VocabularyStatepublic VocabularySummary withState(String state)
The current state of the custom vocabulary.
state - The current state of the custom vocabulary.VocabularyStatepublic VocabularySummary withState(VocabularyState state)
The current state of the custom vocabulary.
state - The current state of the custom vocabulary.VocabularyStatepublic 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 VocabularySummary 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 VocabularySummary withFailureReason(String failureReason)
The reason why the custom vocabulary was not created.
failureReason - The reason why the custom vocabulary was not created.public String toString()
toString in class ObjectObject.toString()public VocabularySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.