Interface BotChannelAssociation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BotChannelAssociation.Builder,BotChannelAssociation>,SdkBuilder<BotChannelAssociation.Builder,BotChannelAssociation>,SdkPojo
- Enclosing class:
- BotChannelAssociation
public static interface BotChannelAssociation.Builder extends SdkPojo, CopyableBuilder<BotChannelAssociation.Builder,BotChannelAssociation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BotChannelAssociation.BuilderbotAlias(String botAlias)An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.BotChannelAssociation.BuilderbotConfiguration(Map<String,String> botConfiguration)Provides information necessary to communicate with the messaging platform.BotChannelAssociation.BuilderbotName(String botName)The name of the Amazon Lex bot to which this association is being made.BotChannelAssociation.BuildercreatedDate(Instant createdDate)The date that the association between the Amazon Lex bot and the channel was created.BotChannelAssociation.Builderdescription(String description)A text description of the association you are creating.BotChannelAssociation.BuilderfailureReason(String failureReason)IfstatusisFAILED, Amazon Lex provides the reason that it failed to create the association.BotChannelAssociation.Buildername(String name)The name of the association between the bot and the channel.BotChannelAssociation.Builderstatus(String status)The status of the bot channel.BotChannelAssociation.Builderstatus(ChannelStatus status)The status of the bot channel.BotChannelAssociation.Buildertype(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.BotChannelAssociation.Buildertype(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 Detail
-
name
BotChannelAssociation.Builder name(String 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
BotChannelAssociation.Builder description(String 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
BotChannelAssociation.Builder botAlias(String 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
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.
- 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
BotChannelAssociation.Builder createdDate(Instant 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
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.
- 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:
ChannelType,ChannelType
-
type
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.
- 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:
ChannelType,ChannelType
-
botConfiguration
BotChannelAssociation.Builder botConfiguration(Map<String,String> 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
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 thefailureReasonfield.
- 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 thefailureReasonfield.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelStatus,ChannelStatus
-
-
status
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 thefailureReasonfield.
- 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 thefailureReasonfield.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelStatus,ChannelStatus
-
-
failureReason
BotChannelAssociation.Builder failureReason(String failureReason)
If
statusisFAILED, Amazon Lex provides the reason that it failed to create the association.- Parameters:
failureReason- IfstatusisFAILED, 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.
-
-