Class SlotCaptureSetting

    • Method Detail

      • captureResponse

        public final ResponseSpecification captureResponse()
        Returns the value of the CaptureResponse property for this object.
        Returns:
        The value of the CaptureResponse property for this object.
      • captureNextStep

        public final DialogState captureNextStep()

        Specifies the next step that the bot runs when the slot value is captured before the code hook times out.

        Returns:
        Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
      • captureConditional

        public final ConditionalSpecification captureConditional()

        A list of conditional branches to evaluate after the slot value is captured.

        Returns:
        A list of conditional branches to evaluate after the slot value is captured.
      • failureResponse

        public final ResponseSpecification failureResponse()
        Returns the value of the FailureResponse property for this object.
        Returns:
        The value of the FailureResponse property for this object.
      • failureNextStep

        public final DialogState failureNextStep()

        Specifies the next step that the bot runs when the slot value code is not recognized.

        Returns:
        Specifies the next step that the bot runs when the slot value code is not recognized.
      • failureConditional

        public final ConditionalSpecification failureConditional()

        A list of conditional branches to evaluate when the slot value isn't captured.

        Returns:
        A list of conditional branches to evaluate when the slot value isn't captured.
      • codeHook

        public final DialogCodeHookInvocationSetting codeHook()

        Code hook called after Amazon Lex successfully captures a slot value.

        Returns:
        Code hook called after Amazon Lex successfully captures a slot value.
      • elicitationCodeHook

        public final ElicitationCodeHookInvocationSetting elicitationCodeHook()

        Code hook called when Amazon Lex doesn't capture a slot value.

        Returns:
        Code hook called when Amazon Lex doesn't capture a slot value.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)