Struct aws_sdk_rekognition::model::validation_data::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ValidationData.
Implementations
sourceimpl Builder
impl Builder
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 build(self) -> ValidationData
pub fn build(self) -> ValidationData
Consumes the builder and constructs a ValidationData.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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