Interface TopicVisual.Builder

    • Method Detail

      • visualId

        TopicVisual.Builder visualId​(String visualId)

        The visual ID for the TopicVisual.

        Parameters:
        visualId - The visual ID for the TopicVisual.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • role

        TopicVisual.Builder role​(String role)

        The role for the TopicVisual.

        Parameters:
        role - The role for the TopicVisual.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VisualRole, VisualRole
      • role

        TopicVisual.Builder role​(VisualRole role)

        The role for the TopicVisual.

        Parameters:
        role - The role for the TopicVisual.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VisualRole, VisualRole
      • ir

        TopicVisual.Builder ir​(TopicIR ir)

        The ir for the TopicVisual.

        Parameters:
        ir - The ir for the TopicVisual.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportingVisuals

        TopicVisual.Builder supportingVisuals​(Collection<TopicVisual> supportingVisuals)

        The supporting visuals for the TopicVisual.

        Parameters:
        supportingVisuals - The supporting visuals for the TopicVisual.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportingVisuals

        TopicVisual.Builder supportingVisuals​(TopicVisual... supportingVisuals)

        The supporting visuals for the TopicVisual.

        Parameters:
        supportingVisuals - The supporting visuals for the TopicVisual.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportingVisuals

        TopicVisual.Builder supportingVisuals​(Consumer<TopicVisual.Builder>... supportingVisuals)

        The supporting visuals for the TopicVisual.

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

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

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