@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultConditionalBranch extends Object implements Serializable, Cloneable, StructuredPojo
A set of actions that Amazon Lex should run if none of the other conditions are met.
| Constructor and Description |
|---|
DefaultConditionalBranch() |
| Modifier and Type | Method and Description |
|---|---|
DefaultConditionalBranch |
clone() |
boolean |
equals(Object obj) |
DialogState |
getNextStep()
The next step in the conversation.
|
ResponseSpecification |
getResponse() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setNextStep(DialogState nextStep)
The next step in the conversation.
|
void |
setResponse(ResponseSpecification response) |
String |
toString()
Returns a string representation of this object.
|
DefaultConditionalBranch |
withNextStep(DialogState nextStep)
The next step in the conversation.
|
DefaultConditionalBranch |
withResponse(ResponseSpecification response) |
public void setNextStep(DialogState nextStep)
The next step in the conversation.
nextStep - The next step in the conversation.public DialogState getNextStep()
The next step in the conversation.
public DefaultConditionalBranch withNextStep(DialogState nextStep)
The next step in the conversation.
nextStep - The next step in the conversation.public void setResponse(ResponseSpecification response)
response - public ResponseSpecification getResponse()
public DefaultConditionalBranch withResponse(ResponseSpecification response)
response - public String toString()
toString in class ObjectObject.toString()public DefaultConditionalBranch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.