Interface DescribeTestSetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTestSetResponse.Builder,DescribeTestSetResponse>,LexModelsV2Response.Builder,SdkBuilder<DescribeTestSetResponse.Builder,DescribeTestSetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTestSetResponse
public static interface DescribeTestSetResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeTestSetResponse.Builder,DescribeTestSetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeTestSetResponse.BuildercreationDateTime(Instant creationDateTime)The creation date and time for the test set data.DescribeTestSetResponse.Builderdescription(String description)The description of the test set.DescribeTestSetResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time for the last update of the test set data.DescribeTestSetResponse.Buildermodality(String modality)Indicates whether the test set is audio or text data.DescribeTestSetResponse.Buildermodality(TestSetModality modality)Indicates whether the test set is audio or text data.DescribeTestSetResponse.BuildernumTurns(Integer numTurns)The total number of agent and user turn in the test set.DescribeTestSetResponse.BuilderroleArn(String roleArn)The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.DescribeTestSetResponse.Builderstatus(String status)The status of the test set.DescribeTestSetResponse.Builderstatus(TestSetStatus status)The status of the test set.default DescribeTestSetResponse.BuilderstorageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation)The Amazon S3 storage location for the test set data.DescribeTestSetResponse.BuilderstorageLocation(TestSetStorageLocation storageLocation)The Amazon S3 storage location for the test set data.DescribeTestSetResponse.BuildertestSetId(String testSetId)The test set Id for the test set response.DescribeTestSetResponse.BuildertestSetName(String testSetName)The test set name of the 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
DescribeTestSetResponse.Builder testSetId(String testSetId)
The test set Id for the test set response.
- Parameters:
testSetId- The test set Id for the test set response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSetName
DescribeTestSetResponse.Builder testSetName(String testSetName)
The test set name of the test set.
- Parameters:
testSetName- The test set name of the test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DescribeTestSetResponse.Builder description(String description)
The description of the test set.
- Parameters:
description- The description of the test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modality
DescribeTestSetResponse.Builder modality(String modality)
Indicates whether the test set is audio or text data.
- Parameters:
modality- Indicates whether the test set is audio or text data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestSetModality,TestSetModality
-
modality
DescribeTestSetResponse.Builder modality(TestSetModality modality)
Indicates whether the test set is audio or text data.
- Parameters:
modality- Indicates whether the test set is audio or text data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestSetModality,TestSetModality
-
status
DescribeTestSetResponse.Builder status(String status)
The status of the test set.
- Parameters:
status- The status of the test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestSetStatus,TestSetStatus
-
status
DescribeTestSetResponse.Builder status(TestSetStatus status)
The status of the test set.
- Parameters:
status- The status of the test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestSetStatus,TestSetStatus
-
roleArn
DescribeTestSetResponse.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
DescribeTestSetResponse.Builder numTurns(Integer numTurns)
The total number of agent and user turn in the test set.
- Parameters:
numTurns- The total number of agent and user turn in the test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
DescribeTestSetResponse.Builder storageLocation(TestSetStorageLocation storageLocation)
The Amazon S3 storage location for the test set data.
- Parameters:
storageLocation- The Amazon S3 storage location for the test set data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
default DescribeTestSetResponse.Builder storageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation)
The Amazon S3 storage location for the test set data.
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
DescribeTestSetResponse.Builder creationDateTime(Instant creationDateTime)
The creation date and time for the test set data.
- Parameters:
creationDateTime- The creation date and time for the test set data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
DescribeTestSetResponse.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time for the last update of the test set data.
- Parameters:
lastUpdatedDateTime- The date and time for the last update of the test set data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-