Class DescribeTestSetResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response
-
- software.amazon.awssdk.services.lexmodelsv2.model.DescribeTestSetResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeTestSetResponse.Builder,DescribeTestSetResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeTestSetResponse extends LexModelsV2Response implements ToCopyableBuilder<DescribeTestSetResponse.Builder,DescribeTestSetResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeTestSetResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeTestSetResponse.Builderbuilder()InstantcreationDateTime()The creation date and time for the test set data.Stringdescription()The description of the test set.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()The date and time for the last update of the test set data.TestSetModalitymodality()Indicates whether the test set is audio or text data.StringmodalityAsString()Indicates whether the test set is audio or text data.IntegernumTurns()The total number of agent and user turn in the test set.StringroleArn()The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.List<SdkField<?>>sdkFields()static Class<? extends DescribeTestSetResponse.Builder>serializableBuilderClass()TestSetStatusstatus()The status of the test set.StringstatusAsString()The status of the test set.TestSetStorageLocationstorageLocation()The Amazon S3 storage location for the test set data.StringtestSetId()The test set Id for the test set response.StringtestSetName()The test set name of the test set.DescribeTestSetResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
testSetId
public final String testSetId()
The test set Id for the test set response.
- Returns:
- The test set Id for the test set response.
-
testSetName
public final String testSetName()
The test set name of the test set.
- Returns:
- The test set name of the test set.
-
description
public final String description()
The description of the test set.
- Returns:
- The description of the test set.
-
modality
public final TestSetModality modality()
Indicates whether the test set is audio or text data.
If the service returns an enum value that is not available in the current SDK version,
modalitywill returnTestSetModality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodalityAsString().- Returns:
- Indicates whether the test set is audio or text data.
- See Also:
TestSetModality
-
modalityAsString
public final String modalityAsString()
Indicates whether the test set is audio or text data.
If the service returns an enum value that is not available in the current SDK version,
modalitywill returnTestSetModality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodalityAsString().- Returns:
- Indicates whether the test set is audio or text data.
- See Also:
TestSetModality
-
status
public final TestSetStatus status()
The status of the test set.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTestSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the test set.
- See Also:
TestSetStatus
-
statusAsString
public final String statusAsString()
The status of the test set.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTestSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the test set.
- See Also:
TestSetStatus
-
roleArn
public final String roleArn()
The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
- Returns:
- The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
-
numTurns
public final Integer numTurns()
The total number of agent and user turn in the test set.
- Returns:
- The total number of agent and user turn in the test set.
-
storageLocation
public final TestSetStorageLocation storageLocation()
The Amazon S3 storage location for the test set data.
- Returns:
- The Amazon S3 storage location for the test set data.
-
creationDateTime
public final Instant creationDateTime()
The creation date and time for the test set data.
- Returns:
- The creation date and time for the test set data.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The date and time for the last update of the test set data.
- Returns:
- The date and time for the last update of the test set data.
-
toBuilder
public DescribeTestSetResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeTestSetResponse.Builder,DescribeTestSetResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeTestSetResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeTestSetResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-