@Generated(value="software.amazon.awssdk:codegen") public final class GetIntentResponse extends LexModelBuildingResponse implements ToCopyableBuilder<GetIntentResponse.Builder,GetIntentResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
GetIntentResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetIntentResponse.Builder |
builder() |
String |
checksum()
Checksum of the intent.
|
Statement |
conclusionStatement()
After the Lambda function specified in the
fulfillmentActivity element fulfills the intent, Amazon
Lex conveys this statement to the user. |
Prompt |
confirmationPrompt()
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request.
|
Instant |
createdDate()
The date that the intent was created.
|
String |
description()
A description of the intent.
|
CodeHook |
dialogCodeHook()
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input.
|
boolean |
equals(Object obj) |
FollowUpPrompt |
followUpPrompt()
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
FulfillmentActivity |
fulfillmentActivity()
Describes how the intent is fulfilled.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
Instant |
lastUpdatedDate()
The date that the intent was updated.
|
String |
name()
The name of the intent.
|
String |
parentIntentSignature()
A unique identifier for a built-in intent.
|
Statement |
rejectionStatement()
If the user answers "no" to the question defined in
confirmationPrompt , Amazon Lex responds with
this statement to acknowledge that the intent was canceled. |
List<String> |
sampleUtterances()
An array of sample utterances configured for the intent.
|
static Class<? extends GetIntentResponse.Builder> |
serializableBuilderClass() |
List<Slot> |
slots()
An array of intent slots configured for the intent.
|
GetIntentResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The version of the intent.
|
sdkHttpResponse
copy
public String name()
The name of the intent.
public String description()
A description of the intent.
public List<Slot> slots()
An array of intent slots configured for the intent.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> sampleUtterances()
An array of sample utterances configured for the intent.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Prompt confirmationPrompt()
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see PutIntent.
public Statement rejectionStatement()
If the user answers "no" to the question defined in confirmationPrompt
, Amazon Lex responds with
this statement to acknowledge that the intent was canceled.
confirmationPrompt
, Amazon Lex responds
with this statement to acknowledge that the intent was canceled.public FollowUpPrompt followUpPrompt()
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see PutIntent.
public Statement conclusionStatement()
After the Lambda function specified in the fulfillmentActivity
element fulfills the intent, Amazon
Lex conveys this statement to the user.
fulfillmentActivity
element fulfills the intent,
Amazon Lex conveys this statement to the user.public CodeHook dialogCodeHook()
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see PutIntent.
public FulfillmentActivity fulfillmentActivity()
Describes how the intent is fulfilled. For more information, see PutIntent.
public String parentIntentSignature()
A unique identifier for a built-in intent.
public Instant lastUpdatedDate()
The date that the intent was updated. When you create a resource, the creation date and the last updated date are the same.
public Instant createdDate()
The date that the intent was created.
public String version()
The version of the intent.
public String checksum()
Checksum of the intent.
public GetIntentResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetIntentResponse.Builder,GetIntentResponse>
toBuilder
in class AwsResponse
public static GetIntentResponse.Builder builder()
public static Class<? extends GetIntentResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.