Interface RegistrationFieldDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RegistrationFieldDefinition.Builder,
,RegistrationFieldDefinition> SdkBuilder<RegistrationFieldDefinition.Builder,
,RegistrationFieldDefinition> SdkPojo
- Enclosing class:
RegistrationFieldDefinition
-
Method Summary
Modifier and TypeMethodDescriptiondisplayHints
(Consumer<RegistrationFieldDisplayHints.Builder> displayHints) An array of RegistrationFieldDisplayHints objects for the field.displayHints
(RegistrationFieldDisplayHints displayHints) An array of RegistrationFieldDisplayHints objects for the field.The path to the registration form field.fieldRequirement
(String fieldRequirement) Specifies if the field for the registration form is required, conditional or optional.fieldRequirement
(FieldRequirement fieldRequirement) Specifies if the field for the registration form is required, conditional or optional.The type of field.The type of field.sectionPath
(String sectionPath) The section path of the field.selectValidation
(Consumer<SelectValidation.Builder> selectValidation) The validation rules for a select field.selectValidation
(SelectValidation selectValidation) The validation rules for a select field.textValidation
(Consumer<TextValidation.Builder> textValidation) The validation rules for a text field.textValidation
(TextValidation textValidation) The validation rules for a text field.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 Details
-
sectionPath
The section path of the field.
- Parameters:
sectionPath
- The section path of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldPath
The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
- Parameters:
fieldPath
- The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldType
The type of field.
- Parameters:
fieldType
- The type of field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldType
The type of field.
- Parameters:
fieldType
- The type of field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldRequirement
Specifies if the field for the registration form is required, conditional or optional.
- Parameters:
fieldRequirement
- Specifies if the field for the registration form is required, conditional or optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldRequirement
Specifies if the field for the registration form is required, conditional or optional.
- Parameters:
fieldRequirement
- Specifies if the field for the registration form is required, conditional or optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selectValidation
The validation rules for a select field.
- Parameters:
selectValidation
- The validation rules for a select field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectValidation
default RegistrationFieldDefinition.Builder selectValidation(Consumer<SelectValidation.Builder> selectValidation) The validation rules for a select field.
This is a convenience method that creates an instance of theSelectValidation.Builder
avoiding the need to create one manually viaSelectValidation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselectValidation(SelectValidation)
.- Parameters:
selectValidation
- a consumer that will call methods onSelectValidation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textValidation
The validation rules for a text field.
- Parameters:
textValidation
- The validation rules for a text field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textValidation
default RegistrationFieldDefinition.Builder textValidation(Consumer<TextValidation.Builder> textValidation) The validation rules for a text field.
This is a convenience method that creates an instance of theTextValidation.Builder
avoiding the need to create one manually viaTextValidation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextValidation(TextValidation)
.- Parameters:
textValidation
- a consumer that will call methods onTextValidation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayHints
An array of RegistrationFieldDisplayHints objects for the field.
- Parameters:
displayHints
- An array of RegistrationFieldDisplayHints objects for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayHints
default RegistrationFieldDefinition.Builder displayHints(Consumer<RegistrationFieldDisplayHints.Builder> displayHints) An array of RegistrationFieldDisplayHints objects for the field.
This is a convenience method that creates an instance of theRegistrationFieldDisplayHints.Builder
avoiding the need to create one manually viaRegistrationFieldDisplayHints.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todisplayHints(RegistrationFieldDisplayHints)
.- Parameters:
displayHints
- a consumer that will call methods onRegistrationFieldDisplayHints.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-