@Generated(value="software.amazon.awssdk:codegen") public class CreateIntentVersionResponse extends LexModelBuildingResponse implements ToCopyableBuilder<CreateIntentVersionResponse.Builder,CreateIntentVersionResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateIntentVersionResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateIntentVersionResponse.Builder |
builder() |
String |
checksum()
Checksum of the intent version created.
|
Statement |
conclusionStatement()
After the Lambda function specified in the
fulfillmentActivity field fulfills the intent, Amazon Lex
conveys this statement to the user. |
Prompt |
confirmationPrompt()
If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
|
Instant |
createdDate()
The date that the intent was created.
|
String |
description()
A description of the intent.
|
CodeHook |
dialogCodeHook()
If defined, Amazon Lex invokes this Lambda function for each user input.
|
boolean |
equals(Object obj) |
FollowUpPrompt |
followUpPrompt()
If defined, 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 CreateIntentVersionResponse.Builder> |
serializableBuilderClass() |
List<Slot> |
slots()
An array of slot types that defines the information required to fulfill the intent.
|
CreateIntentVersionResponse.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 number assigned to the new version of the intent.
|
copy
public String name()
The name of the intent.
public String description()
A description of the intent.
public List<Slot> slots()
An array of slot types that defines the information required to fulfill 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, the prompt that Amazon Lex uses to confirm the user's 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, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
public Statement conclusionStatement()
After the Lambda function specified in the fulfillmentActivity
field fulfills the intent, Amazon Lex
conveys this statement to the user.
fulfillmentActivity
field fulfills the intent,
Amazon Lex conveys this statement to the user.public CodeHook dialogCodeHook()
If defined, Amazon Lex invokes this Lambda function for each user input.
public FulfillmentActivity fulfillmentActivity()
Describes how the intent is fulfilled.
public String parentIntentSignature()
A unique identifier for a built-in intent.
public Instant lastUpdatedDate()
The date that the intent was updated.
public Instant createdDate()
The date that the intent was created.
public String version()
The version number assigned to the new version of the intent.
public String checksum()
Checksum of the intent version created.
public CreateIntentVersionResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateIntentVersionResponse.Builder,CreateIntentVersionResponse>
toBuilder
in class AwsResponse
public static CreateIntentVersionResponse.Builder builder()
public static Class<? extends CreateIntentVersionResponse.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.