Struct aws_sdk_lookoutvision::operation::list_dataset_entries::builders::ListDatasetEntriesFluentBuilder
source · pub struct ListDatasetEntriesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ListDatasetEntries.
Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line contains the anomaly information for a single image, including the image location and the assigned label.
This operation requires permissions to perform the lookoutvision:ListDatasetEntries operation.
Implementations§
source§impl ListDatasetEntriesFluentBuilder
impl ListDatasetEntriesFluentBuilder
sourcepub fn as_input(&self) -> &ListDatasetEntriesInputBuilder
pub fn as_input(&self) -> &ListDatasetEntriesInputBuilder
Access the ListDatasetEntries as a reference.
sourcepub async fn send(
self
) -> Result<ListDatasetEntriesOutput, SdkError<ListDatasetEntriesError, HttpResponse>>
pub async fn send( self ) -> Result<ListDatasetEntriesOutput, SdkError<ListDatasetEntriesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListDatasetEntriesOutput, ListDatasetEntriesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListDatasetEntriesOutput, ListDatasetEntriesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListDatasetEntriesPaginator
pub fn into_paginator(self) -> ListDatasetEntriesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project that contains the dataset that you want to list.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project that contains the dataset that you want to list.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project that contains the dataset that you want to list.
sourcepub fn dataset_type(self, input: impl Into<String>) -> Self
pub fn dataset_type(self, input: impl Into<String>) -> Self
The type of the dataset that you want to list. Specify train to list the training dataset. Specify test to list the test dataset. If you have a single dataset project, specify train.
sourcepub fn set_dataset_type(self, input: Option<String>) -> Self
pub fn set_dataset_type(self, input: Option<String>) -> Self
The type of the dataset that you want to list. Specify train to list the training dataset. Specify test to list the test dataset. If you have a single dataset project, specify train.
sourcepub fn get_dataset_type(&self) -> &Option<String>
pub fn get_dataset_type(&self) -> &Option<String>
The type of the dataset that you want to list. Specify train to list the training dataset. Specify test to list the test dataset. If you have a single dataset project, specify train.
sourcepub fn labeled(self, input: bool) -> Self
pub fn labeled(self, input: bool) -> Self
Specify true to include labeled entries, otherwise specify false. If you don't specify a value, Lookout for Vision returns all entries.
sourcepub fn set_labeled(self, input: Option<bool>) -> Self
pub fn set_labeled(self, input: Option<bool>) -> Self
Specify true to include labeled entries, otherwise specify false. If you don't specify a value, Lookout for Vision returns all entries.
sourcepub fn get_labeled(&self) -> &Option<bool>
pub fn get_labeled(&self) -> &Option<bool>
Specify true to include labeled entries, otherwise specify false. If you don't specify a value, Lookout for Vision returns all entries.
sourcepub fn anomaly_class(self, input: impl Into<String>) -> Self
pub fn anomaly_class(self, input: impl Into<String>) -> Self
Specify normal to include only normal images. Specify anomaly to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.
sourcepub fn set_anomaly_class(self, input: Option<String>) -> Self
pub fn set_anomaly_class(self, input: Option<String>) -> Self
Specify normal to include only normal images. Specify anomaly to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.
sourcepub fn get_anomaly_class(&self) -> &Option<String>
pub fn get_anomaly_class(&self) -> &Option<String>
Specify normal to include only normal images. Specify anomaly to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.
sourcepub fn before_creation_date(self, input: DateTime) -> Self
pub fn before_creation_date(self, input: DateTime) -> Self
Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn set_before_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_before_creation_date(self, input: Option<DateTime>) -> Self
Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn get_before_creation_date(&self) -> &Option<DateTime>
pub fn get_before_creation_date(&self) -> &Option<DateTime>
Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn after_creation_date(self, input: DateTime) -> Self
pub fn after_creation_date(self, input: DateTime) -> Self
Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn set_after_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_after_creation_date(self, input: Option<DateTime>) -> Self
Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn get_after_creation_date(&self) -> &Option<DateTime>
pub fn get_after_creation_date(&self) -> &Option<DateTime>
Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of dataset entries.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of dataset entries.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of dataset entries.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value 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 per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value 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 per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
sourcepub fn source_ref_contains(self, input: impl Into<String>) -> Self
pub fn source_ref_contains(self, input: impl Into<String>) -> Self
Perform a "contains" search on the values of the source-ref key within the dataset. For example a value of "IMG_17" returns all JSON Lines where the source-ref key value matches *IMG_17*.
sourcepub fn set_source_ref_contains(self, input: Option<String>) -> Self
pub fn set_source_ref_contains(self, input: Option<String>) -> Self
Perform a "contains" search on the values of the source-ref key within the dataset. For example a value of "IMG_17" returns all JSON Lines where the source-ref key value matches *IMG_17*.
sourcepub fn get_source_ref_contains(&self) -> &Option<String>
pub fn get_source_ref_contains(&self) -> &Option<String>
Perform a "contains" search on the values of the source-ref key within the dataset. For example a value of "IMG_17" returns all JSON Lines where the source-ref key value matches *IMG_17*.
Trait Implementations§
source§impl Clone for ListDatasetEntriesFluentBuilder
impl Clone for ListDatasetEntriesFluentBuilder
source§fn clone(&self) -> ListDatasetEntriesFluentBuilder
fn clone(&self) -> ListDatasetEntriesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more