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 get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
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 get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
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.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for S3ObjectBuilder
impl PartialEq for S3ObjectBuilder
source§fn eq(&self, other: &S3ObjectBuilder) -> bool
fn eq(&self, other: &S3ObjectBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.