@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetVocabularyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetVocabularyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetVocabularyResult |
clone() |
boolean |
equals(Object obj) |
String |
getDownloadUri()
The S3 location where the vocabulary is stored.
|
String |
getFailureReason()
If the
VocabularyState field is FAILED, this field contains information about why the
job failed. |
String |
getLanguageCode()
The language code of the vocabulary entries.
|
Date |
getLastModifiedTime()
The date and time that the vocabulary was last modified.
|
String |
getVocabularyName()
The name of the vocabulary to return.
|
String |
getVocabularyState()
The processing state of the vocabulary.
|
int |
hashCode() |
void |
setDownloadUri(String downloadUri)
The S3 location where the vocabulary is stored.
|
void |
setFailureReason(String failureReason)
If the
VocabularyState field is FAILED, this field contains information about why the
job failed. |
void |
setLanguageCode(String languageCode)
The language code of the vocabulary entries.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time that the vocabulary was last modified.
|
void |
setVocabularyName(String vocabularyName)
The name of the vocabulary to return.
|
void |
setVocabularyState(String vocabularyState)
The processing state of the vocabulary.
|
String |
toString()
Returns a string representation of this object.
|
GetVocabularyResult |
withDownloadUri(String downloadUri)
The S3 location where the vocabulary is stored.
|
GetVocabularyResult |
withFailureReason(String failureReason)
If the
VocabularyState field is FAILED, this field contains information about why the
job failed. |
GetVocabularyResult |
withLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
|
GetVocabularyResult |
withLanguageCode(String languageCode)
The language code of the vocabulary entries.
|
GetVocabularyResult |
withLastModifiedTime(Date lastModifiedTime)
The date and time that the vocabulary was last modified.
|
GetVocabularyResult |
withVocabularyName(String vocabularyName)
The name of the vocabulary to return.
|
GetVocabularyResult |
withVocabularyState(String vocabularyState)
The processing state of the vocabulary.
|
GetVocabularyResult |
withVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setVocabularyName(String vocabularyName)
The name of the vocabulary to return.
vocabularyName - The name of the vocabulary to return.public String getVocabularyName()
The name of the vocabulary to return.
public GetVocabularyResult withVocabularyName(String vocabularyName)
The name of the vocabulary to return.
vocabularyName - The name of the vocabulary to return.public void setLanguageCode(String languageCode)
The language code of the vocabulary entries.
languageCode - The language code of the vocabulary entries.LanguageCodepublic String getLanguageCode()
The language code of the vocabulary entries.
LanguageCodepublic GetVocabularyResult withLanguageCode(String languageCode)
The language code of the vocabulary entries.
languageCode - The language code of the vocabulary entries.LanguageCodepublic GetVocabularyResult withLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
languageCode - The language code of the vocabulary entries.LanguageCodepublic void setVocabularyState(String vocabularyState)
The processing state of the vocabulary.
vocabularyState - The processing state of the vocabulary.VocabularyStatepublic String getVocabularyState()
The processing state of the vocabulary.
VocabularyStatepublic GetVocabularyResult withVocabularyState(String vocabularyState)
The processing state of the vocabulary.
vocabularyState - The processing state of the vocabulary.VocabularyStatepublic GetVocabularyResult withVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary.
vocabularyState - The processing state of the vocabulary.VocabularyStatepublic void setLastModifiedTime(Date lastModifiedTime)
The date and time that the vocabulary was last modified.
lastModifiedTime - The date and time that the vocabulary was last modified.public Date getLastModifiedTime()
The date and time that the vocabulary was last modified.
public GetVocabularyResult withLastModifiedTime(Date lastModifiedTime)
The date and time that the vocabulary was last modified.
lastModifiedTime - The date and time that the vocabulary was last modified.public void setFailureReason(String failureReason)
If the VocabularyState field is FAILED, this field contains information about why the
job failed.
failureReason - If the VocabularyState field is FAILED, this field contains information about
why the job failed.public String getFailureReason()
If the VocabularyState field is FAILED, this field contains information about why the
job failed.
VocabularyState field is FAILED, this field contains information about
why the job failed.public GetVocabularyResult withFailureReason(String failureReason)
If the VocabularyState field is FAILED, this field contains information about why the
job failed.
failureReason - If the VocabularyState field is FAILED, this field contains information about
why the job failed.public void setDownloadUri(String downloadUri)
The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The URI is available for a limited time.
downloadUri - The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The
URI is available for a limited time.public String getDownloadUri()
The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The URI is available for a limited time.
public GetVocabularyResult withDownloadUri(String downloadUri)
The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The URI is available for a limited time.
downloadUri - The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The
URI is available for a limited time.public String toString()
toString in class ObjectObject.toString()public GetVocabularyResult clone()
Copyright © 2021. All rights reserved.