Class StartTestExecutionResponse
- 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.StartTestExecutionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartTestExecutionResponse.Builder,StartTestExecutionResponse>
@Generated("software.amazon.awssdk:codegen") public final class StartTestExecutionResponse extends LexModelsV2Response implements ToCopyableBuilder<StartTestExecutionResponse.Builder,StartTestExecutionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartTestExecutionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TestExecutionApiModeapiMode()Indicates whether we use streaming or non-streaming APIs for the test set execution.StringapiModeAsString()Indicates whether we use streaming or non-streaming APIs for the test set execution.static StartTestExecutionResponse.Builderbuilder()InstantcreationDateTime()The creation date and time for the test set execution.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends StartTestExecutionResponse.Builder>serializableBuilderClass()TestExecutionTargettarget()The target bot for the test set execution.StringtestExecutionId()The unique identifier of the test set execution.TestExecutionModalitytestExecutionModality()Indicates whether audio or text is used.StringtestExecutionModalityAsString()Indicates whether audio or text is used.StringtestSetId()The test set Id for the test set execution.StartTestExecutionResponse.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
-
testExecutionId
public final String testExecutionId()
The unique identifier of the test set execution.
- Returns:
- The unique identifier of the test set execution.
-
creationDateTime
public final Instant creationDateTime()
The creation date and time for the test set execution.
- Returns:
- The creation date and time for the test set execution.
-
testSetId
public final String testSetId()
The test set Id for the test set execution.
- Returns:
- The test set Id for the test set execution.
-
target
public final TestExecutionTarget target()
The target bot for the test set execution.
- Returns:
- The target bot for the test set execution.
-
apiMode
public final TestExecutionApiMode apiMode()
Indicates whether we use streaming or non-streaming APIs 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 are used.
If the service returns an enum value that is not available in the current SDK version,
apiModewill returnTestExecutionApiMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapiModeAsString().- Returns:
- Indicates whether we use streaming or non-streaming APIs 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 are used.
- See Also:
TestExecutionApiMode
-
apiModeAsString
public final String apiModeAsString()
Indicates whether we use streaming or non-streaming APIs 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 are used.
If the service returns an enum value that is not available in the current SDK version,
apiModewill returnTestExecutionApiMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapiModeAsString().- Returns:
- Indicates whether we use streaming or non-streaming APIs 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 are used.
- See Also:
TestExecutionApiMode
-
testExecutionModality
public final TestExecutionModality testExecutionModality()
Indicates whether audio or text is used.
If the service returns an enum value that is not available in the current SDK version,
testExecutionModalitywill returnTestExecutionModality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtestExecutionModalityAsString().- Returns:
- Indicates whether audio or text is used.
- See Also:
TestExecutionModality
-
testExecutionModalityAsString
public final String testExecutionModalityAsString()
Indicates whether audio or text is used.
If the service returns an enum value that is not available in the current SDK version,
testExecutionModalitywill returnTestExecutionModality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtestExecutionModalityAsString().- Returns:
- Indicates whether audio or text is used.
- See Also:
TestExecutionModality
-
toBuilder
public StartTestExecutionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartTestExecutionResponse.Builder,StartTestExecutionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static StartTestExecutionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartTestExecutionResponse.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
-
-