Struct aws_sdk_rekognition::types::builders::TrainingDataBuilder
source · #[non_exhaustive]pub struct TrainingDataBuilder { /* private fields */ }Expand description
A builder for TrainingData.
Implementations§
source§impl TrainingDataBuilder
impl TrainingDataBuilder
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.
A manifest file that contains references to the training images and ground-truth annotations.
sourcepub fn set_assets(self, input: Option<Vec<Asset>>) -> Self
pub fn set_assets(self, input: Option<Vec<Asset>>) -> Self
A manifest file that contains references to the training images and ground-truth annotations.
sourcepub fn get_assets(&self) -> &Option<Vec<Asset>>
pub fn get_assets(&self) -> &Option<Vec<Asset>>
A manifest file that contains references to the training images and ground-truth annotations.
sourcepub fn build(self) -> TrainingData
pub fn build(self) -> TrainingData
Consumes the builder and constructs a TrainingData.
Trait Implementations§
source§impl Clone for TrainingDataBuilder
impl Clone for TrainingDataBuilder
source§fn clone(&self) -> TrainingDataBuilder
fn clone(&self) -> TrainingDataBuilder
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 TrainingDataBuilder
impl Debug for TrainingDataBuilder
source§impl Default for TrainingDataBuilder
impl Default for TrainingDataBuilder
source§fn default() -> TrainingDataBuilder
fn default() -> TrainingDataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TrainingDataBuilder
impl PartialEq for TrainingDataBuilder
source§fn eq(&self, other: &TrainingDataBuilder) -> bool
fn eq(&self, other: &TrainingDataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TrainingDataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TrainingDataBuilder
impl Send for TrainingDataBuilder
impl Sync for TrainingDataBuilder
impl Unpin for TrainingDataBuilder
impl UnwindSafe for TrainingDataBuilder
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.