Interface AnalyzeIDDetections.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnalyzeIDDetections.Builder,,AnalyzeIDDetections> SdkBuilder<AnalyzeIDDetections.Builder,,AnalyzeIDDetections> SdkPojo
- Enclosing class:
AnalyzeIDDetections
public static interface AnalyzeIDDetections.Builder
extends SdkPojo, CopyableBuilder<AnalyzeIDDetections.Builder,AnalyzeIDDetections>
-
Method Summary
Modifier and TypeMethodDescriptionconfidence(Float confidence) The confidence score of the detected text.default AnalyzeIDDetections.BuildernormalizedValue(Consumer<NormalizedValue.Builder> normalizedValue) Only returned for dates, returns the type of value detected and the date written in a more machine readable way.normalizedValue(NormalizedValue normalizedValue) Only returned for dates, returns the type of value detected and the date written in a more machine readable way.Text of either the normalized field or value associated with it.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
text
Text of either the normalized field or value associated with it.
- Parameters:
text- Text of either the normalized field or value associated with it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
normalizedValue
Only returned for dates, returns the type of value detected and the date written in a more machine readable way.
- Parameters:
normalizedValue- Only returned for dates, returns the type of value detected and the date written in a more machine readable way.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
normalizedValue
default AnalyzeIDDetections.Builder normalizedValue(Consumer<NormalizedValue.Builder> normalizedValue) Only returned for dates, returns the type of value detected and the date written in a more machine readable way.
This is a convenience method that creates an instance of theNormalizedValue.Builderavoiding the need to create one manually viaNormalizedValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonormalizedValue(NormalizedValue).- Parameters:
normalizedValue- a consumer that will call methods onNormalizedValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
The confidence score of the detected text.
- Parameters:
confidence- The confidence score of the detected text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-