Interface TopicTemplate.Builder

  • Method Details

    • templateType

      TopicTemplate.Builder templateType(String templateType)

      The template type for the TopicTemplate.

      Parameters:
      templateType - The template type for the TopicTemplate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slots

      The slots for the TopicTemplate.

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

      TopicTemplate.Builder slots(Slot... slots)

      The slots for the TopicTemplate.

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

      The slots for the TopicTemplate.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to slots(List<Slot>).

      Parameters:
      slots - a consumer that will call methods on Slot.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: