Interface DescribeTestSetGenerationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTestSetGenerationResponse.Builder,
,DescribeTestSetGenerationResponse> LexModelsV2Response.Builder
,SdkBuilder<DescribeTestSetGenerationResponse.Builder,
,DescribeTestSetGenerationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeTestSetGenerationResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The creation date and time for the test set generation.description
(String description) The test set description for the test set generation.failureReasons
(String... failureReasons) The reasons the test set generation failed.failureReasons
(Collection<String> failureReasons) The reasons the test set generation failed.generationDataSource
(Consumer<TestSetGenerationDataSource.Builder> generationDataSource) The data source of the test set used for the test set generation.generationDataSource
(TestSetGenerationDataSource generationDataSource) The data source of the test set used for the test set generation.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time of the last update for the test set generation.The roleARN of the test set used for the test set generation.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.testSetGenerationStatus
(String testSetGenerationStatus) The status for the test set generation.testSetGenerationStatus
(TestSetGenerationStatus testSetGenerationStatus) The status for the test set generation.The unique identifier for the test set created for the generated test set.testSetName
(String testSetName) The test set name for the generated test set.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.
- Parameters:
testSetGenerationId
- The unique identifier of 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
DescribeTestSetGenerationResponse.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:
-
failureReasons
The reasons the test set generation failed.
- Parameters:
failureReasons
- The reasons the test set generation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
The reasons the test set generation failed.
- Parameters:
failureReasons
- The reasons the test set generation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSetId
The unique identifier for the test set created for the generated test set.
- Parameters:
testSetId
- The unique identifier for the test set created for the generated test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSetName
The test set name for the generated test set.
- Parameters:
testSetName
- The test set name for the generated test set.- 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.
- Parameters:
description
- The test set description 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 DescribeTestSetGenerationResponse.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
DescribeTestSetGenerationResponse.Builder generationDataSource(TestSetGenerationDataSource generationDataSource) The data source of the test set used for the test set generation.
- Parameters:
generationDataSource
- The data source of the test set used for the test set generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationDataSource
default DescribeTestSetGenerationResponse.Builder generationDataSource(Consumer<TestSetGenerationDataSource.Builder> generationDataSource) The data source of the test set used 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 of the test set used for the test set generation.
- Parameters:
roleArn
- The roleARN of the test set used for the test set generation.- 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.
-
lastUpdatedDateTime
The date and time of the last update for the test set generation.
- Parameters:
lastUpdatedDateTime
- The date and time of the last update for the test set generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-