Interface GetBotChannelAssociationResponse.Builder

    • 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.
      • 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 the failureReason 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 the failureReason field.

        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 the failureReason 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 the failureReason field.

        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 status is FAILED, Amazon Lex provides the reason that it failed to create the association.

        Parameters:
        failureReason - If status is FAILED, 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.