Interface SlotTypeConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SlotTypeConfiguration.Builder,SlotTypeConfiguration>,SdkBuilder<SlotTypeConfiguration.Builder,SlotTypeConfiguration>,SdkPojo
- Enclosing class:
- SlotTypeConfiguration
public static interface SlotTypeConfiguration.Builder extends SdkPojo, CopyableBuilder<SlotTypeConfiguration.Builder,SlotTypeConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SlotTypeConfiguration.BuilderregexConfiguration(Consumer<SlotTypeRegexConfiguration.Builder> regexConfiguration)A regular expression used to validate the value of a slot.SlotTypeConfiguration.BuilderregexConfiguration(SlotTypeRegexConfiguration regexConfiguration)A regular expression used to validate the value of a 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
-
regexConfiguration
SlotTypeConfiguration.Builder regexConfiguration(SlotTypeRegexConfiguration regexConfiguration)
A regular expression used to validate the value of a slot.
- Parameters:
regexConfiguration- A regular expression used to validate the value of a slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexConfiguration
default SlotTypeConfiguration.Builder regexConfiguration(Consumer<SlotTypeRegexConfiguration.Builder> regexConfiguration)
A regular expression used to validate the value of a slot.
This is a convenience method that creates an instance of theSlotTypeRegexConfiguration.Builderavoiding the need to create one manually viaSlotTypeRegexConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregexConfiguration(SlotTypeRegexConfiguration).- Parameters:
regexConfiguration- a consumer that will call methods onSlotTypeRegexConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
regexConfiguration(SlotTypeRegexConfiguration)
-
-