Interface BatchDetectEntitiesItemResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchDetectEntitiesItemResult.Builder,BatchDetectEntitiesItemResult>,SdkBuilder<BatchDetectEntitiesItemResult.Builder,BatchDetectEntitiesItemResult>,SdkPojo
- Enclosing class:
- BatchDetectEntitiesItemResult
public static interface BatchDetectEntitiesItemResult.Builder extends SdkPojo, CopyableBuilder<BatchDetectEntitiesItemResult.Builder,BatchDetectEntitiesItemResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDetectEntitiesItemResult.Builderentities(Collection<Entity> entities)One or more Entity objects, one for each entity detected in the document.BatchDetectEntitiesItemResult.Builderentities(Consumer<Entity.Builder>... entities)One or more Entity objects, one for each entity detected in the document.BatchDetectEntitiesItemResult.Builderentities(Entity... entities)One or more Entity objects, one for each entity detected in the document.BatchDetectEntitiesItemResult.Builderindex(Integer index)The zero-based index of the document in the input list.-
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
-
index
BatchDetectEntitiesItemResult.Builder index(Integer index)
The 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
BatchDetectEntitiesItemResult.Builder entities(Collection<Entity> entities)
One or more Entity objects, one for each entity detected in the document.
- Parameters:
entities- One or more Entity objects, one for each entity detected in the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
BatchDetectEntitiesItemResult.Builder entities(Entity... entities)
One or more Entity objects, one for each entity detected in the document.
- Parameters:
entities- One or more Entity objects, one for each entity detected in the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
BatchDetectEntitiesItemResult.Builder entities(Consumer<Entity.Builder>... entities)
One 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 to#entities(List.) - Parameters:
entities- a consumer that will call methods onEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entities(java.util.Collection)
-
-