Struct aws_sdk_rekognition::types::builders::S3ObjectBuilder
source · #[non_exhaustive]pub struct S3ObjectBuilder { /* private fields */ }Expand description
A builder for S3Object.
Implementations§
source§impl S3ObjectBuilder
impl S3ObjectBuilder
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
Name of the S3 bucket.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
Name of the S3 bucket.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
If the bucket is versioning enabled, you can specify the object version.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
If the bucket is versioning enabled, you can specify the object version.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
If the bucket is versioning enabled, you can specify the object version.
Trait Implementations§
source§impl Clone for S3ObjectBuilder
impl Clone for S3ObjectBuilder
source§fn clone(&self) -> S3ObjectBuilder
fn clone(&self) -> S3ObjectBuilder
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 S3ObjectBuilder
impl Debug for S3ObjectBuilder
source§impl Default for S3ObjectBuilder
impl Default for S3ObjectBuilder
source§fn default() -> S3ObjectBuilder
fn default() -> S3ObjectBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for S3ObjectBuilder
impl PartialEq for S3ObjectBuilder
source§fn eq(&self, other: &S3ObjectBuilder) -> bool
fn eq(&self, other: &S3ObjectBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for S3ObjectBuilder
Auto Trait Implementations§
impl Freeze for S3ObjectBuilder
impl RefUnwindSafe for S3ObjectBuilder
impl Send for S3ObjectBuilder
impl Sync for S3ObjectBuilder
impl Unpin for S3ObjectBuilder
impl UnwindSafe for S3ObjectBuilder
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.