public static interface BotChannelAssociation.Builder extends SdkPojo, CopyableBuilder<BotChannelAssociation.Builder,BotChannelAssociation>
Modifier and Type | Method and Description |
---|---|
BotChannelAssociation.Builder |
botAlias(String botAlias)
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
|
BotChannelAssociation.Builder |
botConfiguration(Map<String,String> botConfiguration)
Provides information necessary to communicate with the messaging platform.
|
BotChannelAssociation.Builder |
botName(String botName)
The name of the Amazon Lex bot to which this association is being made.
|
BotChannelAssociation.Builder |
createdDate(Instant createdDate)
The date that the association between the Amazon Lex bot and the channel was created.
|
BotChannelAssociation.Builder |
description(String description)
A text description of the association you are creating.
|
BotChannelAssociation.Builder |
failureReason(String failureReason)
If
status is FAILED , Amazon Lex provides the reason that it failed to create the
association. |
BotChannelAssociation.Builder |
name(String name)
The name of the association between the bot and the channel.
|
BotChannelAssociation.Builder |
status(ChannelStatus status)
The status of the bot channel.
|
BotChannelAssociation.Builder |
status(String status)
The status of the bot channel.
|
BotChannelAssociation.Builder |
type(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.Builder |
type(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.
|
copy
applyMutation, build
BotChannelAssociation.Builder name(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.BotChannelAssociation.Builder description(String description)
A text description of the association you are creating.
description
- A text description of the association you are creating.BotChannelAssociation.Builder botAlias(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.BotChannelAssociation.Builder botName(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.
BotChannelAssociation.Builder createdDate(Instant 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.BotChannelAssociation.Builder type(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
,
ChannelType
BotChannelAssociation.Builder type(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
,
ChannelType
BotChannelAssociation.Builder botConfiguration(Map<String,String> botConfiguration)
Provides information necessary to communicate with the messaging platform.
botConfiguration
- Provides information necessary to communicate with the messaging platform.BotChannelAssociation.Builder status(String status)
The status of the bot channel.
CREATED
- The channel has been created and is ready for use.
IN_PROGRESS
- Channel creation is in progress.
FAILED
- There was an error creating the channel. For information about the reason for the
failure, see the failureReason
field.
status
- The status of the bot channel.
CREATED
- The channel has been created and is ready for use.
IN_PROGRESS
- Channel creation is in progress.
FAILED
- There was an error creating the channel. For information about the reason for
the failure, see the failureReason
field.
ChannelStatus
,
ChannelStatus
BotChannelAssociation.Builder status(ChannelStatus status)
The status of the bot channel.
CREATED
- The channel has been created and is ready for use.
IN_PROGRESS
- Channel creation is in progress.
FAILED
- There was an error creating the channel. For information about the reason for the
failure, see the failureReason
field.
status
- The status of the bot channel.
CREATED
- The channel has been created and is ready for use.
IN_PROGRESS
- Channel creation is in progress.
FAILED
- There was an error creating the channel. For information about the reason for
the failure, see the failureReason
field.
ChannelStatus
,
ChannelStatus
BotChannelAssociation.Builder failureReason(String failureReason)
If status
is FAILED
, Amazon Lex provides the reason that it failed to create the
association.
failureReason
- If status
is FAILED
, Amazon Lex provides the reason that it failed to create
the association.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.