Interface TopicTemplate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TopicTemplate.Builder,,TopicTemplate> SdkBuilder<TopicTemplate.Builder,,TopicTemplate> SdkPojo
- Enclosing class:
TopicTemplate
@Mutable
@NotThreadSafe
public static interface TopicTemplate.Builder
extends SdkPojo, CopyableBuilder<TopicTemplate.Builder,TopicTemplate>
-
Method Summary
Modifier and TypeMethodDescriptionslots(Collection<Slot> slots) The slots for theTopicTemplate.slots(Consumer<Slot.Builder>... slots) The slots for theTopicTemplate.The slots for theTopicTemplate.templateType(String templateType) The template type for theTopicTemplate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
templateType
The template type for the
TopicTemplate.- Parameters:
templateType- The template type for theTopicTemplate.- 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 theTopicTemplate.- 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 theTopicTemplate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slots
The slots for the
This is a convenience method that creates an instance of theTopicTemplate.Slot.Builderavoiding the need to create one manually viaSlot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toslots(List<Slot>).- Parameters:
slots- a consumer that will call methods onSlot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-