@Generated(value="software.amazon.awssdk:codegen") public final class CreateIntentResponse extends LexModelsV2Response implements ToCopyableBuilder<CreateIntentResponse.Builder,CreateIntentResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateIntentResponse.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 CreateIntentResponse.Builder |
builder() |
Instant |
creationDateTime()
A timestamp of the date and time that the intent was created.
|
String |
description()
The description specified for the intent.
|
DialogCodeHookSettings |
dialogCodeHook()
The dialog Lambda function specified for the intent.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FulfillmentCodeHookSettings |
fulfillmentCodeHook()
The fulfillment Lambda function specified for the intent.
|
<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.
|
InitialResponseSetting |
initialResponseSetting()
Configuration settings for the response that is sent to the user at the beginning of a conversation, before
eliciting slot values.
|
List<InputContext> |
inputContexts()
The list of input contexts specified for the intent.
|
IntentClosingSetting |
intentClosingSetting()
The closing setting specified for the intent.
|
IntentConfirmationSetting |
intentConfirmationSetting()
The confirmation setting specified for the intent.
|
String |
intentId()
A unique identifier for the intent.
|
String |
intentName()
The name specified for the intent.
|
KendraConfiguration |
kendraConfiguration()
Configuration for searching a Amazon Kendra index specified for the intent.
|
String |
localeId()
The locale that the intent is specified to use.
|
List<OutputContext> |
outputContexts()
The list of output contexts specified for the intent.
|
String |
parentIntentSignature()
The signature of the parent intent specified for the intent.
|
List<SampleUtterance> |
sampleUtterances()
The sample utterances specified for the intent.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateIntentResponse.Builder> |
serializableBuilderClass() |
CreateIntentResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String intentId()
A unique identifier for the intent.
public final String intentName()
The name specified for the intent.
public final String description()
The description specified for the intent.
public final String parentIntentSignature()
The signature of the parent intent specified for the 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 sample utterances specified 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 dialog Lambda function specified for the intent.
public final FulfillmentCodeHookSettings fulfillmentCodeHook()
The fulfillment Lambda function specified for the intent.
public final IntentConfirmationSetting intentConfirmationSetting()
The confirmation setting specified for the intent.
public final IntentClosingSetting intentClosingSetting()
The closing setting specified for the intent.
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 list of input contexts specified 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 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 list of output contexts specified 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 hasOutputContexts() method.
public final KendraConfiguration kendraConfiguration()
Configuration for searching a Amazon Kendra index specified for the 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 locale that the intent is specified to use.
public final Instant creationDateTime()
A timestamp of the date and time that the intent was created.
public final InitialResponseSetting initialResponseSetting()
Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.
public CreateIntentResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateIntentResponse.Builder,CreateIntentResponse>toBuilder in class AwsResponsepublic static CreateIntentResponse.Builder builder()
public static Class<? extends CreateIntentResponse.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.