Interface Content.Builder<A extends Content<D>,​D>

    • Method Detail

      • withDescription

        Content.Builder<A,​D> withDescription​(String description)
        Set the description of this content object
        Parameters:
        description - the content description
        Returns:
        this builder for chaining
      • withData

        default Content.Builder<A,​D> withData​(D data)
        Set the data for this content object
        Parameters:
        data - the data
        Returns:
        this builder for chaining
      • withData

        Content.Builder<A,​D> withData​(Supplier<D> data)
        Set the data for this content object, accessed via a supplier
        Parameters:
        data - the data
        Returns:
        this builder for chaining