Interface Attribution.Builder

    • Method Detail

      • citations

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

        Attribution.Builder citations​(Citation... citations)
        Sets the value of the Citations property for this object.
        Parameters:
        citations - The new value for the Citations property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • citations

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

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

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