Interface UpdateTestSetResponse.Builder

  • Method Details

    • 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

      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

      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 the TestSetStorageLocation.Builder avoiding the need to create one manually via TestSetStorageLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to storageLocation(TestSetStorageLocation).

      Parameters:
      storageLocation - a consumer that will call methods on TestSetStorageLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.