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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TestSetSummary.BuildercreationDateTime(Instant creationDateTime)The date and time at which the test set was created.TestSetSummary.Builderdescription(String description)The description of the test set.TestSetSummary.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time at which the test set was last updated.TestSetSummary.Buildermodality(String modality)Specifies whether the test set contains written or spoken data.TestSetSummary.Buildermodality(TestSetModality modality)Specifies whether the test set contains written or spoken data.TestSetSummary.BuildernumTurns(Integer numTurns)The number of turns in the test set.TestSetSummary.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.TestSetSummary.Builderstatus(String status)The status of the test set.TestSetSummary.Builderstatus(TestSetStatus status)The status of the test set.default TestSetSummary.BuilderstorageLocation(Consumer<TestSetStorageLocation.Builder> storageLocation)Contains information about the location at which the test set is stored.TestSetSummary.BuilderstorageLocation(TestSetStorageLocation storageLocation)Contains information about the location at which the test set is stored.TestSetSummary.BuildertestSetId(String testSetId)The unique identifier of the test set.TestSetSummary.BuildertestSetName(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 Detail
-
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:
TestSetModality,TestSetModality
-
modality
TestSetSummary.Builder modality(TestSetModality 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:
TestSetModality,TestSetModality
-
status
TestSetSummary.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
TestSetSummary.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
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 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
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.
-
-