Struct aws_sdk_textract::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 bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The name of the S3 bucket. Note that the # character is not valid in the file name.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The name of the S3 bucket. Note that the # character is not valid in the file name.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The file name of the input document. Synchronous operations can use image files that are in JPEG or PNG format. Asynchronous operations also support PDF and TIFF format files.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The file name of the input document. Synchronous operations can use image files that are in JPEG or PNG format. Asynchronous operations also support PDF and TIFF format files.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
If the bucket has 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 has 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<S3ObjectBuilder> for S3ObjectBuilder
impl PartialEq<S3ObjectBuilder> 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 ==.