Interface CreateChannelResponse.Builder

    • Method Detail

      • channelArn

        CreateChannelResponse.Builder channelArn​(String channelArn)

        The Amazon Resource Name (ARN) of the new channel.

        Parameters:
        channelArn - The Amazon Resource Name (ARN) of the new channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateChannelResponse.Builder name​(String name)

        The name of the new channel.

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

        CreateChannelResponse.Builder source​(String source)

        The partner or external event source name.

        Parameters:
        source - The partner or external event source name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinations

        CreateChannelResponse.Builder destinations​(Collection<Destination> destinations)

        The event data stores that log the events arriving through the channel.

        Parameters:
        destinations - The event data stores that log the events arriving through the channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinations

        CreateChannelResponse.Builder destinations​(Destination... destinations)

        The event data stores that log the events arriving through the channel.

        Parameters:
        destinations - The event data stores that log the events arriving through the channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateChannelResponse.Builder tags​(Collection<Tag> tags)
        Sets the value of the Tags property for this object.
        Parameters:
        tags - The new value for the Tags property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateChannelResponse.Builder tags​(Tag... tags)
        Sets the value of the Tags property for this object.
        Parameters:
        tags - The new value for the Tags property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateChannelResponse.Builder tags​(Consumer<Tag.Builder>... tags)
        Sets the value of the Tags property for this object. This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)