#[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: String
The name of the test set.
description: Option<String>
The description of the test set.
role_arn: String
The 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: 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.
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 ==
.