#[non_exhaustive]pub struct TestSetImportResourceSpecification {
pub test_set_name: String,
pub description: Option<String>,
pub role_arn: String,
pub storage_location: Option<TestSetStorageLocation>,
pub import_input_location: Option<TestSetImportInputLocation>,
pub modality: TestSetModality,
pub test_set_tags: Option<HashMap<String, String>>,
}Expand description
Contains information about the test set that is imported.
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.test_set_name: StringThe name of the test set.
description: Option<String>The description of the test set.
role_arn: StringThe Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.
storage_location: Option<TestSetStorageLocation>Contains information about the location that Amazon Lex uses to store the test-set.
import_input_location: Option<TestSetImportInputLocation>Contains information about the input location from where test-set should be imported.
modality: TestSetModalitySpecifies whether the test-set being imported contains written or spoken data.
A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the UpdateTestSet operation to update tags. To update tags, use the TagResource operation.
Implementations§
source§impl TestSetImportResourceSpecification
impl TestSetImportResourceSpecification
sourcepub fn test_set_name(&self) -> &str
pub fn test_set_name(&self) -> &str
The name of the test set.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the test set.
sourcepub fn role_arn(&self) -> &str
pub fn role_arn(&self) -> &str
The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.
sourcepub fn storage_location(&self) -> Option<&TestSetStorageLocation>
pub fn storage_location(&self) -> Option<&TestSetStorageLocation>
Contains information about the location that Amazon Lex uses to store the test-set.
sourcepub fn import_input_location(&self) -> Option<&TestSetImportInputLocation>
pub fn import_input_location(&self) -> Option<&TestSetImportInputLocation>
Contains information about the input location from where test-set should be imported.
sourcepub fn modality(&self) -> &TestSetModality
pub fn modality(&self) -> &TestSetModality
Specifies whether the test-set being imported contains written or spoken data.
A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the UpdateTestSet operation to update tags. To update tags, use the TagResource operation.
source§impl TestSetImportResourceSpecification
impl TestSetImportResourceSpecification
sourcepub fn builder() -> TestSetImportResourceSpecificationBuilder
pub fn builder() -> TestSetImportResourceSpecificationBuilder
Creates a new builder-style object to manufacture TestSetImportResourceSpecification.
Trait Implementations§
source§impl Clone for TestSetImportResourceSpecification
impl Clone for TestSetImportResourceSpecification
source§fn clone(&self) -> TestSetImportResourceSpecification
fn clone(&self) -> TestSetImportResourceSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for TestSetImportResourceSpecification
impl PartialEq for TestSetImportResourceSpecification
source§fn eq(&self, other: &TestSetImportResourceSpecification) -> bool
fn eq(&self, other: &TestSetImportResourceSpecification) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestSetImportResourceSpecification
Auto Trait Implementations§
impl Freeze for TestSetImportResourceSpecification
impl RefUnwindSafe for TestSetImportResourceSpecification
impl Send for TestSetImportResourceSpecification
impl Sync for TestSetImportResourceSpecification
impl Unpin for TestSetImportResourceSpecification
impl UnwindSafe for TestSetImportResourceSpecification
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