@Stability(value=Stable) public static final class CfnBot.OutputContextProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.OutputContextProperty>
CfnBot.OutputContextProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBot.OutputContextProperty |
build()
Builds the configured instance.
|
CfnBot.OutputContextProperty.Builder |
name(String name)
Sets the value of
CfnBot.OutputContextProperty.getName() |
CfnBot.OutputContextProperty.Builder |
timeToLiveInSeconds(Number timeToLiveInSeconds)
Sets the value of
CfnBot.OutputContextProperty.getTimeToLiveInSeconds() |
CfnBot.OutputContextProperty.Builder |
turnsToLive(Number turnsToLive)
Sets the value of
CfnBot.OutputContextProperty.getTurnsToLive() |
@Stability(value=Stable) public CfnBot.OutputContextProperty.Builder name(String name)
CfnBot.OutputContextProperty.getName()name - The name of the output context. This parameter is required.this@Stability(value=Stable) public CfnBot.OutputContextProperty.Builder timeToLiveInSeconds(Number timeToLiveInSeconds)
CfnBot.OutputContextProperty.getTimeToLiveInSeconds()timeToLiveInSeconds - The amount of time, in seconds, that the output context should remain active. This parameter is required.
The time is figured from the first time the context is sent to the user.this@Stability(value=Stable) public CfnBot.OutputContextProperty.Builder turnsToLive(Number turnsToLive)
CfnBot.OutputContextProperty.getTurnsToLive()turnsToLive - The number of conversation turns that the output context should remain active. This parameter is required.
The number of turns is counted from the first time that the context is sent to the user.this@Stability(value=Stable) public CfnBot.OutputContextProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.OutputContextProperty>CfnBot.OutputContextPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.