Interface CreateChannelRequest.Builder

    • Method Detail

      • name

        CreateChannelRequest.Builder name​(String name)

        The name of the channel.

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

        CreateChannelRequest.Builder source​(String source)

        The name of the partner or external event source. You cannot change this name after you create the channel. A maximum of one channel is allowed per source.

        A source can be either Custom for all valid non-Amazon Web Services events, or the name of a partner event source. For information about the source names for available partners, see Additional information about integration partners in the CloudTrail User Guide.

        Parameters:
        source - The name of the partner or external event source. You cannot change this name after you create the channel. A maximum of one channel is allowed per source.

        A source can be either Custom for all valid non-Amazon Web Services events, or the name of a partner event source. For information about the source names for available partners, see Additional information about integration partners in the CloudTrail User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinations

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

        One or more event data stores to which events arriving through a channel will be logged.

        Parameters:
        destinations - One or more event data stores to which events arriving through a channel will be logged.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinations

        CreateChannelRequest.Builder destinations​(Destination... destinations)

        One or more event data stores to which events arriving through a channel will be logged.

        Parameters:
        destinations - One or more event data stores to which events arriving through a channel will be logged.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateChannelRequest.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

        CreateChannelRequest.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

        CreateChannelRequest.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)