Interface CfnBot.OutputContextProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBot.OutputContextProperty.Jsii$Proxy
Enclosing class:
CfnBot

@Stability(Stable) public static interface CfnBot.OutputContextProperty extends software.amazon.jsii.JsiiSerializable
Describes a session context that is activated when an intent is fulfilled.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.lex.*;
 OutputContextProperty outputContextProperty = OutputContextProperty.builder()
         .name("name")
         .timeToLiveInSeconds(123)
         .turnsToLive(123)
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the output context.
    • getTimeToLiveInSeconds

      @Stability(Stable) @NotNull Number getTimeToLiveInSeconds()
      The amount of time, in seconds, that the output context should remain active.

      The time is figured from the first time the context is sent to the user.

    • getTurnsToLive

      @Stability(Stable) @NotNull Number getTurnsToLive()
      The number of conversation turns that the output context should remain active.

      The number of turns is counted from the first time that the context is sent to the user.

    • builder

      @Stability(Stable) static CfnBot.OutputContextProperty.Builder builder()
      Returns:
      a CfnBot.OutputContextProperty.Builder of CfnBot.OutputContextProperty