@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateBotRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateBotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotId()
The unique identifier of the bot to update.
|
List<BotMember> |
getBotMembers()
The list of bot members in the network associated with the update action.
|
String |
getBotName()
The new name of the bot.
|
String |
getBotType()
The type of the bot to be updated.
|
DataPrivacy |
getDataPrivacy()
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
String |
getDescription()
A description of the bot.
|
Integer |
getIdleSessionTTLInSeconds()
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
|
int |
hashCode() |
void |
setBotId(String botId)
The unique identifier of the bot to update.
|
void |
setBotMembers(Collection<BotMember> botMembers)
The list of bot members in the network associated with the update action.
|
void |
setBotName(String botName)
The new name of the bot.
|
void |
setBotType(String botType)
The type of the bot to be updated.
|
void |
setDataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
void |
setDescription(String description)
A description of the bot.
|
void |
setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
|
String |
toString()
Returns a string representation of this object.
|
UpdateBotRequest |
withBotId(String botId)
The unique identifier of the bot to update.
|
UpdateBotRequest |
withBotMembers(BotMember... botMembers)
The list of bot members in the network associated with the update action.
|
UpdateBotRequest |
withBotMembers(Collection<BotMember> botMembers)
The list of bot members in the network associated with the update action.
|
UpdateBotRequest |
withBotName(String botName)
The new name of the bot.
|
UpdateBotRequest |
withBotType(BotType botType)
The type of the bot to be updated.
|
UpdateBotRequest |
withBotType(String botType)
The type of the bot to be updated.
|
UpdateBotRequest |
withDataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
UpdateBotRequest |
withDescription(String description)
A description of the bot.
|
UpdateBotRequest |
withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
|
UpdateBotRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBotId(String botId)
The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.
botId
- The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.public String getBotId()
The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.
public UpdateBotRequest withBotId(String botId)
The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.
botId
- The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.public void setBotName(String botName)
The new name of the bot. The name must be unique in the account that creates the bot.
botName
- The new name of the bot. The name must be unique in the account that creates the bot.public String getBotName()
The new name of the bot. The name must be unique in the account that creates the bot.
public UpdateBotRequest withBotName(String botName)
The new name of the bot. The name must be unique in the account that creates the bot.
botName
- The new name of the bot. The name must be unique in the account that creates the bot.public void setDescription(String description)
A description of the bot.
description
- A description of the bot.public String getDescription()
A description of the bot.
public UpdateBotRequest withDescription(String description)
A description of the bot.
description
- A description of the bot.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
public UpdateBotRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.public void setDataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
dataPrivacy
- Provides information on additional privacy protections Amazon Lex should use with the bot's data.public DataPrivacy getDataPrivacy()
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
public UpdateBotRequest withDataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
dataPrivacy
- Provides information on additional privacy protections Amazon Lex should use with the bot's data.public void setIdleSessionTTLInSeconds(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.
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.
public Integer getIdleSessionTTLInSeconds()
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 withIdleSessionTTLInSeconds(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.
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.
public void setBotType(String botType)
The type of the bot to be updated.
botType
- The type of the bot to be updated.BotType
public String getBotType()
The type of the bot to be updated.
BotType
public UpdateBotRequest withBotType(String botType)
The type of the bot to be updated.
botType
- The type of the bot to be updated.BotType
public UpdateBotRequest withBotType(BotType botType)
The type of the bot to be updated.
botType
- The type of the bot to be updated.BotType
public List<BotMember> getBotMembers()
The list of bot members in the network associated with the update action.
public void setBotMembers(Collection<BotMember> botMembers)
The list of bot members in the network associated with the update action.
botMembers
- The list of bot members in the network associated with the update action.public UpdateBotRequest withBotMembers(BotMember... botMembers)
The list of bot members in the network associated with the update action.
NOTE: This method appends the values to the existing list (if any). Use
setBotMembers(java.util.Collection)
or withBotMembers(java.util.Collection)
if you want to
override the existing values.
botMembers
- The list of bot members in the network associated with the update action.public UpdateBotRequest withBotMembers(Collection<BotMember> botMembers)
The list of bot members in the network associated with the update action.
botMembers
- The list of bot members in the network associated with the update action.public String toString()
toString
in class Object
Object.toString()
public UpdateBotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()