public class GetVocabularyResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GetVocabularyResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDownloadUri()
The S3 location where the vocabulary is stored.
|
java.lang.String |
getFailureReason()
If the
VocabularyState field is FAILED , this
field contains information about why the job failed. |
java.lang.String |
getLanguageCode()
The language code of the vocabulary entries.
|
java.util.Date |
getLastModifiedTime()
The date and time that the vocabulary was last modified.
|
java.lang.String |
getVocabularyName()
The name of the vocabulary to return.
|
java.lang.String |
getVocabularyState()
The processing state of the vocabulary.
|
int |
hashCode() |
void |
setDownloadUri(java.lang.String downloadUri)
The S3 location where the vocabulary is stored.
|
void |
setFailureReason(java.lang.String failureReason)
If the
VocabularyState field is FAILED , this
field contains information about why the job failed. |
void |
setLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last modified.
|
void |
setVocabularyName(java.lang.String vocabularyName)
The name of the vocabulary to return.
|
void |
setVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary.
|
void |
setVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetVocabularyResult |
withDownloadUri(java.lang.String downloadUri)
The S3 location where the vocabulary is stored.
|
GetVocabularyResult |
withFailureReason(java.lang.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(java.lang.String languageCode)
The language code of the vocabulary entries.
|
GetVocabularyResult |
withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last modified.
|
GetVocabularyResult |
withVocabularyName(java.lang.String vocabularyName)
The name of the vocabulary to return.
|
GetVocabularyResult |
withVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary.
|
GetVocabularyResult |
withVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary.
|
public java.lang.String getVocabularyName()
The name of the vocabulary to return.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of the vocabulary to return.
public void setVocabularyName(java.lang.String vocabularyName)
The name of the vocabulary to return.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
vocabularyName
- The name of the vocabulary to return.
public GetVocabularyResult withVocabularyName(java.lang.String vocabularyName)
The name of the vocabulary to return.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
vocabularyName
- The name of the vocabulary to return.
public java.lang.String getLanguageCode()
The language code of the vocabulary entries.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE,
en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR,
fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR,
ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
The language code of the vocabulary entries.
LanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE,
en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR,
fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR,
ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
languageCode
- The language code of the vocabulary entries.
LanguageCode
public GetVocabularyResult withLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE,
en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR,
fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR,
ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
languageCode
- The language code of the vocabulary entries.
LanguageCode
public void setLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE,
en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR,
fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR,
ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
languageCode
- The language code of the vocabulary entries.
LanguageCode
public GetVocabularyResult withLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE,
en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR,
fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR,
ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
languageCode
- The language code of the vocabulary entries.
LanguageCode
public java.lang.String getVocabularyState()
The processing state of the vocabulary.
Constraints:
Allowed Values: PENDING, READY, FAILED
The processing state of the vocabulary.
VocabularyState
public void setVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary.
Constraints:
Allowed Values: PENDING, READY, FAILED
vocabularyState
- The processing state of the vocabulary.
VocabularyState
public GetVocabularyResult withVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, READY, FAILED
vocabularyState
- The processing state of the vocabulary.
VocabularyState
public void setVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary.
Constraints:
Allowed Values: PENDING, READY, FAILED
vocabularyState
- The processing state of the vocabulary.
VocabularyState
public GetVocabularyResult withVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, READY, FAILED
vocabularyState
- The processing state of the vocabulary.
VocabularyState
public java.util.Date getLastModifiedTime()
The date and time that the vocabulary was last modified.
The date and time that the vocabulary was last modified.
public void setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last modified.
lastModifiedTime
- The date and time that the vocabulary was last modified.
public GetVocabularyResult withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime
- The date and time that the vocabulary was last modified.
public java.lang.String getFailureReason()
If the VocabularyState
field is FAILED
, this
field contains information about why the job failed.
If the VocabularyState
field is FAILED
,
this field contains information about why the job failed.
public void setFailureReason(java.lang.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 GetVocabularyResult withFailureReason(java.lang.String failureReason)
If the VocabularyState
field is FAILED
, this
field contains information about why the job failed.
Returns a reference to this object so that method calls can be chained together.
failureReason
-
If the VocabularyState
field is
FAILED
, this field contains information about why
the job failed.
public java.lang.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.
Constraints:
Length: 1 - 2000
Pattern: (s3://|http(s*)://).+
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 void setDownloadUri(java.lang.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.
Constraints:
Length: 1 - 2000
Pattern: (s3://|http(s*)://).+
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 GetVocabularyResult withDownloadUri(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2000
Pattern: (s3://|http(s*)://).+
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.