Interface Channel.Builder

    • Method Detail

      • name

        Channel.Builder name​(String name)

        The name of a channel.

        Parameters:
        name - The name of a channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channelArn

        Channel.Builder channelArn​(String channelArn)

        The ARN of a channel.

        Parameters:
        channelArn - The ARN of a channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mode

        Channel.Builder mode​(String mode)

        The mode of the channel.

        Parameters:
        mode - The mode of the channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelMode, ChannelMode
      • mode

        Channel.Builder mode​(ChannelMode mode)

        The mode of the channel.

        Parameters:
        mode - The mode of the channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelMode, ChannelMode
      • privacy

        Channel.Builder privacy​(String privacy)

        The channel's privacy setting.

        Parameters:
        privacy - The channel's privacy setting.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelPrivacy, ChannelPrivacy
      • metadata

        Channel.Builder metadata​(String metadata)

        The channel's metadata.

        Parameters:
        metadata - The channel's metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        Channel.Builder createdBy​(Identity createdBy)

        The AppInstanceUser who created the channel.

        Parameters:
        createdBy - The AppInstanceUser who created the channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTimestamp

        Channel.Builder createdTimestamp​(Instant createdTimestamp)

        The time at which the AppInstanceUser created the channel.

        Parameters:
        createdTimestamp - The time at which the AppInstanceUser created the channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastMessageTimestamp

        Channel.Builder lastMessageTimestamp​(Instant lastMessageTimestamp)

        The time at which a member sent the last message in the channel.

        Parameters:
        lastMessageTimestamp - The time at which a member sent the last message in the channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTimestamp

        Channel.Builder lastUpdatedTimestamp​(Instant lastUpdatedTimestamp)

        The time at which a channel was last updated.

        Parameters:
        lastUpdatedTimestamp - The time at which a channel was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channelFlowArn

        Channel.Builder channelFlowArn​(String channelFlowArn)

        The ARN of the channel flow.

        Parameters:
        channelFlowArn - The ARN of the channel flow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • elasticChannelConfiguration

        Channel.Builder elasticChannelConfiguration​(ElasticChannelConfiguration elasticChannelConfiguration)

        The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.

        Parameters:
        elasticChannelConfiguration - The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expirationSettings

        Channel.Builder expirationSettings​(ExpirationSettings expirationSettings)

        Settings that control when a channel expires.

        Parameters:
        expirationSettings - Settings that control when a channel expires.
        Returns:
        Returns a reference to this object so that method calls can be chained together.