Interface LendingField.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LendingField.Builder,
,LendingField> SdkBuilder<LendingField.Builder,
,LendingField> SdkPojo
- Enclosing class:
LendingField
@Mutable
@NotThreadSafe
public static interface LendingField.Builder
extends SdkPojo, CopyableBuilder<LendingField.Builder,LendingField>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LendingField.Builder
keyDetection
(Consumer<LendingDetection.Builder> keyDetection) Sets the value of the KeyDetection property for this object.keyDetection
(LendingDetection keyDetection) Sets the value of the KeyDetection property for this object.The type of the lending document.valueDetections
(Collection<LendingDetection> valueDetections) An array of LendingDetection objects.valueDetections
(Consumer<LendingDetection.Builder>... valueDetections) An array of LendingDetection objects.valueDetections
(LendingDetection... valueDetections) An array of LendingDetection objects.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
-
type
The type of the lending document.
- Parameters:
type
- The type of the lending document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyDetection
Sets the value of the KeyDetection property for this object.- Parameters:
keyDetection
- The new value for the KeyDetection property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyDetection
Sets the value of the KeyDetection property for this object. This is a convenience method that creates an instance of theLendingDetection.Builder
avoiding the need to create one manually viaLendingDetection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyDetection(LendingDetection)
.- Parameters:
keyDetection
- a consumer that will call methods onLendingDetection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
valueDetections
An array of LendingDetection objects.
- Parameters:
valueDetections
- An array of LendingDetection objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueDetections
An array of LendingDetection objects.
- Parameters:
valueDetections
- An array of LendingDetection objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueDetections
An array of LendingDetection objects.
This is a convenience method that creates an instance of theLendingDetection.Builder
avoiding the need to create one manually viaLendingDetection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalueDetections(List<LendingDetection>)
.- Parameters:
valueDetections
- a consumer that will call methods onLendingDetection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-