@Generated(value="software.amazon.awssdk:codegen") public final class PutIntentResponse extends LexModelBuildingResponse implements ToCopyableBuilder<PutIntentResponse.Builder,PutIntentResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
PutIntentResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static PutIntentResponse.Builder |
builder() |
String |
checksum()
Checksum of the
$LATEST version of the intent created or updated. |
Statement |
conclusionStatement()
After the Lambda function specified in the
fulfillmentActivity intent fulfills the intent, Amazon Lex
conveys this statement to the user. |
Prompt |
confirmationPrompt()
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
|
Instant |
createdDate()
The date that the intent was created.
|
Boolean |
createVersion()
Returns the value of the CreateVersion property for this object.
|
String |
description()
A description of the intent.
|
CodeHook |
dialogCodeHook()
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
|
boolean |
equals(Object obj) |
FollowUpPrompt |
followUpPrompt()
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
FulfillmentActivity |
fulfillmentActivity()
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides
all of the information required by the intent.
|
<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 the built-in intent that this intent is based on.
|
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 that are configured for the intent.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutIntentResponse.Builder> |
serializableBuilderClass() |
List<Slot> |
slots()
An array of intent slots that are configured for the intent.
|
PutIntentResponse.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.
|
responseMetadata
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 that are 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 that are 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 intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
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 intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
public Statement conclusionStatement()
After the Lambda function specified in thefulfillmentActivity
intent fulfills the intent, Amazon Lex
conveys this statement to the user.
fulfillmentActivity
intent fulfills the intent,
Amazon Lex conveys this statement to the user.public CodeHook dialogCodeHook()
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
public FulfillmentActivity fulfillmentActivity()
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides all of the information required by the intent.
public String parentIntentSignature()
A unique identifier for the built-in intent that this intent is based on.
public Instant lastUpdatedDate()
The date that the intent was updated. When you create a resource, the creation date and last update dates are the same.
public Instant createdDate()
The date that the intent was created.
public String version()
The version of the intent. For a new intent, the version is always $LATEST
.
$LATEST
.public String checksum()
Checksum of the $LATEST
version of the intent created or updated.
$LATEST
version of the intent created or updated.public Boolean createVersion()
public PutIntentResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutIntentResponse.Builder,PutIntentResponse>
toBuilder
in class AwsResponse
public static PutIntentResponse.Builder builder()
public static Class<? extends PutIntentResponse.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.