Interface FieldConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FieldConfig.Builder,
,FieldConfig> SdkBuilder<FieldConfig.Builder,
,FieldConfig> SdkPojo
- Enclosing class:
FieldConfig
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether to hide a field.default FieldConfig.Builder
inputType
(Consumer<FieldInputConfig.Builder> inputType) Describes the configuration for the default input value to display for a field.inputType
(FieldInputConfig inputType) Describes the configuration for the default input value to display for a field.The label for the field.default FieldConfig.Builder
position
(Consumer<FieldPosition.Builder> position) Specifies the field position.position
(FieldPosition position) Specifies the field position.validations
(Collection<FieldValidationConfiguration> validations) The validations to perform on the value in the field.validations
(Consumer<FieldValidationConfiguration.Builder>... validations) The validations to perform on the value in the field.validations
(FieldValidationConfiguration... validations) The validations to perform on the value in the 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, sdkFields
-
Method Details
-
label
The label for the field.
- Parameters:
label
- The label for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
Specifies the field position.
- Parameters:
position
- Specifies the field position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
Specifies the field position.
This is a convenience method that creates an instance of theFieldPosition.Builder
avoiding the need to create one manually viaFieldPosition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toposition(FieldPosition)
.- Parameters:
position
- a consumer that will call methods onFieldPosition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excluded
Specifies whether to hide a field.
- Parameters:
excluded
- Specifies whether to hide a field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputType
Describes the configuration for the default input value to display for a field.
- Parameters:
inputType
- Describes the configuration for the default input value to display for a field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputType
Describes the configuration for the default input value to display for a field.
This is a convenience method that creates an instance of theFieldInputConfig.Builder
avoiding the need to create one manually viaFieldInputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputType(FieldInputConfig)
.- Parameters:
inputType
- a consumer that will call methods onFieldInputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validations
The validations to perform on the value in the field.
- Parameters:
validations
- The validations to perform on the value in the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validations
The validations to perform on the value in the field.
- Parameters:
validations
- The validations to perform on the value in the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validations
The validations to perform on the value in the field.
This is a convenience method that creates an instance of theFieldValidationConfiguration.Builder
avoiding the need to create one manually viaFieldValidationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidations(List<FieldValidationConfiguration>)
.- Parameters:
validations
- a consumer that will call methods onFieldValidationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-