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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TopicTemplate.Builderslots(Collection<Slot> slots)The slots for theTopicTemplate.TopicTemplate.Builderslots(Consumer<Slot.Builder>... slots)The slots for theTopicTemplate.TopicTemplate.Builderslots(Slot... slots)The slots for theTopicTemplate.TopicTemplate.BuildertemplateType(String templateType)The template type for theTopicTemplate.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
templateType
TopicTemplate.Builder templateType(String 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
TopicTemplate.Builder slots(Collection<Slot> 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
TopicTemplate.Builder slots(Slot... 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
TopicTemplate.Builder slots(Consumer<Slot.Builder>... 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 to#slots(List.) - 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:
#slots(java.util.Collection)
-
-