#[non_exhaustive]pub struct AdapterVersionDatasetConfig {
pub manifest_s3_object: Option<S3Object>,
}
Expand description
The dataset configuration options for a given version of an adapter. Can include an Amazon S3 bucket if specified.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.manifest_s3_object: Option<S3Object>
The S3 bucket name and file name that identifies the document.
The AWS Region for the S3 bucket that contains the document must match the Region that you use for Amazon Textract operations.
For Amazon Textract to process a file in an S3 bucket, the user must have permission to access the S3 bucket and file.
Implementations§
source§impl AdapterVersionDatasetConfig
impl AdapterVersionDatasetConfig
sourcepub fn manifest_s3_object(&self) -> Option<&S3Object>
pub fn manifest_s3_object(&self) -> Option<&S3Object>
The S3 bucket name and file name that identifies the document.
The AWS Region for the S3 bucket that contains the document must match the Region that you use for Amazon Textract operations.
For Amazon Textract to process a file in an S3 bucket, the user must have permission to access the S3 bucket and file.
source§impl AdapterVersionDatasetConfig
impl AdapterVersionDatasetConfig
sourcepub fn builder() -> AdapterVersionDatasetConfigBuilder
pub fn builder() -> AdapterVersionDatasetConfigBuilder
Creates a new builder-style object to manufacture AdapterVersionDatasetConfig
.
Trait Implementations§
source§impl Clone for AdapterVersionDatasetConfig
impl Clone for AdapterVersionDatasetConfig
source§fn clone(&self) -> AdapterVersionDatasetConfig
fn clone(&self) -> AdapterVersionDatasetConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdapterVersionDatasetConfig
impl Debug for AdapterVersionDatasetConfig
source§impl PartialEq for AdapterVersionDatasetConfig
impl PartialEq for AdapterVersionDatasetConfig
source§fn eq(&self, other: &AdapterVersionDatasetConfig) -> bool
fn eq(&self, other: &AdapterVersionDatasetConfig) -> bool
self
and other
values to be equal, and is used
by ==
.