Struct aws_sdk_lookoutvision::operation::list_dataset_entries::builders::ListDatasetEntriesInputBuilder
source · #[non_exhaustive]pub struct ListDatasetEntriesInputBuilder { /* private fields */ }Expand description
A builder for ListDatasetEntriesInput.
Implementations§
source§impl ListDatasetEntriesInputBuilder
impl ListDatasetEntriesInputBuilder
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.
This field is required.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*.
sourcepub fn build(self) -> Result<ListDatasetEntriesInput, BuildError>
pub fn build(self) -> Result<ListDatasetEntriesInput, BuildError>
Consumes the builder and constructs a ListDatasetEntriesInput.
source§impl ListDatasetEntriesInputBuilder
impl ListDatasetEntriesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListDatasetEntriesOutput, SdkError<ListDatasetEntriesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListDatasetEntriesOutput, SdkError<ListDatasetEntriesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListDatasetEntriesInputBuilder
impl Clone for ListDatasetEntriesInputBuilder
source§fn clone(&self) -> ListDatasetEntriesInputBuilder
fn clone(&self) -> ListDatasetEntriesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListDatasetEntriesInputBuilder
impl Default for ListDatasetEntriesInputBuilder
source§fn default() -> ListDatasetEntriesInputBuilder
fn default() -> ListDatasetEntriesInputBuilder
source§impl PartialEq for ListDatasetEntriesInputBuilder
impl PartialEq for ListDatasetEntriesInputBuilder
source§fn eq(&self, other: &ListDatasetEntriesInputBuilder) -> bool
fn eq(&self, other: &ListDatasetEntriesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.