Interface BatchDetectEntitiesItemResult.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BatchDetectEntitiesItemResult.Builder,,- BatchDetectEntitiesItemResult> - SdkBuilder<BatchDetectEntitiesItemResult.Builder,,- BatchDetectEntitiesItemResult> - SdkPojo
- Enclosing class:
- BatchDetectEntitiesItemResult
@Mutable
@NotThreadSafe
public static interface BatchDetectEntitiesItemResult.Builder
extends SdkPojo, CopyableBuilder<BatchDetectEntitiesItemResult.Builder,BatchDetectEntitiesItemResult> 
- 
Method SummaryModifier and TypeMethodDescriptionentities(Collection<Entity> entities) One or more Entity objects, one for each entity detected in the document.entities(Consumer<Entity.Builder>... entities) One or more Entity objects, one for each entity detected in the document.One or more Entity objects, one for each entity detected in the document.The zero-based index of the document in the input list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
indexThe zero-based index of the document in the input list. - Parameters:
- index- The zero-based index of the document in the input list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
entities
- 
entities
- 
entitiesOne or more Entity objects, one for each entity detected in the document. This is a convenience method that creates an instance of theEntity.Builderavoiding the need to create one manually viaEntity.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentities(List<Entity>).- Parameters:
- entities- a consumer that will call methods on- Entity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-