Interface ExtractedInformationValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExtractedInformationValue.Builder,,ExtractedInformationValue> SdkBuilder<ExtractedInformationValue.Builder,,ExtractedInformationValue> SdkPojo
- Enclosing class:
ExtractedInformationValue
@Mutable
@NotThreadSafe
public static interface ExtractedInformationValue.Builder
extends SdkPojo, CopyableBuilder<ExtractedInformationValue.Builder,ExtractedInformationValue>
-
Method Summary
Modifier and TypeMethodDescriptionThe text content of the extracted value.pointsOfInterest(Collection<PointOfInterest> pointsOfInterest) The sections in the conversation that indicate where the extracted value was found.pointsOfInterest(Consumer<PointOfInterest.Builder>... pointsOfInterest) The sections in the conversation that indicate where the extracted value was found.pointsOfInterest(PointOfInterest... pointsOfInterest) The sections in the conversation that indicate where the extracted value was found.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, sdkFieldNameToField, sdkFields
-
Method Details
-
content
The text content of the extracted value.
- Parameters:
content- The text content of the extracted value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pointsOfInterest
The sections in the conversation that indicate where the extracted value was found.
- Parameters:
pointsOfInterest- The sections in the conversation that indicate where the extracted value was found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pointsOfInterest
The sections in the conversation that indicate where the extracted value was found.
- Parameters:
pointsOfInterest- The sections in the conversation that indicate where the extracted value was found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pointsOfInterest
ExtractedInformationValue.Builder pointsOfInterest(Consumer<PointOfInterest.Builder>... pointsOfInterest) The sections in the conversation that indicate where the extracted value was found.
This is a convenience method that creates an instance of thePointOfInterest.Builderavoiding the need to create one manually viaPointOfInterest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topointsOfInterest(List<PointOfInterest>).- Parameters:
pointsOfInterest- a consumer that will call methods onPointOfInterest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-