@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IntentClosingSetting extends Object implements Serializable, Cloneable, StructuredPojo
Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.
Constructor and Description |
---|
IntentClosingSetting() |
Modifier and Type | Method and Description |
---|---|
IntentClosingSetting |
clone() |
boolean |
equals(Object obj) |
Boolean |
getActive()
Specifies whether an intent's closing response is used.
|
ResponseSpecification |
getClosingResponse()
The response that Amazon Lex sends to the user when the intent is complete.
|
ConditionalSpecification |
getConditional()
A list of conditional branches associated with the intent's closing response.
|
DialogState |
getNextStep()
Specifies the next step that the bot executes after playing the intent's closing response.
|
int |
hashCode() |
Boolean |
isActive()
Specifies whether an intent's closing response is used.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActive(Boolean active)
Specifies whether an intent's closing response is used.
|
void |
setClosingResponse(ResponseSpecification closingResponse)
The response that Amazon Lex sends to the user when the intent is complete.
|
void |
setConditional(ConditionalSpecification conditional)
A list of conditional branches associated with the intent's closing response.
|
void |
setNextStep(DialogState nextStep)
Specifies the next step that the bot executes after playing the intent's closing response.
|
String |
toString()
Returns a string representation of this object.
|
IntentClosingSetting |
withActive(Boolean active)
Specifies whether an intent's closing response is used.
|
IntentClosingSetting |
withClosingResponse(ResponseSpecification closingResponse)
The response that Amazon Lex sends to the user when the intent is complete.
|
IntentClosingSetting |
withConditional(ConditionalSpecification conditional)
A list of conditional branches associated with the intent's closing response.
|
IntentClosingSetting |
withNextStep(DialogState nextStep)
Specifies the next step that the bot executes after playing the intent's closing response.
|
public void setClosingResponse(ResponseSpecification closingResponse)
The response that Amazon Lex sends to the user when the intent is complete.
closingResponse
- The response that Amazon Lex sends to the user when the intent is complete.public ResponseSpecification getClosingResponse()
The response that Amazon Lex sends to the user when the intent is complete.
public IntentClosingSetting withClosingResponse(ResponseSpecification closingResponse)
The response that Amazon Lex sends to the user when the intent is complete.
closingResponse
- The response that Amazon Lex sends to the user when the intent is complete.public void setActive(Boolean active)
Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent
to the user. If the active
field isn't specified, the default is true.
active
- Specifies whether an intent's closing response is used. When this field is false, the closing response
isn't sent to the user. If the active
field isn't specified, the default is true.public Boolean getActive()
Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent
to the user. If the active
field isn't specified, the default is true.
active
field isn't specified, the default is true.public IntentClosingSetting withActive(Boolean active)
Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent
to the user. If the active
field isn't specified, the default is true.
active
- Specifies whether an intent's closing response is used. When this field is false, the closing response
isn't sent to the user. If the active
field isn't specified, the default is true.public Boolean isActive()
Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent
to the user. If the active
field isn't specified, the default is true.
active
field isn't specified, the default is true.public void setNextStep(DialogState nextStep)
Specifies the next step that the bot executes after playing the intent's closing response.
nextStep
- Specifies the next step that the bot executes after playing the intent's closing response.public DialogState getNextStep()
Specifies the next step that the bot executes after playing the intent's closing response.
public IntentClosingSetting withNextStep(DialogState nextStep)
Specifies the next step that the bot executes after playing the intent's closing response.
nextStep
- Specifies the next step that the bot executes after playing the intent's closing response.public void setConditional(ConditionalSpecification conditional)
A list of conditional branches associated with the intent's closing response. These branches are executed when
the nextStep
attribute is set to EvalutateConditional
.
conditional
- A list of conditional branches associated with the intent's closing response. These branches are executed
when the nextStep
attribute is set to EvalutateConditional
.public ConditionalSpecification getConditional()
A list of conditional branches associated with the intent's closing response. These branches are executed when
the nextStep
attribute is set to EvalutateConditional
.
nextStep
attribute is set to EvalutateConditional
.public IntentClosingSetting withConditional(ConditionalSpecification conditional)
A list of conditional branches associated with the intent's closing response. These branches are executed when
the nextStep
attribute is set to EvalutateConditional
.
conditional
- A list of conditional branches associated with the intent's closing response. These branches are executed
when the nextStep
attribute is set to EvalutateConditional
.public String toString()
toString
in class Object
Object.toString()
public IntentClosingSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.