Struct aws_sdk_lexmodelsv2::types::TestSetStorageLocation
source · #[non_exhaustive]pub struct TestSetStorageLocation {
pub s3_bucket_name: String,
pub s3_path: String,
pub kms_key_arn: Option<String>,
}Expand description
Contains information about the location in which the test set is stored.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.s3_bucket_name: StringThe name of the Amazon S3 bucket in which the test set is stored.
s3_path: StringThe path inside the Amazon S3 bucket where the test set is stored.
kms_key_arn: Option<String>The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting the test set.
Implementations§
source§impl TestSetStorageLocation
impl TestSetStorageLocation
sourcepub fn s3_bucket_name(&self) -> &str
pub fn s3_bucket_name(&self) -> &str
The name of the Amazon S3 bucket in which the test set is stored.
sourcepub fn s3_path(&self) -> &str
pub fn s3_path(&self) -> &str
The path inside the Amazon S3 bucket where the test set is stored.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting the test set.
source§impl TestSetStorageLocation
impl TestSetStorageLocation
sourcepub fn builder() -> TestSetStorageLocationBuilder
pub fn builder() -> TestSetStorageLocationBuilder
Creates a new builder-style object to manufacture TestSetStorageLocation.
Trait Implementations§
source§impl Clone for TestSetStorageLocation
impl Clone for TestSetStorageLocation
source§fn clone(&self) -> TestSetStorageLocation
fn clone(&self) -> TestSetStorageLocation
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 TestSetStorageLocation
impl Debug for TestSetStorageLocation
source§impl PartialEq for TestSetStorageLocation
impl PartialEq for TestSetStorageLocation
source§fn eq(&self, other: &TestSetStorageLocation) -> bool
fn eq(&self, other: &TestSetStorageLocation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestSetStorageLocation
Auto Trait Implementations§
impl Freeze for TestSetStorageLocation
impl RefUnwindSafe for TestSetStorageLocation
impl Send for TestSetStorageLocation
impl Sync for TestSetStorageLocation
impl Unpin for TestSetStorageLocation
impl UnwindSafe for TestSetStorageLocation
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.