public static interface SlotTypeConfiguration.Builder extends SdkPojo, CopyableBuilder<SlotTypeConfiguration.Builder,SlotTypeConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default SlotTypeConfiguration.Builder |
regexConfiguration(Consumer<SlotTypeRegexConfiguration.Builder> regexConfiguration)
A regular expression used to validate the value of a slot.
|
SlotTypeConfiguration.Builder |
regexConfiguration(SlotTypeRegexConfiguration regexConfiguration)
A regular expression used to validate the value of a slot.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSlotTypeConfiguration.Builder regexConfiguration(SlotTypeRegexConfiguration regexConfiguration)
A regular expression used to validate the value of a slot.
regexConfiguration - A regular expression used to validate the value of a slot.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.Builder
avoiding the need to create one manually via SlotTypeRegexConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to regexConfiguration(SlotTypeRegexConfiguration).regexConfiguration - a consumer that will call methods on SlotTypeRegexConfiguration.BuilderregexConfiguration(SlotTypeRegexConfiguration)Copyright © 2022. All rights reserved.