Interface CompositeSlotTypeSetting.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CompositeSlotTypeSetting.Builder,CompositeSlotTypeSetting>,SdkBuilder<CompositeSlotTypeSetting.Builder,CompositeSlotTypeSetting>,SdkPojo
- Enclosing class:
- CompositeSlotTypeSetting
public static interface CompositeSlotTypeSetting.Builder extends SdkPojo, CopyableBuilder<CompositeSlotTypeSetting.Builder,CompositeSlotTypeSetting>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompositeSlotTypeSetting.BuildersubSlots(Collection<SubSlotTypeComposition> subSlots)Subslots in the composite slot.CompositeSlotTypeSetting.BuildersubSlots(Consumer<SubSlotTypeComposition.Builder>... subSlots)Subslots in the composite slot.CompositeSlotTypeSetting.BuildersubSlots(SubSlotTypeComposition... subSlots)Subslots in the composite slot.-
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, sdkFields
-
-
-
-
Method Detail
-
subSlots
CompositeSlotTypeSetting.Builder subSlots(Collection<SubSlotTypeComposition> subSlots)
Subslots in the composite slot.
- Parameters:
subSlots- Subslots in the composite slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subSlots
CompositeSlotTypeSetting.Builder subSlots(SubSlotTypeComposition... subSlots)
Subslots in the composite slot.
- Parameters:
subSlots- Subslots in the composite slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subSlots
CompositeSlotTypeSetting.Builder subSlots(Consumer<SubSlotTypeComposition.Builder>... subSlots)
Subslots in the composite slot.
This is a convenience method that creates an instance of theSubSlotTypeComposition.Builderavoiding the need to create one manually viaSubSlotTypeComposition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subSlots(List.) - Parameters:
subSlots- a consumer that will call methods onSubSlotTypeComposition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subSlots(java.util.Collection)
-
-