Class IntentClosingSetting
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.IntentClosingSetting
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IntentClosingSetting.Builder,IntentClosingSetting>
@Generated("software.amazon.awssdk:codegen") public final class IntentClosingSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IntentClosingSetting.Builder,IntentClosingSetting>
Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIntentClosingSetting.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanactive()Specifies whether an intent's closing response is used.static IntentClosingSetting.Builderbuilder()ResponseSpecificationclosingResponse()The response that Amazon Lex sends to the user when the intent is complete.ConditionalSpecificationconditional()A list of conditional branches associated with the intent's closing response.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DialogStatenextStep()Specifies the next step that the bot executes after playing the intent's closing response.List<SdkField<?>>sdkFields()static Class<? extends IntentClosingSetting.Builder>serializableBuilderClass()IntentClosingSetting.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
-
closingResponse
public final ResponseSpecification closingResponse()
The response that Amazon Lex sends to the user when the intent is complete.
- Returns:
- The response that Amazon Lex sends to the user when the intent is complete.
-
active
public final Boolean active()
Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the
activefield isn't specified, the default is true.- Returns:
- Specifies whether an intent's closing response is used. When this field is false, the closing response
isn't sent to the user. If the
activefield isn't specified, the default is true.
-
nextStep
public final DialogState nextStep()
Specifies the next step that the bot executes after playing the intent's closing response.
- Returns:
- Specifies the next step that the bot executes after playing the intent's closing response.
-
conditional
public final ConditionalSpecification conditional()
A list of conditional branches associated with the intent's closing response. These branches are executed when the
nextStepattribute is set toEvalutateConditional.- Returns:
- A list of conditional branches associated with the intent's closing response. These branches are executed
when the
nextStepattribute is set toEvalutateConditional.
-
toBuilder
public IntentClosingSetting.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IntentClosingSetting.Builder,IntentClosingSetting>
-
builder
public static IntentClosingSetting.Builder builder()
-
serializableBuilderClass
public static Class<? extends IntentClosingSetting.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.
-
-