/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.lexmodelsv2.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeBotLocaleResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The identifier of the bot associated with the locale. *

*/ private String botId; /** *

* The version of the bot associated with the locale. *

*/ private String botVersion; /** *

* The unique identifier of the described locale. *

*/ private String localeId; /** *

* The name of the locale. *

*/ private String localeName; /** *

* The description of the locale. *

*/ private String description; /** *

* The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and * AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. *

*/ private Double nluIntentConfidenceThreshold; /** *

* The Amazon Polly voice Amazon Lex uses for voice interaction with the user. *

*/ private VoiceSettings voiceSettings; /** *

* The number of intents defined for the locale. *

*/ private Integer intentsCount; /** *

* The number of slot types defined for the locale. *

*/ private Integer slotTypesCount; /** *

* The status of the bot. If the status is Failed, the reasons for the failure are listed in the * failureReasons field. *

*/ private String botLocaleStatus; /** *

* if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot. *

*/ private java.util.List failureReasons; /** *

* The date and time that the locale was created. *

*/ private java.util.Date creationDateTime; /** *

* The date and time that the locale was last updated. *

*/ private java.util.Date lastUpdatedDateTime; /** *

* The date and time that the locale was last submitted for building. *

*/ private java.util.Date lastBuildSubmittedDateTime; /** *

* History of changes, such as when a locale is used in an alias, that have taken place for the locale. *

*/ private java.util.List botLocaleHistoryEvents; /** *

* Recommended actions to take to resolve an error in the failureReasons field. *

*/ private java.util.List recommendedActions; /** *

* The identifier of the bot associated with the locale. *

* * @param botId * The identifier of the bot associated with the locale. */ public void setBotId(String botId) { this.botId = botId; } /** *

* The identifier of the bot associated with the locale. *

* * @return The identifier of the bot associated with the locale. */ public String getBotId() { return this.botId; } /** *

* The identifier of the bot associated with the locale. *

* * @param botId * The identifier of the bot associated with the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withBotId(String botId) { setBotId(botId); return this; } /** *

* The version of the bot associated with the locale. *

* * @param botVersion * The version of the bot associated with the locale. */ public void setBotVersion(String botVersion) { this.botVersion = botVersion; } /** *

* The version of the bot associated with the locale. *

* * @return The version of the bot associated with the locale. */ public String getBotVersion() { return this.botVersion; } /** *

* The version of the bot associated with the locale. *

* * @param botVersion * The version of the bot associated with the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withBotVersion(String botVersion) { setBotVersion(botVersion); return this; } /** *

* The unique identifier of the described locale. *

* * @param localeId * The unique identifier of the described locale. */ public void setLocaleId(String localeId) { this.localeId = localeId; } /** *

* The unique identifier of the described locale. *

* * @return The unique identifier of the described locale. */ public String getLocaleId() { return this.localeId; } /** *

* The unique identifier of the described locale. *

* * @param localeId * The unique identifier of the described locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withLocaleId(String localeId) { setLocaleId(localeId); return this; } /** *

* The name of the locale. *

* * @param localeName * The name of the locale. */ public void setLocaleName(String localeName) { this.localeName = localeName; } /** *

* The name of the locale. *

* * @return The name of the locale. */ public String getLocaleName() { return this.localeName; } /** *

* The name of the locale. *

* * @param localeName * The name of the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withLocaleName(String localeName) { setLocaleName(localeName); return this; } /** *

* The description of the locale. *

* * @param description * The description of the locale. */ public void setDescription(String description) { this.description = description; } /** *

* The description of the locale. *

* * @return The description of the locale. */ public String getDescription() { return this.description; } /** *

* The description of the locale. *

* * @param description * The description of the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withDescription(String description) { setDescription(description); return this; } /** *

* The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and * AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. *

* * @param nluIntentConfidenceThreshold * The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and * AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. */ public void setNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold) { this.nluIntentConfidenceThreshold = nluIntentConfidenceThreshold; } /** *

* The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and * AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. *

* * @return The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and * AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. */ public Double getNluIntentConfidenceThreshold() { return this.nluIntentConfidenceThreshold; } /** *

* The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and * AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. *

* * @param nluIntentConfidenceThreshold * The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and * AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold) { setNluIntentConfidenceThreshold(nluIntentConfidenceThreshold); return this; } /** *

* The Amazon Polly voice Amazon Lex uses for voice interaction with the user. *

* * @param voiceSettings * The Amazon Polly voice Amazon Lex uses for voice interaction with the user. */ public void setVoiceSettings(VoiceSettings voiceSettings) { this.voiceSettings = voiceSettings; } /** *

* The Amazon Polly voice Amazon Lex uses for voice interaction with the user. *

* * @return The Amazon Polly voice Amazon Lex uses for voice interaction with the user. */ public VoiceSettings getVoiceSettings() { return this.voiceSettings; } /** *

* The Amazon Polly voice Amazon Lex uses for voice interaction with the user. *

* * @param voiceSettings * The Amazon Polly voice Amazon Lex uses for voice interaction with the user. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withVoiceSettings(VoiceSettings voiceSettings) { setVoiceSettings(voiceSettings); return this; } /** *

* The number of intents defined for the locale. *

* * @param intentsCount * The number of intents defined for the locale. */ public void setIntentsCount(Integer intentsCount) { this.intentsCount = intentsCount; } /** *

* The number of intents defined for the locale. *

* * @return The number of intents defined for the locale. */ public Integer getIntentsCount() { return this.intentsCount; } /** *

* The number of intents defined for the locale. *

* * @param intentsCount * The number of intents defined for the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withIntentsCount(Integer intentsCount) { setIntentsCount(intentsCount); return this; } /** *

* The number of slot types defined for the locale. *

* * @param slotTypesCount * The number of slot types defined for the locale. */ public void setSlotTypesCount(Integer slotTypesCount) { this.slotTypesCount = slotTypesCount; } /** *

* The number of slot types defined for the locale. *

* * @return The number of slot types defined for the locale. */ public Integer getSlotTypesCount() { return this.slotTypesCount; } /** *

* The number of slot types defined for the locale. *

* * @param slotTypesCount * The number of slot types defined for the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withSlotTypesCount(Integer slotTypesCount) { setSlotTypesCount(slotTypesCount); return this; } /** *

* The status of the bot. If the status is Failed, the reasons for the failure are listed in the * failureReasons field. *

* * @param botLocaleStatus * The status of the bot. If the status is Failed, the reasons for the failure are listed in the * failureReasons field. * @see BotLocaleStatus */ public void setBotLocaleStatus(String botLocaleStatus) { this.botLocaleStatus = botLocaleStatus; } /** *

* The status of the bot. If the status is Failed, the reasons for the failure are listed in the * failureReasons field. *

* * @return The status of the bot. If the status is Failed, the reasons for the failure are listed in * the failureReasons field. * @see BotLocaleStatus */ public String getBotLocaleStatus() { return this.botLocaleStatus; } /** *

* The status of the bot. If the status is Failed, the reasons for the failure are listed in the * failureReasons field. *

* * @param botLocaleStatus * The status of the bot. If the status is Failed, the reasons for the failure are listed in the * failureReasons field. * @return Returns a reference to this object so that method calls can be chained together. * @see BotLocaleStatus */ public DescribeBotLocaleResult withBotLocaleStatus(String botLocaleStatus) { setBotLocaleStatus(botLocaleStatus); return this; } /** *

* The status of the bot. If the status is Failed, the reasons for the failure are listed in the * failureReasons field. *

* * @param botLocaleStatus * The status of the bot. If the status is Failed, the reasons for the failure are listed in the * failureReasons field. * @return Returns a reference to this object so that method calls can be chained together. * @see BotLocaleStatus */ public DescribeBotLocaleResult withBotLocaleStatus(BotLocaleStatus botLocaleStatus) { this.botLocaleStatus = botLocaleStatus.toString(); return this; } /** *

* if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot. *

* * @return if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the * bot. */ public java.util.List getFailureReasons() { return failureReasons; } /** *

* if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot. *

* * @param failureReasons * if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the * bot. */ public void setFailureReasons(java.util.Collection failureReasons) { if (failureReasons == null) { this.failureReasons = null; return; } this.failureReasons = new java.util.ArrayList(failureReasons); } /** *

* if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setFailureReasons(java.util.Collection)} or {@link #withFailureReasons(java.util.Collection)} if you want * to override the existing values. *

* * @param failureReasons * if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the * bot. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withFailureReasons(String... failureReasons) { if (this.failureReasons == null) { setFailureReasons(new java.util.ArrayList(failureReasons.length)); } for (String ele : failureReasons) { this.failureReasons.add(ele); } return this; } /** *

* if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot. *

* * @param failureReasons * if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the * bot. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withFailureReasons(java.util.Collection failureReasons) { setFailureReasons(failureReasons); return this; } /** *

* The date and time that the locale was created. *

* * @param creationDateTime * The date and time that the locale was created. */ public void setCreationDateTime(java.util.Date creationDateTime) { this.creationDateTime = creationDateTime; } /** *

* The date and time that the locale was created. *

* * @return The date and time that the locale was created. */ public java.util.Date getCreationDateTime() { return this.creationDateTime; } /** *

* The date and time that the locale was created. *

* * @param creationDateTime * The date and time that the locale was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withCreationDateTime(java.util.Date creationDateTime) { setCreationDateTime(creationDateTime); return this; } /** *

* The date and time that the locale was last updated. *

* * @param lastUpdatedDateTime * The date and time that the locale was last updated. */ public void setLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { this.lastUpdatedDateTime = lastUpdatedDateTime; } /** *

* The date and time that the locale was last updated. *

* * @return The date and time that the locale was last updated. */ public java.util.Date getLastUpdatedDateTime() { return this.lastUpdatedDateTime; } /** *

* The date and time that the locale was last updated. *

* * @param lastUpdatedDateTime * The date and time that the locale was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { setLastUpdatedDateTime(lastUpdatedDateTime); return this; } /** *

* The date and time that the locale was last submitted for building. *

* * @param lastBuildSubmittedDateTime * The date and time that the locale was last submitted for building. */ public void setLastBuildSubmittedDateTime(java.util.Date lastBuildSubmittedDateTime) { this.lastBuildSubmittedDateTime = lastBuildSubmittedDateTime; } /** *

* The date and time that the locale was last submitted for building. *

* * @return The date and time that the locale was last submitted for building. */ public java.util.Date getLastBuildSubmittedDateTime() { return this.lastBuildSubmittedDateTime; } /** *

* The date and time that the locale was last submitted for building. *

* * @param lastBuildSubmittedDateTime * The date and time that the locale was last submitted for building. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withLastBuildSubmittedDateTime(java.util.Date lastBuildSubmittedDateTime) { setLastBuildSubmittedDateTime(lastBuildSubmittedDateTime); return this; } /** *

* History of changes, such as when a locale is used in an alias, that have taken place for the locale. *

* * @return History of changes, such as when a locale is used in an alias, that have taken place for the locale. */ public java.util.List getBotLocaleHistoryEvents() { return botLocaleHistoryEvents; } /** *

* History of changes, such as when a locale is used in an alias, that have taken place for the locale. *

* * @param botLocaleHistoryEvents * History of changes, such as when a locale is used in an alias, that have taken place for the locale. */ public void setBotLocaleHistoryEvents(java.util.Collection botLocaleHistoryEvents) { if (botLocaleHistoryEvents == null) { this.botLocaleHistoryEvents = null; return; } this.botLocaleHistoryEvents = new java.util.ArrayList(botLocaleHistoryEvents); } /** *

* History of changes, such as when a locale is used in an alias, that have taken place for the locale. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setBotLocaleHistoryEvents(java.util.Collection)} or * {@link #withBotLocaleHistoryEvents(java.util.Collection)} if you want to override the existing values. *

* * @param botLocaleHistoryEvents * History of changes, such as when a locale is used in an alias, that have taken place for the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withBotLocaleHistoryEvents(BotLocaleHistoryEvent... botLocaleHistoryEvents) { if (this.botLocaleHistoryEvents == null) { setBotLocaleHistoryEvents(new java.util.ArrayList(botLocaleHistoryEvents.length)); } for (BotLocaleHistoryEvent ele : botLocaleHistoryEvents) { this.botLocaleHistoryEvents.add(ele); } return this; } /** *

* History of changes, such as when a locale is used in an alias, that have taken place for the locale. *

* * @param botLocaleHistoryEvents * History of changes, such as when a locale is used in an alias, that have taken place for the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withBotLocaleHistoryEvents(java.util.Collection botLocaleHistoryEvents) { setBotLocaleHistoryEvents(botLocaleHistoryEvents); return this; } /** *

* Recommended actions to take to resolve an error in the failureReasons field. *

* * @return Recommended actions to take to resolve an error in the failureReasons field. */ public java.util.List getRecommendedActions() { return recommendedActions; } /** *

* Recommended actions to take to resolve an error in the failureReasons field. *

* * @param recommendedActions * Recommended actions to take to resolve an error in the failureReasons field. */ public void setRecommendedActions(java.util.Collection recommendedActions) { if (recommendedActions == null) { this.recommendedActions = null; return; } this.recommendedActions = new java.util.ArrayList(recommendedActions); } /** *

* Recommended actions to take to resolve an error in the failureReasons field. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setRecommendedActions(java.util.Collection)} or {@link #withRecommendedActions(java.util.Collection)} if * you want to override the existing values. *

* * @param recommendedActions * Recommended actions to take to resolve an error in the failureReasons field. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withRecommendedActions(String... recommendedActions) { if (this.recommendedActions == null) { setRecommendedActions(new java.util.ArrayList(recommendedActions.length)); } for (String ele : recommendedActions) { this.recommendedActions.add(ele); } return this; } /** *

* Recommended actions to take to resolve an error in the failureReasons field. *

* * @param recommendedActions * Recommended actions to take to resolve an error in the failureReasons field. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withRecommendedActions(java.util.Collection recommendedActions) { setRecommendedActions(recommendedActions); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getBotId() != null) sb.append("BotId: ").append(getBotId()).append(","); if (getBotVersion() != null) sb.append("BotVersion: ").append(getBotVersion()).append(","); if (getLocaleId() != null) sb.append("LocaleId: ").append(getLocaleId()).append(","); if (getLocaleName() != null) sb.append("LocaleName: ").append(getLocaleName()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getNluIntentConfidenceThreshold() != null) sb.append("NluIntentConfidenceThreshold: ").append(getNluIntentConfidenceThreshold()).append(","); if (getVoiceSettings() != null) sb.append("VoiceSettings: ").append(getVoiceSettings()).append(","); if (getIntentsCount() != null) sb.append("IntentsCount: ").append(getIntentsCount()).append(","); if (getSlotTypesCount() != null) sb.append("SlotTypesCount: ").append(getSlotTypesCount()).append(","); if (getBotLocaleStatus() != null) sb.append("BotLocaleStatus: ").append(getBotLocaleStatus()).append(","); if (getFailureReasons() != null) sb.append("FailureReasons: ").append(getFailureReasons()).append(","); if (getCreationDateTime() != null) sb.append("CreationDateTime: ").append(getCreationDateTime()).append(","); if (getLastUpdatedDateTime() != null) sb.append("LastUpdatedDateTime: ").append(getLastUpdatedDateTime()).append(","); if (getLastBuildSubmittedDateTime() != null) sb.append("LastBuildSubmittedDateTime: ").append(getLastBuildSubmittedDateTime()).append(","); if (getBotLocaleHistoryEvents() != null) sb.append("BotLocaleHistoryEvents: ").append(getBotLocaleHistoryEvents()).append(","); if (getRecommendedActions() != null) sb.append("RecommendedActions: ").append(getRecommendedActions()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeBotLocaleResult == false) return false; DescribeBotLocaleResult other = (DescribeBotLocaleResult) obj; if (other.getBotId() == null ^ this.getBotId() == null) return false; if (other.getBotId() != null && other.getBotId().equals(this.getBotId()) == false) return false; if (other.getBotVersion() == null ^ this.getBotVersion() == null) return false; if (other.getBotVersion() != null && other.getBotVersion().equals(this.getBotVersion()) == false) return false; if (other.getLocaleId() == null ^ this.getLocaleId() == null) return false; if (other.getLocaleId() != null && other.getLocaleId().equals(this.getLocaleId()) == false) return false; if (other.getLocaleName() == null ^ this.getLocaleName() == null) return false; if (other.getLocaleName() != null && other.getLocaleName().equals(this.getLocaleName()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getNluIntentConfidenceThreshold() == null ^ this.getNluIntentConfidenceThreshold() == null) return false; if (other.getNluIntentConfidenceThreshold() != null && other.getNluIntentConfidenceThreshold().equals(this.getNluIntentConfidenceThreshold()) == false) return false; if (other.getVoiceSettings() == null ^ this.getVoiceSettings() == null) return false; if (other.getVoiceSettings() != null && other.getVoiceSettings().equals(this.getVoiceSettings()) == false) return false; if (other.getIntentsCount() == null ^ this.getIntentsCount() == null) return false; if (other.getIntentsCount() != null && other.getIntentsCount().equals(this.getIntentsCount()) == false) return false; if (other.getSlotTypesCount() == null ^ this.getSlotTypesCount() == null) return false; if (other.getSlotTypesCount() != null && other.getSlotTypesCount().equals(this.getSlotTypesCount()) == false) return false; if (other.getBotLocaleStatus() == null ^ this.getBotLocaleStatus() == null) return false; if (other.getBotLocaleStatus() != null && other.getBotLocaleStatus().equals(this.getBotLocaleStatus()) == false) return false; if (other.getFailureReasons() == null ^ this.getFailureReasons() == null) return false; if (other.getFailureReasons() != null && other.getFailureReasons().equals(this.getFailureReasons()) == false) return false; if (other.getCreationDateTime() == null ^ this.getCreationDateTime() == null) return false; if (other.getCreationDateTime() != null && other.getCreationDateTime().equals(this.getCreationDateTime()) == false) return false; if (other.getLastUpdatedDateTime() == null ^ this.getLastUpdatedDateTime() == null) return false; if (other.getLastUpdatedDateTime() != null && other.getLastUpdatedDateTime().equals(this.getLastUpdatedDateTime()) == false) return false; if (other.getLastBuildSubmittedDateTime() == null ^ this.getLastBuildSubmittedDateTime() == null) return false; if (other.getLastBuildSubmittedDateTime() != null && other.getLastBuildSubmittedDateTime().equals(this.getLastBuildSubmittedDateTime()) == false) return false; if (other.getBotLocaleHistoryEvents() == null ^ this.getBotLocaleHistoryEvents() == null) return false; if (other.getBotLocaleHistoryEvents() != null && other.getBotLocaleHistoryEvents().equals(this.getBotLocaleHistoryEvents()) == false) return false; if (other.getRecommendedActions() == null ^ this.getRecommendedActions() == null) return false; if (other.getRecommendedActions() != null && other.getRecommendedActions().equals(this.getRecommendedActions()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getBotId() == null) ? 0 : getBotId().hashCode()); hashCode = prime * hashCode + ((getBotVersion() == null) ? 0 : getBotVersion().hashCode()); hashCode = prime * hashCode + ((getLocaleId() == null) ? 0 : getLocaleId().hashCode()); hashCode = prime * hashCode + ((getLocaleName() == null) ? 0 : getLocaleName().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getNluIntentConfidenceThreshold() == null) ? 0 : getNluIntentConfidenceThreshold().hashCode()); hashCode = prime * hashCode + ((getVoiceSettings() == null) ? 0 : getVoiceSettings().hashCode()); hashCode = prime * hashCode + ((getIntentsCount() == null) ? 0 : getIntentsCount().hashCode()); hashCode = prime * hashCode + ((getSlotTypesCount() == null) ? 0 : getSlotTypesCount().hashCode()); hashCode = prime * hashCode + ((getBotLocaleStatus() == null) ? 0 : getBotLocaleStatus().hashCode()); hashCode = prime * hashCode + ((getFailureReasons() == null) ? 0 : getFailureReasons().hashCode()); hashCode = prime * hashCode + ((getCreationDateTime() == null) ? 0 : getCreationDateTime().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedDateTime() == null) ? 0 : getLastUpdatedDateTime().hashCode()); hashCode = prime * hashCode + ((getLastBuildSubmittedDateTime() == null) ? 0 : getLastBuildSubmittedDateTime().hashCode()); hashCode = prime * hashCode + ((getBotLocaleHistoryEvents() == null) ? 0 : getBotLocaleHistoryEvents().hashCode()); hashCode = prime * hashCode + ((getRecommendedActions() == null) ? 0 : getRecommendedActions().hashCode()); return hashCode; } @Override public DescribeBotLocaleResult clone() { try { return (DescribeBotLocaleResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }