pub struct Builder { /* private fields */ }Expand description
A builder for BatchDetectEntitiesItemResult.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_index(self, input: Option<i32>) -> Self
pub fn set_index(self, input: Option<i32>) -> Self
The zero-based index of the document in the input list.
sourcepub fn entities(self, input: Entity) -> Self
pub fn entities(self, input: Entity) -> Self
Appends an item to entities.
To override the contents of this collection use set_entities.
One or more Entity objects, one for each entity detected in the document.
sourcepub fn set_entities(self, input: Option<Vec<Entity>>) -> Self
pub fn set_entities(self, input: Option<Vec<Entity>>) -> Self
One or more Entity objects, one for each entity detected in the document.
sourcepub fn build(self) -> BatchDetectEntitiesItemResult
pub fn build(self) -> BatchDetectEntitiesItemResult
Consumes the builder and constructs a BatchDetectEntitiesItemResult.