Interface TestSetImportResourceSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TestSetImportResourceSpecification.Builder,,TestSetImportResourceSpecification> SdkBuilder<TestSetImportResourceSpecification.Builder,,TestSetImportResourceSpecification> SdkPojo
- Enclosing class:
TestSetImportResourceSpecification
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the test set.importInputLocation(Consumer<TestSetImportInputLocation.Builder> importInputLocation) Contains information about the input location from where test-set should be imported.importInputLocation(TestSetImportInputLocation importInputLocation) Contains information about the input location from where test-set should be imported.Specifies whether the test-set being imported contains written or spoken data.modality(TestSetModality modality) Specifies whether the test-set being imported contains written or spoken data.The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.storageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation) Contains information about the location that Amazon Lex uses to store the test-set.storageLocation(TestSetStorageLocation storageLocation) Contains information about the location that Amazon Lex uses to store the test-set.testSetName(String testSetName) The name of the test set.testSetTags(Map<String, String> testSetTags) A list of tags to add to the test set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
testSetName
The name of the test set.
- Parameters:
testSetName- The name of the test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the test set.
- Parameters:
description- The description of the test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
Contains information about the location that Amazon Lex uses to store the test-set.
- Parameters:
storageLocation- Contains information about the location that Amazon Lex uses to store the test-set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
default TestSetImportResourceSpecification.Builder storageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation) Contains information about the location that Amazon Lex uses to store the test-set.
This is a convenience method that creates an instance of theTestSetStorageLocation.Builderavoiding the need to create one manually viaTestSetStorageLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageLocation(TestSetStorageLocation).- Parameters:
storageLocation- a consumer that will call methods onTestSetStorageLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importInputLocation
TestSetImportResourceSpecification.Builder importInputLocation(TestSetImportInputLocation importInputLocation) Contains information about the input location from where test-set should be imported.
- Parameters:
importInputLocation- Contains information about the input location from where test-set should be imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importInputLocation
default TestSetImportResourceSpecification.Builder importInputLocation(Consumer<TestSetImportInputLocation.Builder> importInputLocation) Contains information about the input location from where test-set should be imported.
This is a convenience method that creates an instance of theTestSetImportInputLocation.Builderavoiding the need to create one manually viaTestSetImportInputLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportInputLocation(TestSetImportInputLocation).- Parameters:
importInputLocation- a consumer that will call methods onTestSetImportInputLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modality
Specifies whether the test-set being imported contains written or spoken data.
- Parameters:
modality- Specifies whether the test-set being imported contains written or spoken data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modality
Specifies whether the test-set being imported contains written or spoken data.
- Parameters:
modality- Specifies whether the test-set being imported contains written or spoken data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testSetTags
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
UpdateTestSetoperation to update tags. To update tags, use theTagResourceoperation.- Parameters:
testSetTags- 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 theUpdateTestSetoperation to update tags. To update tags, use theTagResourceoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-