Interface TestSetSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TestSetSummary.Builder,
,TestSetSummary> SdkBuilder<TestSetSummary.Builder,
,TestSetSummary> SdkPojo
- Enclosing class:
TestSetSummary
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The date and time at which the test set was created.description
(String description) The description of the test set.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time at which the test set was last updated.Specifies whether the test set contains written or spoken data.modality
(TestSetModality modality) Specifies whether the test set contains written or spoken data.The number of turns in the test set.The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.The status of the test set.status
(TestSetStatus status) The status of the test set.default TestSetSummary.Builder
storageLocation
(Consumer<TestSetStorageLocation.Builder> storageLocation) Contains information about the location at which the test set is stored.storageLocation
(TestSetStorageLocation storageLocation) Contains information about the location at which the test set is stored.The unique identifier of the test set.testSetName
(String testSetName) The name of the test set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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 theTestSetStorageLocation.Builder
avoiding the need to create one manually viaTestSetStorageLocation.builder()
.When the
Consumer
completes,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 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
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.
-