JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.lexmodelsv2.model

Class UpdateIntentRequest

    • Constructor Detail

      • UpdateIntentRequest

        public UpdateIntentRequest()
    • Method Detail

      • setIntentId

        public void setIntentId(String intentId)

        The unique identifier of the intent to update.

        Parameters:
        intentId - The unique identifier of the intent to update.
      • getIntentId

        public String getIntentId()

        The unique identifier of the intent to update.

        Returns:
        The unique identifier of the intent to update.
      • withIntentId

        public UpdateIntentRequest withIntentId(String intentId)

        The unique identifier of the intent to update.

        Parameters:
        intentId - The unique identifier of the intent to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIntentName

        public void setIntentName(String intentName)

        The new name for the intent.

        Parameters:
        intentName - The new name for the intent.
      • getIntentName

        public String getIntentName()

        The new name for the intent.

        Returns:
        The new name for the intent.
      • withIntentName

        public UpdateIntentRequest withIntentName(String intentName)

        The new name for the intent.

        Parameters:
        intentName - The new name for the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription(String description)

        The new description of the intent.

        Parameters:
        description - The new description of the intent.
      • getDescription

        public String getDescription()

        The new description of the intent.

        Returns:
        The new description of the intent.
      • withDescription

        public UpdateIntentRequest withDescription(String description)

        The new description of the intent.

        Parameters:
        description - The new description of the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setParentIntentSignature

        public void setParentIntentSignature(String parentIntentSignature)

        The signature of the new built-in intent to use as the parent of this intent.

        Parameters:
        parentIntentSignature - The signature of the new built-in intent to use as the parent of this intent.
      • getParentIntentSignature

        public String getParentIntentSignature()

        The signature of the new built-in intent to use as the parent of this intent.

        Returns:
        The signature of the new built-in intent to use as the parent of this intent.
      • withParentIntentSignature

        public UpdateIntentRequest withParentIntentSignature(String parentIntentSignature)

        The signature of the new built-in intent to use as the parent of this intent.

        Parameters:
        parentIntentSignature - The signature of the new built-in intent to use as the parent of this intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSampleUtterances

        public List<SampleUtterance> getSampleUtterances()

        New utterances used to invoke the intent.

        Returns:
        New utterances used to invoke the intent.
      • setSampleUtterances

        public void setSampleUtterances(Collection<SampleUtterance> sampleUtterances)

        New utterances used to invoke the intent.

        Parameters:
        sampleUtterances - New utterances used to invoke the intent.
      • withSampleUtterances

        public UpdateIntentRequest withSampleUtterances(Collection<SampleUtterance> sampleUtterances)

        New utterances used to invoke the intent.

        Parameters:
        sampleUtterances - New utterances used to invoke the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDialogCodeHook

        public void setDialogCodeHook(DialogCodeHookSettings dialogCodeHook)

        The new Lambda function to use between each turn of the conversation with the bot.

        Parameters:
        dialogCodeHook - The new Lambda function to use between each turn of the conversation with the bot.
      • getDialogCodeHook

        public DialogCodeHookSettings getDialogCodeHook()

        The new Lambda function to use between each turn of the conversation with the bot.

        Returns:
        The new Lambda function to use between each turn of the conversation with the bot.
      • withDialogCodeHook

        public UpdateIntentRequest withDialogCodeHook(DialogCodeHookSettings dialogCodeHook)

        The new Lambda function to use between each turn of the conversation with the bot.

        Parameters:
        dialogCodeHook - The new Lambda function to use between each turn of the conversation with the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFulfillmentCodeHook

        public void setFulfillmentCodeHook(FulfillmentCodeHookSettings fulfillmentCodeHook)

        The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.

        Parameters:
        fulfillmentCodeHook - The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.
      • getFulfillmentCodeHook

        public FulfillmentCodeHookSettings getFulfillmentCodeHook()

        The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.

        Returns:
        The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.
      • withFulfillmentCodeHook

        public UpdateIntentRequest withFulfillmentCodeHook(FulfillmentCodeHookSettings fulfillmentCodeHook)

        The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.

        Parameters:
        fulfillmentCodeHook - The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSlotPriorities

        public List<SlotPriority> getSlotPriorities()

        A new list of slots and their priorities that are contained by the intent.

        Returns:
        A new list of slots and their priorities that are contained by the intent.
      • setSlotPriorities

        public void setSlotPriorities(Collection<SlotPriority> slotPriorities)

        A new list of slots and their priorities that are contained by the intent.

        Parameters:
        slotPriorities - A new list of slots and their priorities that are contained by the intent.
      • withSlotPriorities

        public UpdateIntentRequest withSlotPriorities(SlotPriority... slotPriorities)

        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 setSlotPriorities(java.util.Collection) or withSlotPriorities(java.util.Collection) if you want to override the existing values.

        Parameters:
        slotPriorities - A new list of slots and their priorities that are contained by the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSlotPriorities

        public UpdateIntentRequest withSlotPriorities(Collection<SlotPriority> slotPriorities)

        A new list of slots and their priorities that are contained by the intent.

        Parameters:
        slotPriorities - A new list of slots and their priorities that are contained by the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIntentConfirmationSetting

        public void setIntentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting)

        New prompts that Amazon Lex sends to the user to confirm the completion of an intent.

        Parameters:
        intentConfirmationSetting - New prompts that Amazon Lex sends to the user to confirm the completion of an intent.
      • getIntentConfirmationSetting

        public IntentConfirmationSetting getIntentConfirmationSetting()

        New prompts that Amazon Lex sends to the user to confirm the completion of an intent.

        Returns:
        New prompts that Amazon Lex sends to the user to confirm the completion of an intent.
      • withIntentConfirmationSetting

        public UpdateIntentRequest withIntentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting)

        New prompts that Amazon Lex sends to the user to confirm the completion of an intent.

        Parameters:
        intentConfirmationSetting - New prompts that Amazon Lex sends to the user to confirm the completion of an intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIntentClosingSetting

        public void setIntentClosingSetting(IntentClosingSetting intentClosingSetting)

        The new response that Amazon Lex sends the user when the intent is closed.

        Parameters:
        intentClosingSetting - The new response that Amazon Lex sends the user when the intent is closed.
      • getIntentClosingSetting

        public IntentClosingSetting getIntentClosingSetting()

        The new response that Amazon Lex sends the user when the intent is closed.

        Returns:
        The new response that Amazon Lex sends the user when the intent is closed.
      • withIntentClosingSetting

        public UpdateIntentRequest withIntentClosingSetting(IntentClosingSetting intentClosingSetting)

        The new response that Amazon Lex sends the user when the intent is closed.

        Parameters:
        intentClosingSetting - The new response that Amazon Lex sends the user when the intent is closed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getInputContexts

        public List<InputContext> getInputContexts()

        A new list of contexts that must be active in order for Amazon Lex to consider the intent.

        Returns:
        A new list of contexts that must be active in order for Amazon Lex to consider the intent.
      • setInputContexts

        public void setInputContexts(Collection<InputContext> inputContexts)

        A new list of contexts that must be active in order for Amazon Lex to consider the intent.

        Parameters:
        inputContexts - A new list of contexts that must be active in order for Amazon Lex to consider the intent.
      • withInputContexts

        public UpdateIntentRequest withInputContexts(InputContext... inputContexts)

        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 setInputContexts(java.util.Collection) or withInputContexts(java.util.Collection) if you want to override the existing values.

        Parameters:
        inputContexts - A new list of contexts that must be active in order for Amazon Lex to consider the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withInputContexts

        public UpdateIntentRequest withInputContexts(Collection<InputContext> inputContexts)

        A new list of contexts that must be active in order for Amazon Lex to consider the intent.

        Parameters:
        inputContexts - A new list of contexts that must be active in order for Amazon Lex to consider the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getOutputContexts

        public List<OutputContext> getOutputContexts()

        A new list of contexts that Amazon Lex activates when the intent is fulfilled.

        Returns:
        A new list of contexts that Amazon Lex activates when the intent is fulfilled.
      • setOutputContexts

        public void setOutputContexts(Collection<OutputContext> outputContexts)

        A new list of contexts that Amazon Lex activates when the intent is fulfilled.

        Parameters:
        outputContexts - A new list of contexts that Amazon Lex activates when the intent is fulfilled.
      • withOutputContexts

        public UpdateIntentRequest withOutputContexts(OutputContext... outputContexts)

        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 setOutputContexts(java.util.Collection) or withOutputContexts(java.util.Collection) if you want to override the existing values.

        Parameters:
        outputContexts - A new list of contexts that Amazon Lex activates when the intent is fulfilled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withOutputContexts

        public UpdateIntentRequest withOutputContexts(Collection<OutputContext> outputContexts)

        A new list of contexts that Amazon Lex activates when the intent is fulfilled.

        Parameters:
        outputContexts - A new list of contexts that Amazon Lex activates when the intent is fulfilled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setKendraConfiguration

        public void setKendraConfiguration(KendraConfiguration kendraConfiguration)

        New configuration settings for connecting to an Amazon Kendra index.

        Parameters:
        kendraConfiguration - New configuration settings for connecting to an Amazon Kendra index.
      • getKendraConfiguration

        public KendraConfiguration getKendraConfiguration()

        New configuration settings for connecting to an Amazon Kendra index.

        Returns:
        New configuration settings for connecting to an Amazon Kendra index.
      • withKendraConfiguration

        public UpdateIntentRequest withKendraConfiguration(KendraConfiguration kendraConfiguration)

        New configuration settings for connecting to an Amazon Kendra index.

        Parameters:
        kendraConfiguration - New configuration settings for connecting to an Amazon Kendra index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBotId

        public void setBotId(String botId)

        The identifier of the bot that contains the intent.

        Parameters:
        botId - The identifier of the bot that contains the intent.
      • getBotId

        public String getBotId()

        The identifier of the bot that contains the intent.

        Returns:
        The identifier of the bot that contains the intent.
      • withBotId

        public UpdateIntentRequest withBotId(String botId)

        The identifier of the bot that contains the intent.

        Parameters:
        botId - The identifier of the bot that contains the intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBotVersion

        public void setBotVersion(String botVersion)

        The version of the bot that contains the intent. Must be DRAFT.

        Parameters:
        botVersion - The version of the bot that contains the intent. Must be DRAFT.
      • getBotVersion

        public String getBotVersion()

        The version of the bot that contains the intent. Must be DRAFT.

        Returns:
        The version of the bot that contains the intent. Must be DRAFT.
      • withBotVersion

        public UpdateIntentRequest withBotVersion(String botVersion)

        The version of the bot that contains the intent. Must be DRAFT.

        Parameters:
        botVersion - The version of the bot that contains the intent. Must be DRAFT.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLocaleId

        public void setLocaleId(String 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.

        Parameters:
        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.
      • getLocaleId

        public String getLocaleId()

        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.

        Returns:
        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.
      • withLocaleId

        public UpdateIntentRequest withLocaleId(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInitialResponseSetting

        public void setInitialResponseSetting(InitialResponseSetting initialResponseSetting)

        Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.

        Parameters:
        initialResponseSetting - Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
      • getInitialResponseSetting

        public InitialResponseSetting getInitialResponseSetting()

        Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.

        Returns:
        Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
      • withInitialResponseSetting

        public UpdateIntentRequest withInitialResponseSetting(InitialResponseSetting initialResponseSetting)

        Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.

        Parameters:
        initialResponseSetting - Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setQnAIntentConfiguration

        public void setQnAIntentConfiguration(QnAIntentConfiguration qnAIntentConfiguration)

        Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.

        Parameters:
        qnAIntentConfiguration - Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.
      • getQnAIntentConfiguration

        public QnAIntentConfiguration getQnAIntentConfiguration()

        Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.

        Returns:
        Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.
      • withQnAIntentConfiguration

        public UpdateIntentRequest withQnAIntentConfiguration(QnAIntentConfiguration qnAIntentConfiguration)

        Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.

        Parameters:
        qnAIntentConfiguration - Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        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.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /