Struct aws_sdk_rekognition::types::builders::ImageBuilder
source · #[non_exhaustive]pub struct ImageBuilder { /* private fields */ }Expand description
A builder for Image.
Implementations§
source§impl ImageBuilder
impl ImageBuilder
sourcepub fn bytes(self, input: Blob) -> Self
pub fn bytes(self, input: Blob) -> Self
Blob of image bytes up to 5 MBs. Note that the maximum image size you can pass to DetectCustomLabels is 4MB.
sourcepub fn set_bytes(self, input: Option<Blob>) -> Self
pub fn set_bytes(self, input: Option<Blob>) -> Self
Blob of image bytes up to 5 MBs. Note that the maximum image size you can pass to DetectCustomLabels is 4MB.
sourcepub fn get_bytes(&self) -> &Option<Blob>
pub fn get_bytes(&self) -> &Option<Blob>
Blob of image bytes up to 5 MBs. Note that the maximum image size you can pass to DetectCustomLabels is 4MB.
sourcepub fn set_s3_object(self, input: Option<S3Object>) -> Self
pub fn set_s3_object(self, input: Option<S3Object>) -> Self
Identifies an S3 object as the image source.
sourcepub fn get_s3_object(&self) -> &Option<S3Object>
pub fn get_s3_object(&self) -> &Option<S3Object>
Identifies an S3 object as the image source.
Trait Implementations§
source§impl Clone for ImageBuilder
impl Clone for ImageBuilder
source§fn clone(&self) -> ImageBuilder
fn clone(&self) -> ImageBuilder
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 ImageBuilder
impl Debug for ImageBuilder
source§impl Default for ImageBuilder
impl Default for ImageBuilder
source§fn default() -> ImageBuilder
fn default() -> ImageBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ImageBuilder
impl PartialEq for ImageBuilder
source§fn eq(&self, other: &ImageBuilder) -> bool
fn eq(&self, other: &ImageBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ImageBuilder
Auto Trait Implementations§
impl Freeze for ImageBuilder
impl RefUnwindSafe for ImageBuilder
impl Send for ImageBuilder
impl Sync for ImageBuilder
impl Unpin for ImageBuilder
impl UnwindSafe for ImageBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.