Struct aws_sdk_rekognition::types::builders::TestingDataBuilder
source · #[non_exhaustive]pub struct TestingDataBuilder { /* private fields */ }Expand description
A builder for TestingData.
Implementations§
source§impl TestingDataBuilder
impl TestingDataBuilder
sourcepub fn assets(self, input: Asset) -> Self
pub fn assets(self, input: Asset) -> Self
Appends an item to assets.
To override the contents of this collection use set_assets.
The assets used for testing.
sourcepub fn set_assets(self, input: Option<Vec<Asset>>) -> Self
pub fn set_assets(self, input: Option<Vec<Asset>>) -> Self
The assets used for testing.
sourcepub fn get_assets(&self) -> &Option<Vec<Asset>>
pub fn get_assets(&self) -> &Option<Vec<Asset>>
The assets used for testing.
sourcepub fn auto_create(self, input: bool) -> Self
pub fn auto_create(self, input: bool) -> Self
If specified, Rekognition splits training dataset to create a test dataset for the training job.
sourcepub fn set_auto_create(self, input: Option<bool>) -> Self
pub fn set_auto_create(self, input: Option<bool>) -> Self
If specified, Rekognition splits training dataset to create a test dataset for the training job.
sourcepub fn get_auto_create(&self) -> &Option<bool>
pub fn get_auto_create(&self) -> &Option<bool>
If specified, Rekognition splits training dataset to create a test dataset for the training job.
sourcepub fn build(self) -> TestingData
pub fn build(self) -> TestingData
Consumes the builder and constructs a TestingData.
Trait Implementations§
source§impl Clone for TestingDataBuilder
impl Clone for TestingDataBuilder
source§fn clone(&self) -> TestingDataBuilder
fn clone(&self) -> TestingDataBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TestingDataBuilder
impl Debug for TestingDataBuilder
source§impl Default for TestingDataBuilder
impl Default for TestingDataBuilder
source§fn default() -> TestingDataBuilder
fn default() -> TestingDataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TestingDataBuilder
impl PartialEq for TestingDataBuilder
source§fn eq(&self, other: &TestingDataBuilder) -> bool
fn eq(&self, other: &TestingDataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestingDataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TestingDataBuilder
impl Send for TestingDataBuilder
impl Sync for TestingDataBuilder
impl Unpin for TestingDataBuilder
impl UnwindSafe for TestingDataBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.