Struct aws_sdk_comprehend::operation::list_document_classification_jobs::builders::ListDocumentClassificationJobsInputBuilder
source · #[non_exhaustive]pub struct ListDocumentClassificationJobsInputBuilder { /* private fields */ }Expand description
A builder for ListDocumentClassificationJobsInput.
Implementations§
source§impl ListDocumentClassificationJobsInputBuilder
impl ListDocumentClassificationJobsInputBuilder
sourcepub fn filter(self, input: DocumentClassificationJobFilter) -> Self
pub fn filter(self, input: DocumentClassificationJobFilter) -> Self
Filters the jobs that are returned. You can filter jobs on their names, status, or the date and time that they were submitted. You can only set one filter at a time.
sourcepub fn set_filter(self, input: Option<DocumentClassificationJobFilter>) -> Self
pub fn set_filter(self, input: Option<DocumentClassificationJobFilter>) -> Self
Filters the jobs that are returned. You can filter jobs on their names, status, or the date and time that they were submitted. You can only set one filter at a time.
sourcepub fn get_filter(&self) -> &Option<DocumentClassificationJobFilter>
pub fn get_filter(&self) -> &Option<DocumentClassificationJobFilter>
Filters the jobs that are returned. You can filter jobs on their names, status, or the date and time that they were submitted. You can only set one filter at a time.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Identifies the next page of results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Identifies the next page of results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Identifies the next page of results to return.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in each page. The default is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in each page. The default is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in each page. The default is 100.
sourcepub fn build(self) -> Result<ListDocumentClassificationJobsInput, BuildError>
pub fn build(self) -> Result<ListDocumentClassificationJobsInput, BuildError>
Consumes the builder and constructs a ListDocumentClassificationJobsInput.
source§impl ListDocumentClassificationJobsInputBuilder
impl ListDocumentClassificationJobsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListDocumentClassificationJobsOutput, SdkError<ListDocumentClassificationJobsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListDocumentClassificationJobsOutput, SdkError<ListDocumentClassificationJobsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListDocumentClassificationJobsInputBuilder
impl Clone for ListDocumentClassificationJobsInputBuilder
source§fn clone(&self) -> ListDocumentClassificationJobsInputBuilder
fn clone(&self) -> ListDocumentClassificationJobsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListDocumentClassificationJobsInputBuilder
impl Default for ListDocumentClassificationJobsInputBuilder
source§fn default() -> ListDocumentClassificationJobsInputBuilder
fn default() -> ListDocumentClassificationJobsInputBuilder
source§impl PartialEq for ListDocumentClassificationJobsInputBuilder
impl PartialEq for ListDocumentClassificationJobsInputBuilder
source§fn eq(&self, other: &ListDocumentClassificationJobsInputBuilder) -> bool
fn eq(&self, other: &ListDocumentClassificationJobsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.