@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.
|
int |
hashCode() |
Boolean |
isActive()
Specifies whether an intent's closing response is used.
|
void |
marshall(ProtocolMarshaller 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.
|
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.
|
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 String toString()
toString in class ObjectObject.toString()public IntentClosingSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.