Interface LendingField.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LendingField.Builder,LendingField>
,SdkBuilder<LendingField.Builder,LendingField>
,SdkPojo
- Enclosing class:
- LendingField
public static interface LendingField.Builder extends SdkPojo, CopyableBuilder<LendingField.Builder,LendingField>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LendingField.Builder
keyDetection(Consumer<LendingDetection.Builder> keyDetection)
Sets the value of the KeyDetection property for this object.LendingField.Builder
keyDetection(LendingDetection keyDetection)
Sets the value of the KeyDetection property for this object.LendingField.Builder
type(String type)
The type of the lending document.LendingField.Builder
valueDetections(Collection<LendingDetection> valueDetections)
An array of LendingDetection objects.LendingField.Builder
valueDetections(Consumer<LendingDetection.Builder>... valueDetections)
An array of LendingDetection objects.LendingField.Builder
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, sdkFields
-
-
-
-
Method Detail
-
type
LendingField.Builder type(String 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
LendingField.Builder keyDetection(LendingDetection 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
default LendingField.Builder keyDetection(Consumer<LendingDetection.Builder> 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:
keyDetection(LendingDetection)
-
valueDetections
LendingField.Builder valueDetections(Collection<LendingDetection> 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
LendingField.Builder valueDetections(LendingDetection... 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
LendingField.Builder valueDetections(Consumer<LendingDetection.Builder>... 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 to#valueDetections(List
.) - 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:
#valueDetections(java.util.Collection
)
-
-