Class PromptAttemptSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.PromptAttemptSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PromptAttemptSpecification.Builder,PromptAttemptSpecification>
@Generated("software.amazon.awssdk:codegen") public final class PromptAttemptSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PromptAttemptSpecification.Builder,PromptAttemptSpecification>
Specifies the settings on a prompt attempt.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePromptAttemptSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AllowedInputTypesallowedInputTypes()Indicates the allowed input types of the prompt attempt.BooleanallowInterrupt()Indicates whether the user can interrupt a speech prompt attempt from the bot.AudioAndDTMFInputSpecificationaudioAndDTMFInputSpecification()Specifies the settings on audio and DTMF input.static PromptAttemptSpecification.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends PromptAttemptSpecification.Builder>serializableBuilderClass()TextInputSpecificationtextInputSpecification()Specifies the settings on text input.PromptAttemptSpecification.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
allowInterrupt
public final Boolean allowInterrupt()
Indicates whether the user can interrupt a speech prompt attempt from the bot.
- Returns:
- Indicates whether the user can interrupt a speech prompt attempt from the bot.
-
allowedInputTypes
public final AllowedInputTypes allowedInputTypes()
Indicates the allowed input types of the prompt attempt.
- Returns:
- Indicates the allowed input types of the prompt attempt.
-
audioAndDTMFInputSpecification
public final AudioAndDTMFInputSpecification audioAndDTMFInputSpecification()
Specifies the settings on audio and DTMF input.
- Returns:
- Specifies the settings on audio and DTMF input.
-
textInputSpecification
public final TextInputSpecification textInputSpecification()
Specifies the settings on text input.
- Returns:
- Specifies the settings on text input.
-
toBuilder
public PromptAttemptSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PromptAttemptSpecification.Builder,PromptAttemptSpecification>
-
builder
public static PromptAttemptSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends PromptAttemptSpecification.Builder> serializableBuilderClass()
-
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.
-
-