Struct aws_sdk_comprehend::output::batch_detect_dominant_language_output::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }Expand description
A builder for BatchDetectDominantLanguageOutput
Implementations
Appends an item to result_list.
To override the contents of this collection use set_result_list.
A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.
pub fn set_result_list(
self,
input: Option<Vec<BatchDetectDominantLanguageItemResult>>
) -> Self
pub fn set_result_list(
self,
input: Option<Vec<BatchDetectDominantLanguageItemResult>>
) -> Self
A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.
Appends an item to error_list.
To override the contents of this collection use set_error_list.
A list containing one object for each document that contained an error. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If there are no errors in the batch, the ErrorList is empty.
A list containing one object for each document that contained an error. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If there are no errors in the batch, the ErrorList is empty.
Consumes the builder and constructs a BatchDetectDominantLanguageOutput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
