Interface TestSetSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TestSetSummary.Builder,TestSetSummary>, SdkBuilder<TestSetSummary.Builder,TestSetSummary>, SdkPojo
Enclosing class:
TestSetSummary

public static interface TestSetSummary.Builder extends SdkPojo, CopyableBuilder<TestSetSummary.Builder,TestSetSummary>
  • Method Details

    • testSetId

      TestSetSummary.Builder testSetId(String testSetId)

      The unique identifier of the test set.

      Parameters:
      testSetId - The unique identifier of the test set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testSetName

      TestSetSummary.Builder testSetName(String testSetName)

      The name of the test set.

      Parameters:
      testSetName - The name of the test set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      TestSetSummary.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

      TestSetSummary.Builder modality(String modality)

      Specifies whether the test set contains written or spoken data.

      Parameters:
      modality - Specifies whether the test set contains written or spoken data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • modality

      Specifies whether the test set contains written or spoken data.

      Parameters:
      modality - Specifies whether the test set contains written or spoken data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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:
    • roleArn

      TestSetSummary.Builder roleArn(String roleArn)

      The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numTurns

      TestSetSummary.Builder numTurns(Integer numTurns)

      The number of turns in the test set.

      Parameters:
      numTurns - The number of turns in the test set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageLocation

      TestSetSummary.Builder storageLocation(TestSetStorageLocation storageLocation)

      Contains information about the location at which the test set is stored.

      Parameters:
      storageLocation - Contains information about the location at which the test set is stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageLocation

      default TestSetSummary.Builder storageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation)

      Contains information about the location at which the test set is stored.

      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

      TestSetSummary.Builder creationDateTime(Instant creationDateTime)

      The date and time at which the test set was created.

      Parameters:
      creationDateTime - The date and time at which the test set was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDateTime

      TestSetSummary.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

      The date and time at which the test set was last updated.

      Parameters:
      lastUpdatedDateTime - The date and time at which the test set was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.