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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AnalyzeIDDetections.Builderconfidence(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.AnalyzeIDDetections.BuildernormalizedValue(NormalizedValue normalizedValue)Only returned for dates, returns the type of value detected and the date written in a more machine readable way.AnalyzeIDDetections.Buildertext(String text)Text of either the normalized field or value associated with it.-
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
-
text
AnalyzeIDDetections.Builder text(String 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
AnalyzeIDDetections.Builder normalizedValue(NormalizedValue 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:
normalizedValue(NormalizedValue)
-
confidence
AnalyzeIDDetections.Builder confidence(Float 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.
-
-