Interface UpdateTestSetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateTestSetResponse.Builder,UpdateTestSetResponse>,LexModelsV2Response.Builder,SdkBuilder<UpdateTestSetResponse.Builder,UpdateTestSetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateTestSetResponse
public static interface UpdateTestSetResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<UpdateTestSetResponse.Builder,UpdateTestSetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateTestSetResponse.BuildercreationDateTime(Instant creationDateTime)The creation date and time for the updated test set.UpdateTestSetResponse.Builderdescription(String description)The test set description for the updated test set.UpdateTestSetResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time of the last update for the updated test set.UpdateTestSetResponse.Buildermodality(String modality)Indicates whether audio or text is used for the updated test set.UpdateTestSetResponse.Buildermodality(TestSetModality modality)Indicates whether audio or text is used for the updated test set.UpdateTestSetResponse.BuildernumTurns(Integer numTurns)The number of conversation turns from the updated test set.UpdateTestSetResponse.BuilderroleArn(String roleArn)The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.UpdateTestSetResponse.Builderstatus(String status)The status for the updated test set.UpdateTestSetResponse.Builderstatus(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.UpdateTestSetResponse.BuilderstorageLocation(TestSetStorageLocation storageLocation)The Amazon S3 storage location for the updated test set.UpdateTestSetResponse.BuildertestSetId(String testSetId)The test set Id for which update test operation to be performed.UpdateTestSetResponse.BuildertestSetName(String testSetName)The test set name for the updated 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 Detail
-
testSetId
UpdateTestSetResponse.Builder testSetId(String 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
UpdateTestSetResponse.Builder testSetName(String 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
UpdateTestSetResponse.Builder description(String 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
UpdateTestSetResponse.Builder modality(String 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:
TestSetModality,TestSetModality
-
modality
UpdateTestSetResponse.Builder modality(TestSetModality 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:
TestSetModality,TestSetModality
-
status
UpdateTestSetResponse.Builder status(String 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:
TestSetStatus,TestSetStatus
-
status
UpdateTestSetResponse.Builder status(TestSetStatus 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:
TestSetStatus,TestSetStatus
-
roleArn
UpdateTestSetResponse.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.
-
numTurns
UpdateTestSetResponse.Builder numTurns(Integer 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
UpdateTestSetResponse.Builder storageLocation(TestSetStorageLocation 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:
storageLocation(TestSetStorageLocation)
-
creationDateTime
UpdateTestSetResponse.Builder creationDateTime(Instant 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
UpdateTestSetResponse.Builder lastUpdatedDateTime(Instant 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.
-
-