Interface FieldConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FieldConfig.Builder,FieldConfig>,SdkBuilder<FieldConfig.Builder,FieldConfig>,SdkPojo
- Enclosing class:
- FieldConfig
public static interface FieldConfig.Builder extends SdkPojo, CopyableBuilder<FieldConfig.Builder,FieldConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FieldConfig.Builderexcluded(Boolean excluded)Specifies whether to hide a field.default FieldConfig.BuilderinputType(Consumer<FieldInputConfig.Builder> inputType)Describes the configuration for the default input value to display for a field.FieldConfig.BuilderinputType(FieldInputConfig inputType)Describes the configuration for the default input value to display for a field.FieldConfig.Builderlabel(String label)The label for the field.default FieldConfig.Builderposition(Consumer<FieldPosition.Builder> position)Specifies the field position.FieldConfig.Builderposition(FieldPosition position)Specifies the field position.FieldConfig.Buildervalidations(Collection<FieldValidationConfiguration> validations)The validations to perform on the value in the field.FieldConfig.Buildervalidations(Consumer<FieldValidationConfiguration.Builder>... validations)The validations to perform on the value in the field.FieldConfig.Buildervalidations(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
label
FieldConfig.Builder label(String 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
FieldConfig.Builder position(FieldPosition 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
default FieldConfig.Builder position(Consumer<FieldPosition.Builder> position)
Specifies the field position.
This is a convenience method that creates an instance of theFieldPosition.Builderavoiding the need to create one manually viaFieldPosition.builder().When the
Consumercompletes,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:
position(FieldPosition)
-
excluded
FieldConfig.Builder excluded(Boolean 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
FieldConfig.Builder inputType(FieldInputConfig 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
default FieldConfig.Builder inputType(Consumer<FieldInputConfig.Builder> 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.Builderavoiding the need to create one manually viaFieldInputConfig.builder().When the
Consumercompletes,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:
inputType(FieldInputConfig)
-
validations
FieldConfig.Builder validations(Collection<FieldValidationConfiguration> 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
FieldConfig.Builder validations(FieldValidationConfiguration... 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
FieldConfig.Builder validations(Consumer<FieldValidationConfiguration.Builder>... validations)
The validations to perform on the value in the field.
This is a convenience method that creates an instance of theFieldValidationConfiguration.Builderavoiding the need to create one manually viaFieldValidationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#validations(List.) - 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:
#validations(java.util.Collection)
-
-