@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 Object
Object.toString()
public DefaultConditionalBranch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.