Interface StartTestSetGenerationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartTestSetGenerationRequest.Builder,StartTestSetGenerationRequest>,LexModelsV2Request.Builder,SdkBuilder<StartTestSetGenerationRequest.Builder,StartTestSetGenerationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartTestSetGenerationRequest
public static interface StartTestSetGenerationRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<StartTestSetGenerationRequest.Builder,StartTestSetGenerationRequest>
-
-
Method Summary
-
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 Detail
-
testSetName
StartTestSetGenerationRequest.Builder testSetName(String 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
StartTestSetGenerationRequest.Builder description(String 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
StartTestSetGenerationRequest.Builder storageLocation(TestSetStorageLocation 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:
storageLocation(TestSetStorageLocation)
-
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:
generationDataSource(TestSetGenerationDataSource)
-
roleArn
StartTestSetGenerationRequest.Builder roleArn(String 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
StartTestSetGenerationRequest.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.
-
overrideConfiguration
StartTestSetGenerationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartTestSetGenerationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-