/* * 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; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateIntentRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The unique identifier of the intent to update. *
*/ private String intentId; /** ** The new name for the intent. *
*/ private String intentName; /** ** The new description of the intent. *
*/ private String description; /** ** The signature of the new built-in intent to use as the parent of this intent. *
*/ private String parentIntentSignature; /** ** New utterances used to invoke the intent. *
*/ private java.util.List* The new Lambda function to use between each turn of the conversation with the bot. *
*/ private DialogCodeHookSettings dialogCodeHook; /** ** The new Lambda function to call when all of the intents required slots are provided and the intent is ready for * fulfillment. *
*/ private FulfillmentCodeHookSettings fulfillmentCodeHook; /** ** A new list of slots and their priorities that are contained by the intent. *
*/ private java.util.List* New prompts that Amazon Lex sends to the user to confirm the completion of an intent. *
*/ private IntentConfirmationSetting intentConfirmationSetting; /** ** The new response that Amazon Lex sends the user when the intent is closed. *
*/ private IntentClosingSetting intentClosingSetting; /** ** A new list of contexts that must be active in order for Amazon Lex to consider the intent. *
*/ private java.util.List* A new list of contexts that Amazon Lex activates when the intent is fulfilled. *
*/ private java.util.List* New configuration settings for connecting to an Amazon Kendra index. *
*/ private KendraConfiguration kendraConfiguration; /** ** The identifier of the bot that contains the intent. *
*/ private String botId; /** *
* The version of the bot that contains the intent. Must be DRAFT
.
*
* The identifier of the language and locale where this intent is used. The string must match one of the supported * locales. For more information, see Supported languages. *
*/ private String localeId; /** ** Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots. *
*/ private InitialResponseSetting initialResponseSetting; /** ** The unique identifier of the intent to update. *
* * @param intentId * The unique identifier of the intent to update. */ public void setIntentId(String intentId) { this.intentId = intentId; } /** ** The unique identifier of the intent to update. *
* * @return The unique identifier of the intent to update. */ public String getIntentId() { return this.intentId; } /** ** The unique identifier of the intent to update. *
* * @param intentId * The unique identifier of the intent to update. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withIntentId(String intentId) { setIntentId(intentId); return this; } /** ** The new name for the intent. *
* * @param intentName * The new name for the intent. */ public void setIntentName(String intentName) { this.intentName = intentName; } /** ** The new name for the intent. *
* * @return The new name for the intent. */ public String getIntentName() { return this.intentName; } /** ** The new name for the intent. *
* * @param intentName * The new name for the intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withIntentName(String intentName) { setIntentName(intentName); return this; } /** ** The new description of the intent. *
* * @param description * The new description of the intent. */ public void setDescription(String description) { this.description = description; } /** ** The new description of the intent. *
* * @return The new description of the intent. */ public String getDescription() { return this.description; } /** ** The new description of the intent. *
* * @param description * The new description of the intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withDescription(String description) { setDescription(description); return this; } /** ** The signature of the new built-in intent to use as the parent of this intent. *
* * @param parentIntentSignature * The signature of the new built-in intent to use as the parent of this intent. */ public void setParentIntentSignature(String parentIntentSignature) { this.parentIntentSignature = parentIntentSignature; } /** ** The signature of the new built-in intent to use as the parent of this intent. *
* * @return The signature of the new built-in intent to use as the parent of this intent. */ public String getParentIntentSignature() { return this.parentIntentSignature; } /** ** The signature of the new built-in intent to use as the parent of this intent. *
* * @param parentIntentSignature * The signature of the new built-in intent to use as the parent of this intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withParentIntentSignature(String parentIntentSignature) { setParentIntentSignature(parentIntentSignature); return this; } /** ** New utterances used to invoke the intent. *
* * @return New utterances used to invoke the intent. */ public java.util.List* New utterances used to invoke the intent. *
* * @param sampleUtterances * New utterances used to invoke the intent. */ public void setSampleUtterances(java.util.Collection* New utterances used to invoke the intent. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSampleUtterances(java.util.Collection)} or {@link #withSampleUtterances(java.util.Collection)} if you * want to override the existing values. *
* * @param sampleUtterances * New utterances used to invoke the intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withSampleUtterances(SampleUtterance... sampleUtterances) { if (this.sampleUtterances == null) { setSampleUtterances(new java.util.ArrayList* New utterances used to invoke the intent. *
* * @param sampleUtterances * New utterances used to invoke the intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withSampleUtterances(java.util.Collection* The new Lambda function to use between each turn of the conversation with the bot. *
* * @param dialogCodeHook * The new Lambda function to use between each turn of the conversation with the bot. */ public void setDialogCodeHook(DialogCodeHookSettings dialogCodeHook) { this.dialogCodeHook = dialogCodeHook; } /** ** The new Lambda function to use between each turn of the conversation with the bot. *
* * @return The new Lambda function to use between each turn of the conversation with the bot. */ public DialogCodeHookSettings getDialogCodeHook() { return this.dialogCodeHook; } /** ** The new Lambda function to use between each turn of the conversation with the bot. *
* * @param dialogCodeHook * The new Lambda function to use between each turn of the conversation with the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withDialogCodeHook(DialogCodeHookSettings dialogCodeHook) { setDialogCodeHook(dialogCodeHook); return this; } /** ** The new Lambda function to call when all of the intents required slots are provided and the intent is ready for * fulfillment. *
* * @param fulfillmentCodeHook * The new Lambda function to call when all of the intents required slots are provided and the intent is * ready for fulfillment. */ public void setFulfillmentCodeHook(FulfillmentCodeHookSettings fulfillmentCodeHook) { this.fulfillmentCodeHook = fulfillmentCodeHook; } /** ** The new Lambda function to call when all of the intents required slots are provided and the intent is ready for * fulfillment. *
* * @return The new Lambda function to call when all of the intents required slots are provided and the intent is * ready for fulfillment. */ public FulfillmentCodeHookSettings getFulfillmentCodeHook() { return this.fulfillmentCodeHook; } /** ** The new Lambda function to call when all of the intents required slots are provided and the intent is ready for * fulfillment. *
* * @param fulfillmentCodeHook * The new Lambda function to call when all of the intents required slots are provided and the intent is * ready for fulfillment. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withFulfillmentCodeHook(FulfillmentCodeHookSettings fulfillmentCodeHook) { setFulfillmentCodeHook(fulfillmentCodeHook); return this; } /** ** A new list of slots and their priorities that are contained by the intent. *
* * @return A new list of slots and their priorities that are contained by the intent. */ public java.util.List* A new list of slots and their priorities that are contained by the intent. *
* * @param slotPriorities * A new list of slots and their priorities that are contained by the intent. */ public void setSlotPriorities(java.util.Collection* A new list of slots and their priorities that are contained by the intent. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSlotPriorities(java.util.Collection)} or {@link #withSlotPriorities(java.util.Collection)} if you want * to override the existing values. *
* * @param slotPriorities * A new list of slots and their priorities that are contained by the intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withSlotPriorities(SlotPriority... slotPriorities) { if (this.slotPriorities == null) { setSlotPriorities(new java.util.ArrayList* A new list of slots and their priorities that are contained by the intent. *
* * @param slotPriorities * A new list of slots and their priorities that are contained by the intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withSlotPriorities(java.util.Collection* New prompts that Amazon Lex sends to the user to confirm the completion of an intent. *
* * @param intentConfirmationSetting * New prompts that Amazon Lex sends to the user to confirm the completion of an intent. */ public void setIntentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting) { this.intentConfirmationSetting = intentConfirmationSetting; } /** ** New prompts that Amazon Lex sends to the user to confirm the completion of an intent. *
* * @return New prompts that Amazon Lex sends to the user to confirm the completion of an intent. */ public IntentConfirmationSetting getIntentConfirmationSetting() { return this.intentConfirmationSetting; } /** ** New prompts that Amazon Lex sends to the user to confirm the completion of an intent. *
* * @param intentConfirmationSetting * New prompts that Amazon Lex sends to the user to confirm the completion of an intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withIntentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting) { setIntentConfirmationSetting(intentConfirmationSetting); return this; } /** ** The new response that Amazon Lex sends the user when the intent is closed. *
* * @param intentClosingSetting * The new response that Amazon Lex sends the user when the intent is closed. */ public void setIntentClosingSetting(IntentClosingSetting intentClosingSetting) { this.intentClosingSetting = intentClosingSetting; } /** ** The new response that Amazon Lex sends the user when the intent is closed. *
* * @return The new response that Amazon Lex sends the user when the intent is closed. */ public IntentClosingSetting getIntentClosingSetting() { return this.intentClosingSetting; } /** ** The new response that Amazon Lex sends the user when the intent is closed. *
* * @param intentClosingSetting * The new response that Amazon Lex sends the user when the intent is closed. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withIntentClosingSetting(IntentClosingSetting intentClosingSetting) { setIntentClosingSetting(intentClosingSetting); return this; } /** ** A new list of contexts that must be active in order for Amazon Lex to consider the intent. *
* * @return A new list of contexts that must be active in order for Amazon Lex to consider the intent. */ public java.util.List* A new list of contexts that must be active in order for Amazon Lex to consider the intent. *
* * @param inputContexts * A new list of contexts that must be active in order for Amazon Lex to consider the intent. */ public void setInputContexts(java.util.Collection* A new list of contexts that must be active in order for Amazon Lex to consider the intent. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setInputContexts(java.util.Collection)} or {@link #withInputContexts(java.util.Collection)} if you want * to override the existing values. *
* * @param inputContexts * A new list of contexts that must be active in order for Amazon Lex to consider the intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withInputContexts(InputContext... inputContexts) { if (this.inputContexts == null) { setInputContexts(new java.util.ArrayList* A new list of contexts that must be active in order for Amazon Lex to consider the intent. *
* * @param inputContexts * A new list of contexts that must be active in order for Amazon Lex to consider the intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withInputContexts(java.util.Collection* A new list of contexts that Amazon Lex activates when the intent is fulfilled. *
* * @return A new list of contexts that Amazon Lex activates when the intent is fulfilled. */ public java.util.List* A new list of contexts that Amazon Lex activates when the intent is fulfilled. *
* * @param outputContexts * A new list of contexts that Amazon Lex activates when the intent is fulfilled. */ public void setOutputContexts(java.util.Collection* A new list of contexts that Amazon Lex activates when the intent is fulfilled. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setOutputContexts(java.util.Collection)} or {@link #withOutputContexts(java.util.Collection)} if you want * to override the existing values. *
* * @param outputContexts * A new list of contexts that Amazon Lex activates when the intent is fulfilled. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withOutputContexts(OutputContext... outputContexts) { if (this.outputContexts == null) { setOutputContexts(new java.util.ArrayList* A new list of contexts that Amazon Lex activates when the intent is fulfilled. *
* * @param outputContexts * A new list of contexts that Amazon Lex activates when the intent is fulfilled. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withOutputContexts(java.util.Collection* New configuration settings for connecting to an Amazon Kendra index. *
* * @param kendraConfiguration * New configuration settings for connecting to an Amazon Kendra index. */ public void setKendraConfiguration(KendraConfiguration kendraConfiguration) { this.kendraConfiguration = kendraConfiguration; } /** ** New configuration settings for connecting to an Amazon Kendra index. *
* * @return New configuration settings for connecting to an Amazon Kendra index. */ public KendraConfiguration getKendraConfiguration() { return this.kendraConfiguration; } /** ** New configuration settings for connecting to an Amazon Kendra index. *
* * @param kendraConfiguration * New configuration settings for connecting to an Amazon Kendra index. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withKendraConfiguration(KendraConfiguration kendraConfiguration) { setKendraConfiguration(kendraConfiguration); return this; } /** ** The identifier of the bot that contains the intent. *
* * @param botId * The identifier of the bot that contains the intent. */ public void setBotId(String botId) { this.botId = botId; } /** ** The identifier of the bot that contains the intent. *
* * @return The identifier of the bot that contains the intent. */ public String getBotId() { return this.botId; } /** ** The identifier of the bot that contains the intent. *
* * @param botId * The identifier of the bot that contains the intent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withBotId(String botId) { setBotId(botId); return this; } /** *
* The version of the bot that contains the intent. Must be DRAFT
.
*
DRAFT
.
*/
public void setBotVersion(String botVersion) {
this.botVersion = botVersion;
}
/**
*
* The version of the bot that contains the intent. Must be DRAFT
.
*
DRAFT
.
*/
public String getBotVersion() {
return this.botVersion;
}
/**
*
* The version of the bot that contains the intent. Must be DRAFT
.
*
DRAFT
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateIntentRequest withBotVersion(String botVersion) {
setBotVersion(botVersion);
return this;
}
/**
* * The identifier of the language and locale where this intent is used. The string must match one of the supported * locales. For more information, see Supported languages. *
* * @param localeId * The identifier of the language and locale where this intent is used. The string must match one of the * supported locales. For more information, see Supported languages. */ public void setLocaleId(String localeId) { this.localeId = localeId; } /** ** The identifier of the language and locale where this intent is used. The string must match one of the supported * locales. For more information, see Supported languages. *
* * @return The identifier of the language and locale where this intent is used. The string must match one of the * supported locales. For more information, see Supported languages. */ public String getLocaleId() { return this.localeId; } /** ** The identifier of the language and locale where this intent is used. The string must match one of the supported * locales. For more information, see Supported languages. *
* * @param localeId * The identifier of the language and locale where this intent is used. The string must match one of the * supported locales. For more information, see Supported languages. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withLocaleId(String localeId) { setLocaleId(localeId); return this; } /** ** Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots. *
* * @param initialResponseSetting * Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots. */ public void setInitialResponseSetting(InitialResponseSetting initialResponseSetting) { this.initialResponseSetting = initialResponseSetting; } /** ** Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots. *
* * @return Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots. */ public InitialResponseSetting getInitialResponseSetting() { return this.initialResponseSetting; } /** ** Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots. *
* * @param initialResponseSetting * Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateIntentRequest withInitialResponseSetting(InitialResponseSetting initialResponseSetting) { setInitialResponseSetting(initialResponseSetting); 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 (getIntentId() != null) sb.append("IntentId: ").append(getIntentId()).append(","); if (getIntentName() != null) sb.append("IntentName: ").append(getIntentName()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getParentIntentSignature() != null) sb.append("ParentIntentSignature: ").append(getParentIntentSignature()).append(","); if (getSampleUtterances() != null) sb.append("SampleUtterances: ").append(getSampleUtterances()).append(","); if (getDialogCodeHook() != null) sb.append("DialogCodeHook: ").append(getDialogCodeHook()).append(","); if (getFulfillmentCodeHook() != null) sb.append("FulfillmentCodeHook: ").append(getFulfillmentCodeHook()).append(","); if (getSlotPriorities() != null) sb.append("SlotPriorities: ").append(getSlotPriorities()).append(","); if (getIntentConfirmationSetting() != null) sb.append("IntentConfirmationSetting: ").append(getIntentConfirmationSetting()).append(","); if (getIntentClosingSetting() != null) sb.append("IntentClosingSetting: ").append(getIntentClosingSetting()).append(","); if (getInputContexts() != null) sb.append("InputContexts: ").append(getInputContexts()).append(","); if (getOutputContexts() != null) sb.append("OutputContexts: ").append(getOutputContexts()).append(","); if (getKendraConfiguration() != null) sb.append("KendraConfiguration: ").append(getKendraConfiguration()).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 (getInitialResponseSetting() != null) sb.append("InitialResponseSetting: ").append(getInitialResponseSetting()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateIntentRequest == false) return false; UpdateIntentRequest other = (UpdateIntentRequest) obj; if (other.getIntentId() == null ^ this.getIntentId() == null) return false; if (other.getIntentId() != null && other.getIntentId().equals(this.getIntentId()) == false) return false; if (other.getIntentName() == null ^ this.getIntentName() == null) return false; if (other.getIntentName() != null && other.getIntentName().equals(this.getIntentName()) == 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.getParentIntentSignature() == null ^ this.getParentIntentSignature() == null) return false; if (other.getParentIntentSignature() != null && other.getParentIntentSignature().equals(this.getParentIntentSignature()) == false) return false; if (other.getSampleUtterances() == null ^ this.getSampleUtterances() == null) return false; if (other.getSampleUtterances() != null && other.getSampleUtterances().equals(this.getSampleUtterances()) == false) return false; if (other.getDialogCodeHook() == null ^ this.getDialogCodeHook() == null) return false; if (other.getDialogCodeHook() != null && other.getDialogCodeHook().equals(this.getDialogCodeHook()) == false) return false; if (other.getFulfillmentCodeHook() == null ^ this.getFulfillmentCodeHook() == null) return false; if (other.getFulfillmentCodeHook() != null && other.getFulfillmentCodeHook().equals(this.getFulfillmentCodeHook()) == false) return false; if (other.getSlotPriorities() == null ^ this.getSlotPriorities() == null) return false; if (other.getSlotPriorities() != null && other.getSlotPriorities().equals(this.getSlotPriorities()) == false) return false; if (other.getIntentConfirmationSetting() == null ^ this.getIntentConfirmationSetting() == null) return false; if (other.getIntentConfirmationSetting() != null && other.getIntentConfirmationSetting().equals(this.getIntentConfirmationSetting()) == false) return false; if (other.getIntentClosingSetting() == null ^ this.getIntentClosingSetting() == null) return false; if (other.getIntentClosingSetting() != null && other.getIntentClosingSetting().equals(this.getIntentClosingSetting()) == false) return false; if (other.getInputContexts() == null ^ this.getInputContexts() == null) return false; if (other.getInputContexts() != null && other.getInputContexts().equals(this.getInputContexts()) == false) return false; if (other.getOutputContexts() == null ^ this.getOutputContexts() == null) return false; if (other.getOutputContexts() != null && other.getOutputContexts().equals(this.getOutputContexts()) == false) return false; if (other.getKendraConfiguration() == null ^ this.getKendraConfiguration() == null) return false; if (other.getKendraConfiguration() != null && other.getKendraConfiguration().equals(this.getKendraConfiguration()) == false) return false; 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.getInitialResponseSetting() == null ^ this.getInitialResponseSetting() == null) return false; if (other.getInitialResponseSetting() != null && other.getInitialResponseSetting().equals(this.getInitialResponseSetting()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getIntentId() == null) ? 0 : getIntentId().hashCode()); hashCode = prime * hashCode + ((getIntentName() == null) ? 0 : getIntentName().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getParentIntentSignature() == null) ? 0 : getParentIntentSignature().hashCode()); hashCode = prime * hashCode + ((getSampleUtterances() == null) ? 0 : getSampleUtterances().hashCode()); hashCode = prime * hashCode + ((getDialogCodeHook() == null) ? 0 : getDialogCodeHook().hashCode()); hashCode = prime * hashCode + ((getFulfillmentCodeHook() == null) ? 0 : getFulfillmentCodeHook().hashCode()); hashCode = prime * hashCode + ((getSlotPriorities() == null) ? 0 : getSlotPriorities().hashCode()); hashCode = prime * hashCode + ((getIntentConfirmationSetting() == null) ? 0 : getIntentConfirmationSetting().hashCode()); hashCode = prime * hashCode + ((getIntentClosingSetting() == null) ? 0 : getIntentClosingSetting().hashCode()); hashCode = prime * hashCode + ((getInputContexts() == null) ? 0 : getInputContexts().hashCode()); hashCode = prime * hashCode + ((getOutputContexts() == null) ? 0 : getOutputContexts().hashCode()); hashCode = prime * hashCode + ((getKendraConfiguration() == null) ? 0 : getKendraConfiguration().hashCode()); 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 + ((getInitialResponseSetting() == null) ? 0 : getInitialResponseSetting().hashCode()); return hashCode; } @Override public UpdateIntentRequest clone() { return (UpdateIntentRequest) super.clone(); } }