@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BotChannelAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Represents an association between an Amazon Lex bot and an external messaging platform.
Constructor and Description |
---|
BotChannelAssociation() |
Modifier and Type | Method and Description |
---|---|
BotChannelAssociation |
addBotConfigurationEntry(String key,
String value) |
BotChannelAssociation |
clearBotConfigurationEntries()
Removes all the entries added into BotConfiguration.
|
BotChannelAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getBotAlias()
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
|
Map<String,String> |
getBotConfiguration()
Provides information necessary to communicate with the messaging platform.
|
String |
getBotName()
The name of the Amazon Lex bot to which this association is being made.
|
Date |
getCreatedDate()
The date that the association between the Amazon Lex bot and the channel was created.
|
String |
getDescription()
A text description of the association you are creating.
|
String |
getName()
The name of the association between the bot and the channel.
|
String |
getType()
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot
and the external messaging platform.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBotAlias(String botAlias)
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
|
void |
setBotConfiguration(Map<String,String> botConfiguration)
Provides information necessary to communicate with the messaging platform.
|
void |
setBotName(String botName)
The name of the Amazon Lex bot to which this association is being made.
|
void |
setCreatedDate(Date createdDate)
The date that the association between the Amazon Lex bot and the channel was created.
|
void |
setDescription(String description)
A text description of the association you are creating.
|
void |
setName(String name)
The name of the association between the bot and the channel.
|
void |
setType(ChannelType type)
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot
and the external messaging platform.
|
void |
setType(String type)
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot
and the external messaging platform.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BotChannelAssociation |
withBotAlias(String botAlias)
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
|
BotChannelAssociation |
withBotConfiguration(Map<String,String> botConfiguration)
Provides information necessary to communicate with the messaging platform.
|
BotChannelAssociation |
withBotName(String botName)
The name of the Amazon Lex bot to which this association is being made.
|
BotChannelAssociation |
withCreatedDate(Date createdDate)
The date that the association between the Amazon Lex bot and the channel was created.
|
BotChannelAssociation |
withDescription(String description)
A text description of the association you are creating.
|
BotChannelAssociation |
withName(String name)
The name of the association between the bot and the channel.
|
BotChannelAssociation |
withType(ChannelType type)
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot
and the external messaging platform.
|
BotChannelAssociation |
withType(String type)
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot
and the external messaging platform.
|
public void setName(String name)
The name of the association between the bot and the channel.
name
- The name of the association between the bot and the channel.public String getName()
The name of the association between the bot and the channel.
public BotChannelAssociation withName(String name)
The name of the association between the bot and the channel.
name
- The name of the association between the bot and the channel.public void setDescription(String description)
A text description of the association you are creating.
description
- A text description of the association you are creating.public String getDescription()
A text description of the association you are creating.
public BotChannelAssociation withDescription(String description)
A text description of the association you are creating.
description
- A text description of the association you are creating.public void setBotAlias(String botAlias)
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
botAlias
- An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.public String getBotAlias()
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
public BotChannelAssociation withBotAlias(String botAlias)
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
botAlias
- An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.public void setBotName(String botName)
The name of the Amazon Lex bot to which this association is being made.
Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.
botName
- The name of the Amazon Lex bot to which this association is being made. Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.
public String getBotName()
The name of the Amazon Lex bot to which this association is being made.
Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.
Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.
public BotChannelAssociation withBotName(String botName)
The name of the Amazon Lex bot to which this association is being made.
Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.
botName
- The name of the Amazon Lex bot to which this association is being made. Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.
public void setCreatedDate(Date createdDate)
The date that the association between the Amazon Lex bot and the channel was created.
createdDate
- The date that the association between the Amazon Lex bot and the channel was created.public Date getCreatedDate()
The date that the association between the Amazon Lex bot and the channel was created.
public BotChannelAssociation withCreatedDate(Date createdDate)
The date that the association between the Amazon Lex bot and the channel was created.
createdDate
- The date that the association between the Amazon Lex bot and the channel was created.public void setType(String type)
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.
type
- Specifies the type of association by indicating the type of channel being established between the Amazon
Lex bot and the external messaging platform.ChannelType
public String getType()
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.
ChannelType
public BotChannelAssociation withType(String type)
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.
type
- Specifies the type of association by indicating the type of channel being established between the Amazon
Lex bot and the external messaging platform.ChannelType
public void setType(ChannelType type)
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.
type
- Specifies the type of association by indicating the type of channel being established between the Amazon
Lex bot and the external messaging platform.ChannelType
public BotChannelAssociation withType(ChannelType type)
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.
type
- Specifies the type of association by indicating the type of channel being established between the Amazon
Lex bot and the external messaging platform.ChannelType
public Map<String,String> getBotConfiguration()
Provides information necessary to communicate with the messaging platform.
public void setBotConfiguration(Map<String,String> botConfiguration)
Provides information necessary to communicate with the messaging platform.
botConfiguration
- Provides information necessary to communicate with the messaging platform.public BotChannelAssociation withBotConfiguration(Map<String,String> botConfiguration)
Provides information necessary to communicate with the messaging platform.
botConfiguration
- Provides information necessary to communicate with the messaging platform.public BotChannelAssociation addBotConfigurationEntry(String key, String value)
public BotChannelAssociation clearBotConfigurationEntries()
public String toString()
toString
in class Object
Object.toString()
public BotChannelAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.