Interface TestSetImportResourceSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TestSetImportResourceSpecification.Builder,TestSetImportResourceSpecification>,SdkBuilder<TestSetImportResourceSpecification.Builder,TestSetImportResourceSpecification>,SdkPojo
- Enclosing class:
- TestSetImportResourceSpecification
public static interface TestSetImportResourceSpecification.Builder extends SdkPojo, CopyableBuilder<TestSetImportResourceSpecification.Builder,TestSetImportResourceSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TestSetImportResourceSpecification.Builderdescription(String description)The description of the test set.default TestSetImportResourceSpecification.BuilderimportInputLocation(Consumer<TestSetImportInputLocation.Builder> importInputLocation)Contains information about the input location from where test-set should be imported.TestSetImportResourceSpecification.BuilderimportInputLocation(TestSetImportInputLocation importInputLocation)Contains information about the input location from where test-set should be imported.TestSetImportResourceSpecification.Buildermodality(String modality)Specifies whether the test-set being imported contains written or spoken data.TestSetImportResourceSpecification.Buildermodality(TestSetModality modality)Specifies whether the test-set being imported contains written or spoken data.TestSetImportResourceSpecification.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.default TestSetImportResourceSpecification.BuilderstorageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation)Contains information about the location that Amazon Lex uses to store the test-set.TestSetImportResourceSpecification.BuilderstorageLocation(TestSetStorageLocation storageLocation)Contains information about the location that Amazon Lex uses to store the test-set.TestSetImportResourceSpecification.BuildertestSetName(String testSetName)The name of the test set.TestSetImportResourceSpecification.BuildertestSetTags(Map<String,String> testSetTags)A list of tags to add to the test set.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
testSetName
TestSetImportResourceSpecification.Builder testSetName(String 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
TestSetImportResourceSpecification.Builder description(String 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
TestSetImportResourceSpecification.Builder roleArn(String 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
TestSetImportResourceSpecification.Builder storageLocation(TestSetStorageLocation 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:
storageLocation(TestSetStorageLocation)
-
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:
importInputLocation(TestSetImportInputLocation)
-
modality
TestSetImportResourceSpecification.Builder modality(String 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:
TestSetModality,TestSetModality
-
modality
TestSetImportResourceSpecification.Builder modality(TestSetModality 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:
TestSetModality,TestSetModality
-
testSetTags
TestSetImportResourceSpecification.Builder testSetTags(Map<String,String> 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.
-
-