Class StartTestExecutionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request
-
- software.amazon.awssdk.services.lexmodelsv2.model.StartTestExecutionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartTestExecutionRequest.Builder,StartTestExecutionRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartTestExecutionRequest extends LexModelsV2Request implements ToCopyableBuilder<StartTestExecutionRequest.Builder,StartTestExecutionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartTestExecutionRequest.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 StartTestExecutionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends StartTestExecutionRequest.Builder>serializableBuilderClass()TestExecutionTargettarget()The target bot for 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.StartTestExecutionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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 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 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 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 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 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 StartTestExecutionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartTestExecutionRequest.Builder,StartTestExecutionRequest>- Specified by:
toBuilderin classLexModelsV2Request
-
builder
public static StartTestExecutionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartTestExecutionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-