Interface BotChannelAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BotChannelAssociation.Builder,
,BotChannelAssociation> SdkBuilder<BotChannelAssociation.Builder,
,BotChannelAssociation> SdkPojo
- Enclosing class:
BotChannelAssociation
-
Method Summary
Modifier and TypeMethodDescriptionAn alias pointing to the specific version of the Amazon Lex bot to which this association is being made.botConfiguration
(Map<String, String> botConfiguration) Provides information necessary to communicate with the messaging platform.The name of the Amazon Lex bot to which this association is being made.createdDate
(Instant createdDate) The date that the association between the Amazon Lex bot and the channel was created.description
(String description) A text description of the association you are creating.failureReason
(String failureReason) Ifstatus
isFAILED
, Amazon Lex provides the reason that it failed to create the association.The name of the association between the bot and the channel.The status of the bot channel.status
(ChannelStatus status) The status of the bot channel.Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the association between the bot and the channel.
- Parameters:
name
- The name of the association between the bot and the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A text description of the association you are creating.
- Parameters:
description
- A text description of the association you are creating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAlias
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
- Parameters:
botAlias
- An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
The date that the association between the Amazon Lex bot and the channel was created.
- Parameters:
createdDate
- The date that the association between the Amazon Lex bot and the channel was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.
- Parameters:
type
- Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.
- Parameters:
type
- Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botConfiguration
Provides information necessary to communicate with the messaging platform.
- Parameters:
botConfiguration
- Provides information necessary to communicate with the messaging platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 thefailureReason
field.
- Parameters:
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 thefailureReason
field.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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 thefailureReason
field.
- Parameters:
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 thefailureReason
field.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
failureReason
If
status
isFAILED
, Amazon Lex provides the reason that it failed to create the association.- Parameters:
failureReason
- Ifstatus
isFAILED
, Amazon Lex provides the reason that it failed to create the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-