#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for ListDatasetEntriesInput
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 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 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 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 build(self) -> Result<ListDatasetEntriesInput, BuildError>
pub fn build(self) -> Result<ListDatasetEntriesInput, BuildError>
Consumes the builder and constructs a ListDatasetEntriesInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more