Interface CreateConnectionResponse.Builder

    • Method Detail

      • connectionArn

        CreateConnectionResponse.Builder connectionArn​(String connectionArn)

        The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.

        The ARN is never reused if the connection is deleted.

        Parameters:
        connectionArn - The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.

        The ARN is never reused if the connection is deleted.

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

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

        Specifies the tags applied to the resource.

        Parameters:
        tags - Specifies the tags applied to the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateConnectionResponse.Builder tags​(Tag... tags)

        Specifies the tags applied to the resource.

        Parameters:
        tags - Specifies the tags applied to the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Specifies the tags applied to the resource.

        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)