@Generated(value="software.amazon.awssdk:codegen") public final class UpdateIntentResponse extends LexModelsV2Response implements ToCopyableBuilder<UpdateIntentResponse.Builder,UpdateIntentResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateIntentResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier of the bot that contains the intent.
|
String |
botVersion()
The version of the bot that contains the intent.
|
static UpdateIntentResponse.Builder |
builder() |
Instant |
creationDateTime()
A timestamp of when the intent was created.
|
String |
description()
The updated description of the intent.
|
DialogCodeHookSettings |
dialogCodeHook()
The updated Lambda function called during each turn of the conversation with the user.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FulfillmentCodeHookSettings |
fulfillmentCodeHook()
The updated Lambda function called when the intent is ready for fulfillment.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasInputContexts()
For responses, this returns true if the service returned a value for the InputContexts property.
|
boolean |
hasOutputContexts()
For responses, this returns true if the service returned a value for the OutputContexts property.
|
boolean |
hasSampleUtterances()
For responses, this returns true if the service returned a value for the SampleUtterances property.
|
boolean |
hasSlotPriorities()
For responses, this returns true if the service returned a value for the SlotPriorities property.
|
InitialResponseSetting |
initialResponseSetting()
|
List<InputContext> |
inputContexts()
The updated list of contexts that must be active for the intent to be considered by Amazon Lex.
|
IntentClosingSetting |
intentClosingSetting()
The updated response that Amazon Lex sends the user when the intent is closed.
|
IntentConfirmationSetting |
intentConfirmationSetting()
The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.
|
String |
intentId()
The identifier of the intent that was updated.
|
String |
intentName()
The updated name of the intent.
|
KendraConfiguration |
kendraConfiguration()
The updated configuration for connecting to an Amazon Kendra index with the
AMAZON.KendraSearchIntent intent. |
Instant |
lastUpdatedDateTime()
A timestamp of the last time that the intent was modified.
|
String |
localeId()
The updated language and locale of the intent.
|
List<OutputContext> |
outputContexts()
The updated list of contexts that Amazon Lex activates when the intent is fulfilled.
|
String |
parentIntentSignature()
The updated built-in intent that is the parent of this intent.
|
List<SampleUtterance> |
sampleUtterances()
The updated list of sample utterances for the intent.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateIntentResponse.Builder> |
serializableBuilderClass() |
List<SlotPriority> |
slotPriorities()
The updated list of slots and their priorities that are elicited from the user for the intent.
|
UpdateIntentResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String intentId()
The identifier of the intent that was updated.
public final String intentName()
The updated name of the intent.
public final String description()
The updated description of the intent.
public final String parentIntentSignature()
The updated built-in intent that is the parent of this intent.
public final boolean hasSampleUtterances()
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<SampleUtterance> sampleUtterances()
The updated list of sample utterances for the intent.
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 hasSampleUtterances() method.
public final DialogCodeHookSettings dialogCodeHook()
The updated Lambda function called during each turn of the conversation with the user.
public final FulfillmentCodeHookSettings fulfillmentCodeHook()
The updated Lambda function called when the intent is ready for fulfillment.
public final boolean hasSlotPriorities()
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<SlotPriority> slotPriorities()
The updated list of slots and their priorities that are elicited from the user for the intent.
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 hasSlotPriorities() method.
public final IntentConfirmationSetting intentConfirmationSetting()
The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.
public final IntentClosingSetting intentClosingSetting()
The updated response that Amazon Lex sends the user when the intent is closed.
public final boolean hasInputContexts()
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<InputContext> inputContexts()
The updated list of contexts that must be active for the intent to be considered by Amazon Lex.
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 hasInputContexts() method.
public final boolean hasOutputContexts()
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<OutputContext> outputContexts()
The updated list of contexts that Amazon Lex activates when the intent is fulfilled.
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 hasOutputContexts() method.
public final KendraConfiguration kendraConfiguration()
The updated configuration for connecting to an Amazon Kendra index with the
AMAZON.KendraSearchIntent intent.
AMAZON.KendraSearchIntent intent.public final String botId()
The identifier of the bot that contains the intent.
public final String botVersion()
The version of the bot that contains the intent. Will always be DRAFT.
DRAFT.public final String localeId()
The updated language and locale of the intent.
public final Instant creationDateTime()
A timestamp of when the intent was created.
public final Instant lastUpdatedDateTime()
A timestamp of the last time that the intent was modified.
public final InitialResponseSetting initialResponseSetting()
public UpdateIntentResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateIntentResponse.Builder,UpdateIntentResponse>toBuilder in class AwsResponsepublic static UpdateIntentResponse.Builder builder()
public static Class<? extends UpdateIntentResponse.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.