Interface StartTestSetGenerationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StartTestSetGenerationResponse.Builder,
,StartTestSetGenerationResponse> LexModelsV2Response.Builder
,SdkBuilder<StartTestSetGenerationResponse.Builder,
,StartTestSetGenerationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartTestSetGenerationResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The creation date and time for the test set generation.description
(String description) The description used for the test set generation.generationDataSource
(Consumer<TestSetGenerationDataSource.Builder> generationDataSource) The data source for the test set generation.generationDataSource
(TestSetGenerationDataSource generationDataSource) The data source for the test set generation.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.testSetGenerationId
(String testSetGenerationId) The unique identifier of the test set generation to describe.testSetGenerationStatus
(String testSetGenerationStatus) The status for the test set generation.testSetGenerationStatus
(TestSetGenerationStatus testSetGenerationStatus) The status for the test set generation.testSetName
(String testSetName) The test set name used for the test set generation.testSetTags
(Map<String, String> testSetTags) A list of tags that was used for the test set that is being generated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
testSetGenerationId
The unique identifier of the test set generation to describe.
- Parameters:
testSetGenerationId
- The unique identifier of the test set generation to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
The creation date and time for the test set generation.
- Parameters:
creationDateTime
- The creation date and time for the test set generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSetGenerationStatus
The status for the test set generation.
- Parameters:
testSetGenerationStatus
- The status for the test set generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testSetGenerationStatus
StartTestSetGenerationResponse.Builder testSetGenerationStatus(TestSetGenerationStatus testSetGenerationStatus) The status for the test set generation.
- Parameters:
testSetGenerationStatus
- The status for the test set generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testSetName
The test set name used for the test set generation.
- Parameters:
testSetName
- The test set name used for the test set generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description used for the test set generation.
- Parameters:
description
- The description used for the test set generation.- 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 StartTestSetGenerationResponse.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
StartTestSetGenerationResponse.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 StartTestSetGenerationResponse.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 that was used for the test set that is being generated.
- Parameters:
testSetTags
- A list of tags that was used for the test set that is being generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-