Interface StartTestSetGenerationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartTestSetGenerationRequest.Builder,,StartTestSetGenerationRequest> LexModelsV2Request.Builder,SdkBuilder<StartTestSetGenerationRequest.Builder,,StartTestSetGenerationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartTestSetGenerationRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The test set description for the test set generation request.generationDataSource(Consumer<TestSetGenerationDataSource.Builder> generationDataSource) The data source for the test set generation.generationDataSource(TestSetGenerationDataSource generationDataSource) The data source for the test set generation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.storageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation) The Amazon S3 storage location for the test set generation.storageLocation(TestSetStorageLocation storageLocation) The Amazon S3 storage location for the test set generation.testSetName(String testSetName) The test set name for the test set generation request.testSetTags(Map<String, String> testSetTags) A list of tags to add to the test set.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
testSetName
The test set name for the test set generation request.
- Parameters:
testSetName- The test set name for the test set generation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The test set description for the test set generation request.
- Parameters:
description- The test set description for the test set generation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
The Amazon S3 storage location for the test set generation.
- Parameters:
storageLocation- The Amazon S3 storage location for the test set generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
default StartTestSetGenerationRequest.Builder storageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation) The Amazon S3 storage location for the test set generation.
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:
-
generationDataSource
StartTestSetGenerationRequest.Builder generationDataSource(TestSetGenerationDataSource generationDataSource) The data source for the test set generation.
- Parameters:
generationDataSource- The data source for the test set generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationDataSource
default StartTestSetGenerationRequest.Builder generationDataSource(Consumer<TestSetGenerationDataSource.Builder> generationDataSource) The data source for the test set generation.
This is a convenience method that creates an instance of theTestSetGenerationDataSource.Builderavoiding the need to create one manually viaTestSetGenerationDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togenerationDataSource(TestSetGenerationDataSource).- Parameters:
generationDataSource- a consumer that will call methods onTestSetGenerationDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
- Parameters:
roleArn- The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
overrideConfiguration
StartTestSetGenerationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartTestSetGenerationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-