public static interface FieldConfig.Builder extends SdkPojo, CopyableBuilder<FieldConfig.Builder,FieldConfig>
| Modifier and Type | Method and Description |
|---|---|
FieldConfig.Builder |
excluded(Boolean excluded)
Specifies 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.
|
FieldConfig.Builder |
inputType(FieldInputConfig inputType)
Describes the configuration for the default input value to display for a field.
|
FieldConfig.Builder |
label(String label)
The label for the field.
|
default FieldConfig.Builder |
position(Consumer<FieldPosition.Builder> position)
Specifies the field position.
|
FieldConfig.Builder |
position(FieldPosition position)
Specifies the field position.
|
FieldConfig.Builder |
validations(Collection<FieldValidationConfiguration> validations)
The validations to perform on the value in the field.
|
FieldConfig.Builder |
validations(Consumer<FieldValidationConfiguration.Builder>... validations)
The validations to perform on the value in the field.
|
FieldConfig.Builder |
validations(FieldValidationConfiguration... validations)
The validations to perform on the value in the field.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFieldConfig.Builder excluded(Boolean excluded)
Specifies whether to hide a field.
excluded - Specifies whether to hide a field.FieldConfig.Builder inputType(FieldInputConfig inputType)
Describes the configuration for the default input value to display for a field.
inputType - Describes the configuration for the default input value to display for a field.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.Builder avoiding the
need to create one manually via FieldInputConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to inputType(FieldInputConfig).
inputType - a consumer that will call methods on FieldInputConfig.BuilderinputType(FieldInputConfig)FieldConfig.Builder label(String label)
The label for the field.
label - The label for the field.FieldConfig.Builder position(FieldPosition position)
Specifies the field position.
position - Specifies the field position.default FieldConfig.Builder position(Consumer<FieldPosition.Builder> position)
Specifies the field position.
This is a convenience method that creates an instance of theFieldPosition.Builder avoiding the need
to create one manually via FieldPosition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to position(FieldPosition).
position - a consumer that will call methods on FieldPosition.Builderposition(FieldPosition)FieldConfig.Builder validations(Collection<FieldValidationConfiguration> validations)
The validations to perform on the value in the field.
validations - The validations to perform on the value in the field.FieldConfig.Builder validations(FieldValidationConfiguration... validations)
The validations to perform on the value in the field.
validations - The validations to perform on the value in the field.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.Builder avoiding
the need to create one manually via
FieldValidationConfiguration.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #validations(List.
validations - a consumer that will call methods on
FieldValidationConfiguration.Builder#validations(java.util.Collection) Copyright © 2022. All rights reserved.