@Generated(value="software.amazon.awssdk:codegen") public final class DescribeTestExecutionResponse extends LexModelsV2Response implements ToCopyableBuilder<DescribeTestExecutionResponse.Builder,DescribeTestExecutionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeTestExecutionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
TestExecutionApiMode |
apiMode()
Indicates whether we use streaming or non-streaming APIs are used for the test set execution.
|
String |
apiModeAsString()
Indicates whether we use streaming or non-streaming APIs are used for the test set execution.
|
static DescribeTestExecutionResponse.Builder |
builder() |
Instant |
creationDateTime()
The execution creation date and time for the test set execution.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
failureReasons()
Reasons for the failure of the test set execution.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFailureReasons()
For responses, this returns true if the service returned a value for the FailureReasons property.
|
int |
hashCode() |
Instant |
lastUpdatedDateTime()
The date and time of the last update for the execution.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeTestExecutionResponse.Builder> |
serializableBuilderClass() |
TestExecutionTarget |
target()
The target bot for the test set execution details.
|
String |
testExecutionId()
The execution Id for the test set execution.
|
TestExecutionModality |
testExecutionModality()
Indicates whether test set is audio or text.
|
String |
testExecutionModalityAsString()
Indicates whether test set is audio or text.
|
TestExecutionStatus |
testExecutionStatus()
The test execution status for the test execution.
|
String |
testExecutionStatusAsString()
The test execution status for the test execution.
|
String |
testSetId()
The test set Id for the test set execution.
|
String |
testSetName()
The test set name of the test set execution.
|
DescribeTestExecutionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String testExecutionId()
The execution Id for the test set execution.
public final Instant creationDateTime()
The execution creation date and time for the test set execution.
public final Instant lastUpdatedDateTime()
The date and time of the last update for the execution.
public final TestExecutionStatus testExecutionStatus()
The test execution status for the test execution.
If the service returns an enum value that is not available in the current SDK version,
testExecutionStatus will return TestExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from testExecutionStatusAsString().
TestExecutionStatuspublic final String testExecutionStatusAsString()
The test execution status for the test execution.
If the service returns an enum value that is not available in the current SDK version,
testExecutionStatus will return TestExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from testExecutionStatusAsString().
TestExecutionStatuspublic final String testSetId()
The test set Id for the test set execution.
public final String testSetName()
The test set name of the test set execution.
public final TestExecutionTarget target()
The target bot for the test set execution details.
public final TestExecutionApiMode apiMode()
Indicates whether we use streaming or non-streaming APIs are used for the test set execution. For streaming,
StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming,
RecognizeUtterance and RecognizeText Amazon Lex Runtime API is used.
If the service returns an enum value that is not available in the current SDK version, apiMode will
return TestExecutionApiMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from apiModeAsString().
StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming,
RecognizeUtterance and RecognizeText Amazon Lex Runtime API is used.TestExecutionApiModepublic final String apiModeAsString()
Indicates whether we use streaming or non-streaming APIs are used for the test set execution. For streaming,
StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming,
RecognizeUtterance and RecognizeText Amazon Lex Runtime API is used.
If the service returns an enum value that is not available in the current SDK version, apiMode will
return TestExecutionApiMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from apiModeAsString().
StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming,
RecognizeUtterance and RecognizeText Amazon Lex Runtime API is used.TestExecutionApiModepublic final TestExecutionModality testExecutionModality()
Indicates whether test set is audio or text.
If the service returns an enum value that is not available in the current SDK version,
testExecutionModality will return TestExecutionModality.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from testExecutionModalityAsString().
TestExecutionModalitypublic final String testExecutionModalityAsString()
Indicates whether test set is audio or text.
If the service returns an enum value that is not available in the current SDK version,
testExecutionModality will return TestExecutionModality.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from testExecutionModalityAsString().
TestExecutionModalitypublic final boolean hasFailureReasons()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> failureReasons()
Reasons for the failure of the test set execution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFailureReasons() method.
public DescribeTestExecutionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeTestExecutionResponse.Builder,DescribeTestExecutionResponse>toBuilder in class AwsResponsepublic static DescribeTestExecutionResponse.Builder builder()
public static Class<? extends DescribeTestExecutionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.