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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaTestSetStorageLocation.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTestSetGenerationDataSource.builder()
.When the
Consumer
completes,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
UpdateTestSet
operation to update tags. To update tags, use theTagResource
operation.- 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 theUpdateTestSet
operation to update tags. To update tags, use theTagResource
operation.- 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-