public static interface OutputContext.Builder extends SdkPojo, CopyableBuilder<OutputContext.Builder,OutputContext>
| Modifier and Type | Method and Description |
|---|---|
OutputContext.Builder |
name(String name)
The name of the context.
|
OutputContext.Builder |
timeToLiveInSeconds(Integer timeToLiveInSeconds)
The number of seconds that the context should be active after it is first sent in a
PostContent
or PostText response. |
OutputContext.Builder |
turnsToLive(Integer turnsToLive)
The number of conversation turns that the context should be active.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOutputContext.Builder name(String name)
The name of the context.
name - The name of the context.OutputContext.Builder timeToLiveInSeconds(Integer timeToLiveInSeconds)
The number of seconds that the context should be active after it is first sent in a PostContent
or PostText response. You can set the value between 5 and 86,400 seconds (24 hours).
timeToLiveInSeconds - The number of seconds that the context should be active after it is first sent in a
PostContent or PostText response. You can set the value between 5 and 86,400
seconds (24 hours).OutputContext.Builder turnsToLive(Integer turnsToLive)
The number of conversation turns that the context should be active. A conversation turn is one
PostContent or PostText request and the corresponding response from Amazon Lex.
turnsToLive - The number of conversation turns that the context should be active. A conversation turn is one
PostContent or PostText request and the corresponding response from Amazon
Lex.Copyright © 2021. All rights reserved.