@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InitialResponseSetting extends Object implements Serializable, Cloneable, StructuredPojo
Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.
Constructor and Description |
---|
InitialResponseSetting() |
public void setInitialResponse(ResponseSpecification initialResponse)
initialResponse
- public ResponseSpecification getInitialResponse()
public InitialResponseSetting withInitialResponse(ResponseSpecification initialResponse)
initialResponse
- 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 InitialResponseSetting withNextStep(DialogState nextStep)
The next step in the conversation.
nextStep
- The next step in the conversation.public void setConditional(ConditionalSpecification conditional)
conditional
- public ConditionalSpecification getConditional()
public InitialResponseSetting withConditional(ConditionalSpecification conditional)
conditional
- public void setCodeHook(DialogCodeHookInvocationSetting codeHook)
codeHook
- public DialogCodeHookInvocationSetting getCodeHook()
public InitialResponseSetting withCodeHook(DialogCodeHookInvocationSetting codeHook)
codeHook
- public String toString()
toString
in class Object
Object.toString()
public InitialResponseSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.