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