Interface CreateConnectionRequest.Builder

    • Method Detail

      • connectionName

        CreateConnectionRequest.Builder connectionName​(String connectionName)

        A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.

        Parameters:
        connectionName - A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateConnectionRequest.Builder tags​(Collection<Tag> tags)

        A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.

        Parameters:
        tags - A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateConnectionRequest.Builder tags​(Tag... tags)

        A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.

        Parameters:
        tags - A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateConnectionRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.

        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)