Interface UpdateTestSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateTestSetResponse.Builder,,UpdateTestSetResponse> LexModelsV2Response.Builder,SdkBuilder<UpdateTestSetResponse.Builder,,UpdateTestSetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateTestSetResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime(Instant creationDateTime) The creation date and time for the updated test set.description(String description) The test set description for the updated test set.lastUpdatedDateTime(Instant lastUpdatedDateTime) The date and time of the last update for the updated test set.Indicates whether audio or text is used for the updated test set.modality(TestSetModality modality) Indicates whether audio or text is used for the updated test set.The number of conversation turns from the updated test set.The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.The status for the updated test set.status(TestSetStatus status) The status for the updated test set.default UpdateTestSetResponse.BuilderstorageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation) The Amazon S3 storage location for the updated test set.storageLocation(TestSetStorageLocation storageLocation) The Amazon S3 storage location for the updated test set.The test set Id for which update test operation to be performed.testSetName(String testSetName) The test set name for the updated test set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
testSetId
The test set Id for which update test operation to be performed.
- Parameters:
testSetId- The test set Id for which update test operation to be performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSetName
The test set name for the updated test set.
- Parameters:
testSetName- The test set name for the updated test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The test set description for the updated test set.
- Parameters:
description- The test set description for the updated test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modality
Indicates whether audio or text is used for the updated test set.
- Parameters:
modality- Indicates whether audio or text is used for the updated test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modality
Indicates whether audio or text is used for the updated test set.
- Parameters:
modality- Indicates whether audio or text is used for the updated test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status for the updated test set.
- Parameters:
status- The status for the updated test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status for the updated test set.
- Parameters:
status- The status for the updated test set.- 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.
-
numTurns
The number of conversation turns from the updated test set.
- Parameters:
numTurns- The number of conversation turns from the updated test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
The Amazon S3 storage location for the updated test set.
- Parameters:
storageLocation- The Amazon S3 storage location for the updated test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
default UpdateTestSetResponse.Builder storageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation) The Amazon S3 storage location for the updated test set.
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:
-
creationDateTime
The creation date and time for the updated test set.
- Parameters:
creationDateTime- The creation date and time for the updated test set.- 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 updated test set.
- Parameters:
lastUpdatedDateTime- The date and time of the last update for the updated test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-