@Generated(value="software.amazon.awssdk:codegen") public final class UpdateBotRequest extends LexModelsV2Request implements ToCopyableBuilder<UpdateBotRequest.Builder,UpdateBotRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateBotRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The unique identifier of the bot to update.
|
String |
botName()
The new name of the bot.
|
static UpdateBotRequest.Builder |
builder() |
DataPrivacy |
dataPrivacy()
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
String |
description()
A description of the bot.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
idleSessionTTLInSeconds()
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
|
String |
roleArn()
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateBotRequest.Builder> |
serializableBuilderClass() |
UpdateBotRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.
public final String botName()
The new name of the bot. The name must be unique in the account that creates the bot.
public final String description()
A description of the bot.
public final String roleArn()
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
public final DataPrivacy dataPrivacy()
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
public final Integer idleSessionTTLInSeconds()
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
public UpdateBotRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateBotRequest.Builder,UpdateBotRequest>toBuilder in class LexModelsV2Requestpublic static UpdateBotRequest.Builder builder()
public static Class<? extends UpdateBotRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.