Interface LayoutSections.Builder

    • Method Detail

      • sections

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

        LayoutSections.Builder sections​(Section... sections)
        Sets the value of the Sections property for this object.
        Parameters:
        sections - The new value for the Sections property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sections

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

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

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