Interface TaggedTable.Builder

    • Method Detail

      • table

        TaggedTable.Builder table​(TableResource table)

        A table that has LF-tags attached to it.

        Parameters:
        table - A table that has LF-tags attached to it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lfTagOnDatabase

        TaggedTable.Builder lfTagOnDatabase​(Collection<LFTagPair> lfTagOnDatabase)

        A list of LF-tags attached to the database where the table resides.

        Parameters:
        lfTagOnDatabase - A list of LF-tags attached to the database where the table resides.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lfTagOnDatabase

        TaggedTable.Builder lfTagOnDatabase​(LFTagPair... lfTagOnDatabase)

        A list of LF-tags attached to the database where the table resides.

        Parameters:
        lfTagOnDatabase - A list of LF-tags attached to the database where the table resides.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lfTagOnDatabase

        TaggedTable.Builder lfTagOnDatabase​(Consumer<LFTagPair.Builder>... lfTagOnDatabase)

        A list of LF-tags attached to the database where the table resides.

        This is a convenience method that creates an instance of the LFTagPair.Builder avoiding the need to create one manually via LFTagPair.builder().

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

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

        TaggedTable.Builder lfTagsOnTable​(Collection<LFTagPair> lfTagsOnTable)

        A list of LF-tags attached to the table.

        Parameters:
        lfTagsOnTable - A list of LF-tags attached to the table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lfTagsOnTable

        TaggedTable.Builder lfTagsOnTable​(LFTagPair... lfTagsOnTable)

        A list of LF-tags attached to the table.

        Parameters:
        lfTagsOnTable - A list of LF-tags attached to the table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lfTagsOnTable

        TaggedTable.Builder lfTagsOnTable​(Consumer<LFTagPair.Builder>... lfTagsOnTable)

        A list of LF-tags attached to the table.

        This is a convenience method that creates an instance of the LFTagPair.Builder avoiding the need to create one manually via LFTagPair.builder().

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

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

        TaggedTable.Builder lfTagsOnColumns​(Collection<ColumnLFTag> lfTagsOnColumns)

        A list of LF-tags attached to columns in the table.

        Parameters:
        lfTagsOnColumns - A list of LF-tags attached to columns in the table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lfTagsOnColumns

        TaggedTable.Builder lfTagsOnColumns​(ColumnLFTag... lfTagsOnColumns)

        A list of LF-tags attached to columns in the table.

        Parameters:
        lfTagsOnColumns - A list of LF-tags attached to columns in the table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lfTagsOnColumns

        TaggedTable.Builder lfTagsOnColumns​(Consumer<ColumnLFTag.Builder>... lfTagsOnColumns)

        A list of LF-tags attached to columns in the table.

        This is a convenience method that creates an instance of the ColumnLFTag.Builder avoiding the need to create one manually via ColumnLFTag.builder().

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

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