Struct aws_sdk_textract::model::document_location::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DocumentLocation.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_object(self, input: S3Object) -> Self
pub fn s3_object(self, input: S3Object) -> Self
The Amazon S3 bucket that contains the input document.
sourcepub fn set_s3_object(self, input: Option<S3Object>) -> Self
pub fn set_s3_object(self, input: Option<S3Object>) -> Self
The Amazon S3 bucket that contains the input document.
sourcepub fn build(self) -> DocumentLocation
pub fn build(self) -> DocumentLocation
Consumes the builder and constructs a DocumentLocation.