@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchUpdateCustomVocabularyItemResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchUpdateCustomVocabularyItemResult() |
Modifier and Type | Method and Description |
---|---|
BatchUpdateCustomVocabularyItemResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot associated with this custom vocabulary.
|
String |
getBotVersion()
The identifier of the version of the bot associated with this custom vocabulary.
|
List<FailedCustomVocabularyItem> |
getErrors()
A list of custom vocabulary items that failed to update during the operation.
|
String |
getLocaleId()
The identifier of the language and locale where this custom vocabulary is used.
|
List<CustomVocabularyItem> |
getResources()
A list of custom vocabulary items that were successfully updated during the operation.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot associated with this custom vocabulary.
|
void |
setBotVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
|
void |
setErrors(Collection<FailedCustomVocabularyItem> errors)
A list of custom vocabulary items that failed to update during the operation.
|
void |
setLocaleId(String localeId)
The identifier of the language and locale where this custom vocabulary is used.
|
void |
setResources(Collection<CustomVocabularyItem> resources)
A list of custom vocabulary items that were successfully updated during the operation.
|
String |
toString()
Returns a string representation of this object.
|
BatchUpdateCustomVocabularyItemResult |
withBotId(String botId)
The identifier of the bot associated with this custom vocabulary.
|
BatchUpdateCustomVocabularyItemResult |
withBotVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
|
BatchUpdateCustomVocabularyItemResult |
withErrors(Collection<FailedCustomVocabularyItem> errors)
A list of custom vocabulary items that failed to update during the operation.
|
BatchUpdateCustomVocabularyItemResult |
withErrors(FailedCustomVocabularyItem... errors)
A list of custom vocabulary items that failed to update during the operation.
|
BatchUpdateCustomVocabularyItemResult |
withLocaleId(String localeId)
The identifier of the language and locale where this custom vocabulary is used.
|
BatchUpdateCustomVocabularyItemResult |
withResources(Collection<CustomVocabularyItem> resources)
A list of custom vocabulary items that were successfully updated during the operation.
|
BatchUpdateCustomVocabularyItemResult |
withResources(CustomVocabularyItem... resources)
A list of custom vocabulary items that were successfully updated during the operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public BatchUpdateCustomVocabularyItemResult()
public void setBotId(String botId)
The identifier of the bot associated with this custom vocabulary.
botId
- The identifier of the bot associated with this custom vocabulary.public String getBotId()
The identifier of the bot associated with this custom vocabulary.
public BatchUpdateCustomVocabularyItemResult withBotId(String botId)
The identifier of the bot associated with this custom vocabulary.
botId
- The identifier of the bot associated with this custom vocabulary.public void setBotVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
botVersion
- The identifier of the version of the bot associated with this custom vocabulary.public String getBotVersion()
The identifier of the version of the bot associated with this custom vocabulary.
public BatchUpdateCustomVocabularyItemResult withBotVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
botVersion
- The identifier of the version of the bot associated with this custom vocabulary.public void setLocaleId(String localeId)
The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
localeId
- The identifier of the language and locale where this custom vocabulary is used. The string must match one
of the supported locales. For more information, see Supported Languages .public String getLocaleId()
The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
public BatchUpdateCustomVocabularyItemResult withLocaleId(String localeId)
The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
localeId
- The identifier of the language and locale where this custom vocabulary is used. The string must match one
of the supported locales. For more information, see Supported Languages .public List<FailedCustomVocabularyItem> getErrors()
A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.
public void setErrors(Collection<FailedCustomVocabularyItem> errors)
A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.
errors
- A list of custom vocabulary items that failed to update during the operation. The reason for the error is
contained within each error object.public BatchUpdateCustomVocabularyItemResult withErrors(FailedCustomVocabularyItem... errors)
A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of custom vocabulary items that failed to update during the operation. The reason for the error is
contained within each error object.public BatchUpdateCustomVocabularyItemResult withErrors(Collection<FailedCustomVocabularyItem> errors)
A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.
errors
- A list of custom vocabulary items that failed to update during the operation. The reason for the error is
contained within each error object.public List<CustomVocabularyItem> getResources()
A list of custom vocabulary items that were successfully updated during the operation.
public void setResources(Collection<CustomVocabularyItem> resources)
A list of custom vocabulary items that were successfully updated during the operation.
resources
- A list of custom vocabulary items that were successfully updated during the operation.public BatchUpdateCustomVocabularyItemResult withResources(CustomVocabularyItem... resources)
A list of custom vocabulary items that were successfully updated during the operation.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- A list of custom vocabulary items that were successfully updated during the operation.public BatchUpdateCustomVocabularyItemResult withResources(Collection<CustomVocabularyItem> resources)
A list of custom vocabulary items that were successfully updated during the operation.
resources
- A list of custom vocabulary items that were successfully updated during the operation.public String toString()
toString
in class Object
Object.toString()
public BatchUpdateCustomVocabularyItemResult clone()