Struct aws_sdk_lexmodelsv2::types::PathFormat
source · #[non_exhaustive]pub struct PathFormat {
pub object_prefixes: Option<Vec<String>>,
}Expand description
The object that contains a path format that will be applied when Amazon Lex reads the transcript file in the bucket you provide. Specify this object if you only want Lex to read a subset of files in your Amazon S3 bucket.
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.object_prefixes: Option<Vec<String>>A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you only want Lex to read the files under this set of sub-folders.
Implementations§
source§impl PathFormat
impl PathFormat
sourcepub fn object_prefixes(&self) -> &[String]
pub fn object_prefixes(&self) -> &[String]
A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you only want Lex to read the files under this set of sub-folders.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .object_prefixes.is_none().
source§impl PathFormat
impl PathFormat
sourcepub fn builder() -> PathFormatBuilder
pub fn builder() -> PathFormatBuilder
Creates a new builder-style object to manufacture PathFormat.
Trait Implementations§
source§impl Clone for PathFormat
impl Clone for PathFormat
source§fn clone(&self) -> PathFormat
fn clone(&self) -> PathFormat
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PathFormat
impl Debug for PathFormat
source§impl PartialEq for PathFormat
impl PartialEq for PathFormat
source§fn eq(&self, other: &PathFormat) -> bool
fn eq(&self, other: &PathFormat) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PathFormat
Auto Trait Implementations§
impl Freeze for PathFormat
impl RefUnwindSafe for PathFormat
impl Send for PathFormat
impl Sync for PathFormat
impl Unpin for PathFormat
impl UnwindSafe for PathFormat
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
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>
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>
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 more