@Generated(value="software.amazon.awssdk:codegen") public final class DescribeIntentResponse extends LexModelsV2Response implements ToCopyableBuilder<DescribeIntentResponse.Builder,DescribeIntentResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeIntentResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier of the bot associated with the intent.
|
String |
botVersion()
The version of the bot associated with the intent.
|
static DescribeIntentResponse.Builder |
builder() |
Instant |
creationDateTime()
A timestamp of the date and time that the intent was created.
|
String |
description()
The description of the intent.
|
DialogCodeHookSettings |
dialogCodeHook()
The Lambda function called during each turn of a conversation with the intent.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FulfillmentCodeHookSettings |
fulfillmentCodeHook()
The Lambda function called when the intent is complete and 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.
|
List<InputContext> |
inputContexts()
A list of contexts that must be active for the intent to be considered for sending to the user.
|
IntentClosingSetting |
intentClosingSetting()
The response that Amazon Lex sends to when the intent is closed.
|
IntentConfirmationSetting |
intentConfirmationSetting()
Prompts that Amazon Lex sends to the user to confirm completion of an intent.
|
String |
intentId()
The unique identifier assigned to the intent when it was created.
|
String |
intentName()
The name specified for the intent.
|
KendraConfiguration |
kendraConfiguration()
Configuration information required to use the
AMAZON.KendraSearchIntent intent. |
Instant |
lastUpdatedDateTime()
A timestamp of the date and time that the intent was last updated.
|
String |
localeId()
The language and locale specified for the intent.
|
List<OutputContext> |
outputContexts()
A list of contexts that are activated when the intent is fulfilled.
|
String |
parentIntentSignature()
The identifier of the built-in intent that this intent is derived from, if any.
|
List<SampleUtterance> |
sampleUtterances()
User utterances that trigger this intent.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeIntentResponse.Builder> |
serializableBuilderClass() |
List<SlotPriority> |
slotPriorities()
The list that determines the priority that slots should be elicited from the user.
|
DescribeIntentResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String intentId()
The unique identifier assigned to the intent when it was created.
public final String intentName()
The name specified for the intent.
public final String description()
The description of the intent.
public final String parentIntentSignature()
The identifier of the built-in intent that this intent is derived from, if any.
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()
User utterances that trigger this 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 Lambda function called during each turn of a conversation with the intent.
public final FulfillmentCodeHookSettings fulfillmentCodeHook()
The Lambda function called when the intent is complete and 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 list that determines the priority that slots should be elicited from the user.
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()
Prompts that Amazon Lex sends to the user to confirm completion of an intent.
public final IntentClosingSetting intentClosingSetting()
The response that Amazon Lex sends to 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()
A list of contexts that must be active for the intent to be considered for sending to the user.
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()
A list of contexts that are activated 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()
Configuration information required to use the AMAZON.KendraSearchIntent intent.
AMAZON.KendraSearchIntent intent.public final String botId()
The identifier of the bot associated with the intent.
public final String botVersion()
The version of the bot associated with the intent.
public final String localeId()
The language and locale specified for the intent.
public final Instant creationDateTime()
A timestamp of the date and time that the intent was created.
public final Instant lastUpdatedDateTime()
A timestamp of the date and time that the intent was last updated.
public DescribeIntentResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeIntentResponse.Builder,DescribeIntentResponse>toBuilder in class AwsResponsepublic static DescribeIntentResponse.Builder builder()
public static Class<? extends DescribeIntentResponse.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 © 2022. All rights reserved.