public class AssociateBotRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Allows the specified Amazon Connect instance to access the specified Amazon Lex or Amazon Lex V2 bot.
| Constructor and Description |
|---|
AssociateBotRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
LexBot |
getLexBot()
Configuration information of an Amazon Lex bot.
|
LexV2Bot |
getLexV2Bot()
The Amazon Lex V2 bot to associate with the instance.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setLexBot(LexBot lexBot)
Configuration information of an Amazon Lex bot.
|
void |
setLexV2Bot(LexV2Bot lexV2Bot)
The Amazon Lex V2 bot to associate with the instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateBotRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
AssociateBotRequest |
withLexBot(LexBot lexBot)
Configuration information of an Amazon Lex bot.
|
AssociateBotRequest |
withLexV2Bot(LexV2Bot lexV2Bot)
The Amazon Lex V2 bot to associate with the instance.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public AssociateBotRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public LexBot getLexBot()
Configuration information of an Amazon Lex bot.
Configuration information of an Amazon Lex bot.
public void setLexBot(LexBot lexBot)
Configuration information of an Amazon Lex bot.
lexBot - Configuration information of an Amazon Lex bot.
public AssociateBotRequest withLexBot(LexBot lexBot)
Configuration information of an Amazon Lex bot.
Returns a reference to this object so that method calls can be chained together.
lexBot - Configuration information of an Amazon Lex bot.
public LexV2Bot getLexV2Bot()
The Amazon Lex V2 bot to associate with the instance.
The Amazon Lex V2 bot to associate with the instance.
public void setLexV2Bot(LexV2Bot lexV2Bot)
The Amazon Lex V2 bot to associate with the instance.
lexV2Bot - The Amazon Lex V2 bot to associate with the instance.
public AssociateBotRequest withLexV2Bot(LexV2Bot lexV2Bot)
The Amazon Lex V2 bot to associate with the instance.
Returns a reference to this object so that method calls can be chained together.
lexV2Bot - The Amazon Lex V2 bot to associate with the instance.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object