Interface GetBotChannelAssociationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBotChannelAssociationResponse.Builder,GetBotChannelAssociationResponse>,LexModelBuildingResponse.Builder,SdkBuilder<GetBotChannelAssociationResponse.Builder,GetBotChannelAssociationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBotChannelAssociationResponse
public static interface GetBotChannelAssociationResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBotChannelAssociationResponse.Builder,GetBotChannelAssociationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBotChannelAssociationResponse.BuilderbotAlias(String botAlias)An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.GetBotChannelAssociationResponse.BuilderbotConfiguration(Map<String,String> botConfiguration)Provides information that the messaging platform needs to communicate with the Amazon Lex bot.GetBotChannelAssociationResponse.BuilderbotName(String botName)The name of the Amazon Lex bot.GetBotChannelAssociationResponse.BuildercreatedDate(Instant createdDate)The date that the association between the bot and the channel was created.GetBotChannelAssociationResponse.Builderdescription(String description)A description of the association between the bot and the channel.GetBotChannelAssociationResponse.BuilderfailureReason(String failureReason)IfstatusisFAILED, Amazon Lex provides the reason that it failed to create the association.GetBotChannelAssociationResponse.Buildername(String name)The name of the association between the bot and the channel.GetBotChannelAssociationResponse.Builderstatus(String status)The status of the bot channel.GetBotChannelAssociationResponse.Builderstatus(ChannelStatus status)The status of the bot channel.GetBotChannelAssociationResponse.Buildertype(String type)The type of the messaging platform.GetBotChannelAssociationResponse.Buildertype(ChannelType type)The type of the messaging platform.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
GetBotChannelAssociationResponse.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
GetBotChannelAssociationResponse.Builder description(String description)
A description of the association between the bot and the channel.
- Parameters:
description- A description of the association between the bot and the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAlias
GetBotChannelAssociationResponse.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
GetBotChannelAssociationResponse.Builder botName(String botName)
The name of the Amazon Lex bot.
- Parameters:
botName- The name of the Amazon Lex bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
GetBotChannelAssociationResponse.Builder createdDate(Instant createdDate)
The date that the association between the bot and the channel was created.
- Parameters:
createdDate- The date that the association between the bot and the channel was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
GetBotChannelAssociationResponse.Builder type(String type)
The type of the messaging platform.
- Parameters:
type- The type of the messaging platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelType,ChannelType
-
type
GetBotChannelAssociationResponse.Builder type(ChannelType type)
The type of the messaging platform.
- Parameters:
type- The type of the messaging platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelType,ChannelType
-
botConfiguration
GetBotChannelAssociationResponse.Builder botConfiguration(Map<String,String> botConfiguration)
Provides information that the messaging platform needs to communicate with the Amazon Lex bot.
- Parameters:
botConfiguration- Provides information that the messaging platform needs to communicate with the Amazon Lex bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetBotChannelAssociationResponse.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
GetBotChannelAssociationResponse.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
GetBotChannelAssociationResponse.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.
-
-